From 74bdc583b972109d22b6805d8f33d2c1d8872fca Mon Sep 17 00:00:00 2001 From: Benjamin Cabanes <3447705+bcabanes@users.noreply.github.com> Date: Sat, 12 Oct 2024 14:11:56 -0700 Subject: [PATCH] feat(nx-dev): update home hero & livestream notifier (#28403) --- .../src/lib/live-stream-notifier.tsx | 41 ++++++++++++++----- nx-dev/ui-home/src/lib/hero.tsx | 14 ++++++- 2 files changed, 44 insertions(+), 11 deletions(-) diff --git a/nx-dev/ui-common/src/lib/live-stream-notifier.tsx b/nx-dev/ui-common/src/lib/live-stream-notifier.tsx index 60f84f858aadd..872d0d5ac4c91 100644 --- a/nx-dev/ui-common/src/lib/live-stream-notifier.tsx +++ b/nx-dev/ui-common/src/lib/live-stream-notifier.tsx @@ -3,9 +3,14 @@ import { useState, useEffect, ReactElement } from 'react'; import { motion } from 'framer-motion'; import { MonorepoWorldIcon } from '@nx/nx-dev/ui-icons'; -import { XMarkIcon, VideoCameraIcon } from '@heroicons/react/24/outline'; +import { ButtonLink } from './button'; +import { + PlayIcon, + XMarkIcon, + ChatBubbleLeftRightIcon, +} from '@heroicons/react/24/outline'; -export function LiveStreamNotifier(): ReactElement { +export function LiveStreamNotifier(): ReactElement | null { const [isVisible, setIsVisible] = useState(true); useEffect(() => { @@ -57,33 +62,49 @@ export function LiveStreamNotifier(): ReactElement { aria-hidden="true" className="size-8 flex-shrink-0" /> - Monorepo World just ended! + Monorepo World live replays available!

- In case you missed Monorepo World, it is now available for replay. + Watch the replays of exciting talks on developer tooling and + monorepos! Catch all the insightful presentations from the event + on our YouTube channel.

- - + +
diff --git a/nx-dev/ui-home/src/lib/hero.tsx b/nx-dev/ui-home/src/lib/hero.tsx index b07ee58ce8446..a9d8738089a28 100644 --- a/nx-dev/ui-home/src/lib/hero.tsx +++ b/nx-dev/ui-home/src/lib/hero.tsx @@ -6,7 +6,11 @@ import { Theme, useTheme } from '@nx/nx-dev/ui-theme'; import { useState } from 'react'; import Link from 'next/link'; import { useIsomorphicLayoutEffect } from '@nx/nx-dev/ui-primitives'; -import { MonorepoWorldIcon } from '@nx/nx-dev/ui-icons'; +import { + MonorepoWorldIcon, + RustIcon, + TypeScriptIcon, +} from '@nx/nx-dev/ui-icons'; import { motion, MotionConfig } from 'framer-motion'; export function Hero(): JSX.Element { @@ -80,6 +84,14 @@ export function Hero(): JSX.Element { Contact us + +
+ Built with +