Skip to content

Commit

Permalink
docs(core): monorepo world banner (#23225)
Browse files Browse the repository at this point in the history
Add a banner on the nx.dev home page pointing to monorepo.tools/conf

(cherry picked from commit fd78152)
  • Loading branch information
isaacplmann authored and FrozenPandaz committed May 7, 2024
1 parent dd14a79 commit e3c183d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion nx-dev/nx-dev/pages/index.tsx
Expand Up @@ -39,7 +39,7 @@ export default function Index(): JSX.Element {
}}
/>
<h1 className="sr-only">Next generation monorepo tool</h1>
{/*<AnnouncementBanner />*/}
<AnnouncementBanner />
<Header />
<main id="main" role="main">
<div className="w-full">
Expand Down
12 changes: 6 additions & 6 deletions nx-dev/ui-common/src/lib/announcement-banner.tsx
Expand Up @@ -3,29 +3,29 @@ import Link from 'next/link';
export function AnnouncementBanner(): JSX.Element {
return (
<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">
<div className="mx-auto max-w-7xl py-3 px-3 sm:px-6 lg:px-8">
<div className="mx-auto max-w-7xl px-3 py-3 sm:px-6 lg:px-8">
<div className="text-center">
<p className="text-sm font-medium">
<span className="md:hidden">
<Link
href="https://go.nx.dev/april-webinar?utm_source=nx.dev"
href="https://monorepo.tools/conf?utm_source=nx.dev"
className="underline"
>
Webinar April 17: Making the Argument for Monorepos
Monorepo World: October 7, 2024
</Link>
</span>
<span className="hidden md:inline">
<span className="font-semibold">
Webinar April 17: Making the Argument for Monorepos
Monorepo World: October 7, 2024
</span>
</span>
<span className="ml-2 inline-block">
<Link
href="https://go.nx.dev/april-webinar?utm_source=nx.dev"
href="https://monorepo.tools/conf?utm_source=nx.dev"
className="font-semibold text-blue-500 underline dark:text-sky-500"
>
<span className="absolute inset-0" aria-hidden="true" />
Register now!
Join us!
<span aria-hidden="true">&rarr;</span>
</Link>
</span>
Expand Down

0 comments on commit e3c183d

Please sign in to comment.