File tree 3 files changed +14
-6
lines changed
3 files changed +14
-6
lines changed 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,6 +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
43
< Header />
43
44
< main id = "main" role = "main" >
44
45
< div className = "w-full" >
Original file line number Diff line number Diff line change @@ -7,24 +7,27 @@ export function AnnouncementBanner(): JSX.Element {
7
7
< div className = "text-center sm:px-16 sm:pr-16" >
8
8
< p className = "text-sm font-medium" >
9
9
< span className = "md:hidden" >
10
- < Link href = "https://stateofjs.com/en-us/" className = "underline" >
11
- State of JS survey:
10
+ < Link
11
+ href = "https://www.producthunt.com/posts/nx-cloud#nx-cloud"
12
+ className = "underline"
13
+ >
14
+ Nx Cloud is on Product Hunt!
12
15
</ Link >
13
16
</ span >
14
17
< span className = "hidden md:inline" >
15
18
< span className = "font-semibold" >
16
- State of JS survey is online !
19
+ Nx Cloud is on Product Hunt today !
17
20
</ span >
18
21
</ span >
19
22
< span className = "ml-2 inline-block" >
20
23
< Link
21
- href = "https://stateofjs. com/en-us/ "
24
+ href = "https://www.producthunt. com/posts/nx-cloud#nx-cloud "
22
25
rel = "noreferrer"
23
26
target = "_blank"
24
27
className = "font-semibold text-blue-500 underline dark:text-sky-500"
25
28
>
26
29
< span className = "absolute inset-0" aria-hidden = "true" />
27
- Give Nx & Lerna a thumbs up
30
+ Leave us a review
28
31
< span aria-hidden = "true" > →</ span >
29
32
</ Link >
30
33
</ span >
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { ThemeSwitcher } from '@nx/nx-dev/ui-theme';
4
4
import cx from 'classnames' ;
5
5
import Link from 'next/link' ;
6
6
import { useRouter } from 'next/router' ;
7
+ import { AnnouncementBanner } from './announcement-banner' ;
7
8
8
9
function Menu ( { tabs } : { tabs : any [ ] } ) : JSX . Element {
9
10
return (
@@ -191,6 +192,9 @@ export function DocumentationHeader({
191
192
</ div >
192
193
{ /*NAVIGATION*/ }
193
194
< div className = "hidden flex-grow lg:flex" > { /* SPACER */ } </ div >
195
+ < div className = "hidden lg:flex" >
196
+ < AnnouncementBanner />
197
+ </ div >
194
198
< div className = "hidden flex-shrink-0 lg:flex" >
195
199
< nav
196
200
role = "accessory-nav"
You can’t perform that action at this time.
1 commit comments
vercel[bot] commentedon Apr 27, 2023
Successfully deployed to the following URLs:
nx-dev – ./
nx-dev-git-master-nrwl.vercel.app
nx-dev-nrwl.vercel.app
nx-five.vercel.app
nx.dev