File tree Expand file tree Collapse file tree 5 files changed +16
-12
lines changed Expand file tree Collapse file tree 5 files changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ export function AlgoliaSearch({
87
87
>
88
88
< MagnifyingGlassIcon className = "h-4 w-4 flex-none" />
89
89
< span className = "mx-3 text-xs text-slate-300 dark:text-slate-400 md:text-sm inline-flex" >
90
- Search < span className = "ml-1 hidden md :inline" > the docs ...</ span >
90
+ Search < span className = "ml-1 hidden lg :inline" > the docs ...</ span >
91
91
</ span >
92
92
< span
93
93
style = { { opacity : browserDetected ? '1' : '0' } }
Original file line number Diff line number Diff line change 1
- import { Footer , Header } from '@nx/nx-dev/ui-common' ;
1
+ import { AnnouncementBanner , Footer , Header } from '@nx/nx-dev/ui-common' ;
2
2
import {
3
3
ExtensibleAndIntegrated ,
4
4
GettingStarted ,
@@ -39,7 +39,7 @@ export default function Index(): JSX.Element {
39
39
} }
40
40
/>
41
41
< h1 className = "sr-only" > Next generation monorepo tool</ h1 >
42
- { /* <AnnouncementBanner />*/ }
42
+ < AnnouncementBanner />
43
43
< Header />
44
44
< main id = "main" role = "main" >
45
45
< div className = "w-full" >
Original file line number Diff line number Diff line change @@ -4,28 +4,28 @@ export function AnnouncementBanner(): JSX.Element {
4
4
return (
5
5
< div className = "group relative border border-y border-slate-200 bg-slate-50/40 transition hover:bg-slate-50 dark:border-slate-800/40 dark:bg-slate-800/60 dark:hover:bg-slate-800" >
6
6
< div className = "mx-auto max-w-7xl py-3 px-3 sm:px-6 lg:px-8" >
7
- < div className = "text-center sm:px-16 sm:pr-16 " >
7
+ < div className = "text-center" >
8
8
< p className = "text-sm font-medium" >
9
9
< span className = "md:hidden" >
10
10
< Link
11
- href = "https://nx.dev/launch-nx ?utm_source=nx.dev"
11
+ href = "https://go. nx.dev/april-webinar ?utm_source=nx.dev"
12
12
className = "underline"
13
13
>
14
- Nx Launch Week & Launch Conf are coming up !
14
+ Webinar April 17: Making the Argument for Monorepos
15
15
</ Link >
16
16
</ span >
17
17
< span className = "hidden md:inline" >
18
18
< span className = "font-semibold" >
19
- Nx Launch Week & Launch Conf are coming up !
19
+ Webinar April 17: Making the Argument for Monorepos
20
20
</ span >
21
21
</ span >
22
22
< span className = "ml-2 inline-block" >
23
23
< Link
24
- href = "https://nx.dev/launch-nx ?utm_source=nx.dev"
24
+ href = "https://go. nx.dev/april-webinar ?utm_source=nx.dev"
25
25
className = "font-semibold text-blue-500 underline dark:text-sky-500"
26
26
>
27
27
< span className = "absolute inset-0" aria-hidden = "true" />
28
- Don't miss out !
28
+ Register now !
29
29
< span aria-hidden = "true" > →</ span >
30
30
</ Link >
31
31
</ span >
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import Link from 'next/link';
7
7
import { useRouter } from 'next/router' ;
8
8
import { ButtonLink } from './button' ;
9
9
import { NxCloudIcon } from './nx-cloud-icon' ;
10
+ import { AnnouncementBanner } from './announcement-banner' ;
10
11
11
12
function Menu ( { tabs } : { tabs : any [ ] } ) : JSX . Element {
12
13
return (
@@ -227,13 +228,13 @@ export function DocumentationHeader({
227
228
className = "items-justified hidden justify-center space-x-2 text-sm lg:flex"
228
229
>
229
230
< h2 className = "sr-only" > Main navigation</ h2 >
230
- < Link
231
+ { /* <Link
231
232
href="/blog"
232
233
title="Blog"
233
234
className="hidden px-3 py-2 font-medium leading-tight hover:text-blue-500 dark:text-slate-200 dark:hover:text-sky-500 md:inline-flex"
234
235
>
235
236
Blog
236
- </ Link >
237
+ </Link> */ }
237
238
< Link
238
239
href = "/community"
239
240
title = "Nx Community: Join us!"
@@ -261,6 +262,9 @@ export function DocumentationHeader({
261
262
</ nav >
262
263
</ div >
263
264
< div className = "hidden flex-grow lg:flex" > { /* SPACER */ } </ div >
265
+ < div className = "hidden w-full xl:flex" >
266
+ < AnnouncementBanner />
267
+ </ div >
264
268
< div className = "hidden flex-shrink-0 lg:flex" >
265
269
< nav
266
270
role = "menu"
Original file line number Diff line number Diff line change 88
88
"@nx/nx-dev/ui-commands" : [" nx-dev/ui-commands/src/index.ts" ],
89
89
"@nx/nx-dev/ui-common" : [" nx-dev/ui-common/src/index.ts" ],
90
90
"@nx/nx-dev/ui-community" : [" nx-dev/ui-community/src/index.ts" ],
91
- "@nx/nx-dev/ui-contact" : [" nx-dev/ui-contact/src/index.ts" ],
92
91
"@nx/nx-dev/ui-conference" : [" nx-dev/ui-conference/src/index.ts" ],
92
+ "@nx/nx-dev/ui-contact" : [" nx-dev/ui-contact/src/index.ts" ],
93
93
"@nx/nx-dev/ui-fence" : [" nx-dev/ui-fence/src/index.ts" ],
94
94
"@nx/nx-dev/ui-home" : [" nx-dev/ui-home/src/index.ts" ],
95
95
"@nx/nx-dev/ui-markdoc" : [" nx-dev/ui-markdoc/src/index.ts" ],
You can’t perform that action at this time.
0 commit comments