Skip to content

Commit 40d444e

Browse files
authored
docs(nx-dev): update monorepo world notification (nrwl#28398)
1 parent c3b77e7 commit 40d444e

File tree

4 files changed

+9
-86
lines changed

4 files changed

+9
-86
lines changed
Binary file not shown.

nx-dev/ui-common/src/lib/headers/documentation-header.tsx

-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import {
1818
solutionsMenuItems,
1919
} from './menu-items';
2020
import { SectionsMenu } from './sections-menu';
21-
import { AnnouncementBanner } from '../announcement-banner';
2221
import { DiscordIcon } from '../discord-icon';
2322
import { NxCloudAnimatedIcon, NxIcon } from '@nx/nx-dev/ui-icons';
2423

@@ -170,9 +169,6 @@ export function DocumentationHeader({
170169

171170
return (
172171
<div className="border-b border-slate-200 bg-slate-50 dark:border-slate-700 dark:bg-slate-800/60 print:hidden">
173-
<div className="hidden w-full md:block">
174-
<AnnouncementBanner />
175-
</div>
176172
<div className="mx-auto flex w-full items-center gap-6 lg:px-8 lg:py-4">
177173
{/*MOBILE MENU*/}
178174
<div className="flex w-full items-center lg:hidden">

nx-dev/ui-common/src/lib/live-stream-notifier.tsx

+9-30
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,7 @@
33
import { useState, useEffect, ReactElement } from 'react';
44
import { motion } from 'framer-motion';
55
import { MonorepoWorldIcon } from '@nx/nx-dev/ui-icons';
6-
import { ButtonLink } from './button';
7-
import {
8-
PlayIcon,
9-
XMarkIcon,
10-
ChatBubbleLeftRightIcon,
11-
} from '@heroicons/react/24/outline';
6+
import { XMarkIcon, VideoCameraIcon } from '@heroicons/react/24/outline';
127

138
export function LiveStreamNotifier(): ReactElement {
149
const [isVisible, setIsVisible] = useState<boolean>(true);
@@ -62,49 +57,33 @@ export function LiveStreamNotifier(): ReactElement {
6257
aria-hidden="true"
6358
className="size-8 flex-shrink-0"
6459
/>
65-
<span>Monorepo World is live!</span>
60+
<span>Monorepo World just ended!</span>
6661
</motion.h3>
6762
<motion.div key="live-event" className="mt-4 space-y-4">
6863
<p className="mb-2 text-sm">
69-
Join us live for exciting talks on developer tooling and
70-
monorepos! Catch the action on YouTube and join the conversation
71-
on Discord!
64+
In case you missed Monorepo World, it is now available for replay.
7265
</p>
7366
<div className="flex flex-wrap items-center gap-1 sm:gap-4">
7467
<a
75-
title="Watch track 1"
68+
title="Track 1 replay"
7669
href="http://go.nx.dev/MWTrack1"
7770
target="_blank"
7871
rel="noopener noreferrer"
7972
className="inline-flex items-center justify-center gap-2 rounded-lg bg-[#DDFB24] px-2 py-2 text-sm font-semibold text-black transition hover:bg-[#B2CF04] focus:outline-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-blue-500 active:text-black/70 md:px-4"
8073
>
81-
<PlayIcon aria-hidden="true" className="size-4" />
82-
<span>Track 1</span>
74+
<VideoCameraIcon aria-hidden="true" className="size-5" />
75+
<span>Track 1 replay</span>
8376
</a>
8477
<a
8578
href="http://go.nx.dev/MWTrack2"
8679
target="_blank"
87-
title="Watch track 2"
80+
title="Track 2 replay"
8881
rel="noopener noreferrer"
8982
className="inline-flex items-center justify-center gap-2 rounded-lg bg-[#DDFB24] px-2 py-2 text-sm font-semibold text-black transition hover:bg-[#B2CF04] focus:outline-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-blue-500 active:text-black/70 md:px-4"
9083
>
91-
<PlayIcon aria-hidden="true" className="size-4" />
92-
<span>Track 2</span>
84+
<VideoCameraIcon aria-hidden="true" className="size-5" />
85+
<span>Track 2 replay</span>
9386
</a>
94-
<ButtonLink
95-
variant="secondary"
96-
size="small"
97-
href="https://discord.gg/7yFabzBP"
98-
target="_blank"
99-
title="Join the discussion on Discord"
100-
rel="noopener noreferrer"
101-
>
102-
<ChatBubbleLeftRightIcon
103-
aria-hidden="true"
104-
className="size-4"
105-
/>
106-
<span>#monorepo-world</span>
107-
</ButtonLink>
10887
</div>
10988
</motion.div>
11089
</div>

nx-dev/ui-home/src/lib/hero.tsx

-52
Original file line numberDiff line numberDiff line change
@@ -80,58 +80,6 @@ export function Hero(): JSX.Element {
8080
Contact us
8181
</ButtonLink>
8282
</div>
83-
<div className="mt-12 flex justify-center">
84-
<MotionConfig reducedMotion="user">
85-
<motion.div
86-
initial={{
87-
y: 16,
88-
opacity: 0,
89-
}}
90-
whileInView={{
91-
y: 0,
92-
opacity: 1,
93-
}}
94-
viewport={{ once: true }}
95-
transition={{
96-
ease: 'easeOut',
97-
duration: 0.225,
98-
delay: 1,
99-
}}
100-
className="pointer-events-auto relative mx-auto w-full max-w-lg overflow-hidden rounded-lg bg-slate-950 text-left text-white shadow-lg ring-1 ring-white ring-opacity-5 transition hover:bg-slate-800"
101-
>
102-
<div className="p-4">
103-
<div className="flex items-start gap-6">
104-
<div className="-m-4 hidden flex-shrink-0 sm:block">
105-
<img
106-
src="/images/conferences/monorepoworld-vertical-banner.avif"
107-
alt="MonorepoWorld conference image"
108-
className="size-32"
109-
/>
110-
</div>
111-
<div className="w-0 flex-1 pt-1">
112-
<p className="text-base font-semibold">
113-
<a
114-
href="https://monorepo.world/?utm_source=nxdev&utm_medium=website&utm_campaign=homepage_banner&utm_campaign=monorepoworld"
115-
title="Join us at Monorepo World"
116-
target="_blank"
117-
>
118-
<span className="absolute inset-0" />
119-
The Nx team will be at Monorepo World!
120-
</a>
121-
</p>
122-
<p className="mt-1 text-sm text-slate-300">
123-
The ultimate conference for{' '}
124-
<span className="text-[#DDFB24]">monorepos</span> and
125-
developer{' '}
126-
<span className="text-[#DDFB24]">tooling</span> on 0ct.
127-
7. 2024, Mountain View, CA.
128-
</p>
129-
</div>
130-
</div>
131-
</div>
132-
</motion.div>
133-
</MotionConfig>
134-
</div>
13583
</div>
13684
</div>
13785
</div>

0 commit comments

Comments
 (0)