|
3 | 3 | import { useState, useEffect, ReactElement } from 'react';
|
4 | 4 | import { motion } from 'framer-motion';
|
5 | 5 | 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'; |
12 | 7 |
|
13 | 8 | export function LiveStreamNotifier(): ReactElement {
|
14 | 9 | const [isVisible, setIsVisible] = useState<boolean>(true);
|
@@ -62,49 +57,33 @@ export function LiveStreamNotifier(): ReactElement {
|
62 | 57 | aria-hidden="true"
|
63 | 58 | className="size-8 flex-shrink-0"
|
64 | 59 | />
|
65 |
| - <span>Monorepo World is live!</span> |
| 60 | + <span>Monorepo World just ended!</span> |
66 | 61 | </motion.h3>
|
67 | 62 | <motion.div key="live-event" className="mt-4 space-y-4">
|
68 | 63 | <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. |
72 | 65 | </p>
|
73 | 66 | <div className="flex flex-wrap items-center gap-1 sm:gap-4">
|
74 | 67 | <a
|
75 |
| - title="Watch track 1" |
| 68 | + title="Track 1 replay" |
76 | 69 | href="http://go.nx.dev/MWTrack1"
|
77 | 70 | target="_blank"
|
78 | 71 | rel="noopener noreferrer"
|
79 | 72 | 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"
|
80 | 73 | >
|
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> |
83 | 76 | </a>
|
84 | 77 | <a
|
85 | 78 | href="http://go.nx.dev/MWTrack2"
|
86 | 79 | target="_blank"
|
87 |
| - title="Watch track 2" |
| 80 | + title="Track 2 replay" |
88 | 81 | rel="noopener noreferrer"
|
89 | 82 | 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"
|
90 | 83 | >
|
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> |
93 | 86 | </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> |
108 | 87 | </div>
|
109 | 88 | </motion.div>
|
110 | 89 | </div>
|
|
0 commit comments