Connect, collaborate, and grow with a community of TypeScript developers
feat: Add Year switcher + socials to nav bar (#1673)
Devinda Senanayaka47da672c549e
diff --git a/apps/aot/package.json b/apps/aot/package.jsonindex b04e8f54..3ad374a1 100644--- a/apps/aot/package.json+++ b/apps/aot/package.json@@ -41,6 +41,7 @@"date-fns": "^2.30.0","framer-motion": "^10.12.22","framer-motion-3d": "^11.11.17",+ "jotai": "^2.10.1","lodash": "^4.17.21","lz-string": "^1.5.0","maath": "^0.10.8",diff --git a/apps/aot/src/app/events/[year]/page.tsx b/apps/aot/src/app/events/[year]/page.tsxindex 75d9ef89..93279e4c 100644--- a/apps/aot/src/app/events/[year]/page.tsx+++ b/apps/aot/src/app/events/[year]/page.tsx@@ -9,7 +9,6 @@ import type { RouterOutputs } from '~/trpc/react';import { DailyCountdownTimer } from '~/components/DailyCountdownTimer';import BgDecorations from './24BgDecorations';import Partners from '~/components/landing/Partners';-import YearsSelector from './YearsSelector';import GiftBox from './GiftBox';type Challenge = RouterOutputs['event']['getEventChallengesByYear'][0];@@ -48,10 +47,7 @@ export default async function EventByYearLandingPage({ params }: Props) {return (<div className="-mt-14 flex min-h-screen flex-col items-center justify-between overflow-hidden bg-gradient-to-t from-neutral-400/10 to-transparent py-14">- <YearsSelector selectedYear={params.year} />- <div- className={`fixed left-0 top-0 -z-10 h-full w-full bg-[url('https://images.pexels.com/photos/724906/pexels-photo-724906.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2')] bg-cover opacity-10 blur-3xl`}- />+ <div className="fixed left-0 top-0 -z-10 h-full w-full bg-[url('https://images.pexels.com/photos/724906/pexels-photo-724906.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2')] bg-cover opacity-10 blur-3xl" /><div className="container relative mx-auto"><BgDecorations />{/* <h1 className="mb-16 mt-8 text-center text-3xl font-bold lg:text-6xl">@@ -59,12 +55,12 @@ export default async function EventByYearLandingPage({ params }: Props) {</h1> */}<ul className="z-10 flex flex-col items-center gap-2 sm:gap-3 md:gap-4">{year === 2024 && (- <div className="flex flex-col items-center pb-10">+ <div className="flex flex-col items-center pt-10"><DailyCountdownTimer /></div>)}{groupedDays.map((group, index) => (- <div key={`row-${index}`} className="flex gap-2 sm:gap-3 md:gap-4">+ <div key={`row-${index}`} className="flex gap-2 first:pt-10 sm:gap-3 md:gap-4">{group.map((day) => (<>{day.active ? (diff --git a/apps/aot/src/components/landing/Partners.tsx b/apps/aot/src/components/landing/Partners.tsxindex 4aeb1ba2..1654b436 100644--- a/apps/aot/src/components/landing/Partners.tsx+++ b/apps/aot/src/components/landing/Partners.tsx@@ -38,7 +38,7 @@ export default function Partners() {</div><div className="infinite-scroll-x flex flex-nowrap items-center md:hidden">{[...partners, ...partners].map((partner, i) => {- return <PartnerLink key={`infinite-partners-${partner.name}-${i}`} partner={partner} />;+ return <PartnerLink key={`${partner.name}_${i}`} partner={partner} />;})}</div></div>diff --git a/apps/aot/src/components/navigation/index.tsx b/apps/aot/src/components/navigation/index.tsxindex c93e7be1..a4b822c4 100644--- a/apps/aot/src/components/navigation/index.tsx+++ b/apps/aot/src/components/navigation/index.tsx@@ -6,7 +6,7 @@ import {DropdownMenuTrigger,} from '@repo/ui/components/dropdown-menu';import { UserAvatar } from '@repo/ui/components/user-avatar';-import { Palette } from '@repo/ui/icons';+import { Palette, Discord, NewTwitter, Github } from '@repo/ui/icons';import Link from 'next/link';import { auth } from '~/server/auth';import { getAllFlags } from '~/utils/feature-flag';@@ -17,6 +17,13 @@ import { NavLink } from './nav-link';import { NavWrapper } from './nav-wrapper';import { SignOutLink } from './signout-link';import { ThemeButton } from './theme-button';+import { Button } from '@repo/ui/components/button';+import { Separator } from '@repo/ui/components/separator';+import { NavLinksWithYear, YearSwitcher } from './year-switcher';++const DISCORD_INVITE_LINK = 'https://discord.gg/trash-devs-796594544980000808';+const TWITTER_LINK = 'https://x.com/typeheroapp';+const GITHUB_LINK = 'https://github.com/typehero/typehero';export async function Navigation() {const [session, featureFlags] = await Promise.all([auth(), getAllFlags()]);@@ -25,8 +32,34 @@ export async function Navigation() {<>{featureFlags.enableAotPlatform ? (<>- <NavLink title="About" href="/about" />- <NavLink title="Events" href="/events/2024" />+ <YearSwitcher className="hidden md:inline-flex" />+ <NavLinksWithYear />+ <NavLink href="/about">About</NavLink>+ <Link+ className="donate-btn relative w-fit overflow-hidden rounded-full px-4 py-2 text-black duration-300 hover:bg-[#eed15f] md:hidden dark:text-white dark:hover:bg-[#bea74b44]"+ href="/support"+ >+ Support Us+ </Link>+ <Separator className="md:hidden dark:bg-white/20" />+ <NavLink+ href={DISCORD_INVITE_LINK}+ className="flex flex-row items-center gap-2 text-black/40 md:hidden dark:text-white/60"+ >+ <span>Join us on Discord</span> <Discord className="h-4 w-4" />+ </NavLink>+ <NavLink+ href={TWITTER_LINK}+ className="flex flex-row items-center gap-2 text-black/40 md:hidden dark:text-white/60"+ >+ <span>Follow us on </span> <NewTwitter className="h-3.5 w-3.5" />+ </NavLink>+ <NavLink+ href={GITHUB_LINK}+ className="flex flex-row items-center gap-2 text-black/40 md:hidden dark:text-white/60"+ >+ <span>Contribute on </span> <Github className="h-3.5 w-3.5" />+ </NavLink></>) : null}</>@@ -62,21 +95,55 @@ export async function Navigation() {<header className="z-50 w-full"><NavWrapper><div className="flex w-full items-center justify-between">- <div className="relative flex w-64 gap-3">+ <div className="relative flex w-32 gap-3 lg:w-64"><Link className="flex items-center space-x-2 duration-300" href="/"><Logo /></Link></div><div className="hidden items-center md:flex">{NavLinks}</div>- <div className="flex w-64 items-center justify-end gap-2">- <Link- className="donate-btn relative overflow-hidden rounded-full px-4 py-2 text-black duration-300 hover:bg-[#eed15f] dark:text-white dark:hover:bg-[#bea74b44]"- href="/support"- >- Support Us- </Link>- <LoginButton session={session} />- <MobileNav>{NavLinks}</MobileNav>+ <div className="flex flex-row gap-2">+ <YearSwitcher className="md:hidden" />+ <div className="flex items-center justify-end gap-1">+ <Button+ size="icon"+ variant="outline"+ asChild+ className="hidden border-none bg-transparent hover:bg-transparent md:flex dark:hover:text-yellow-400"+ >+ <Link href={DISCORD_INVITE_LINK}>+ <Discord />+ </Link>+ </Button>+ <Button+ size="icon"+ variant="outline"+ asChild+ className="hidden border-none bg-transparent hover:bg-transparent md:flex dark:hover:text-yellow-400"+ >+ <Link href={GITHUB_LINK}>+ <Github />+ </Link>+ </Button>+ <Button+ size="icon"+ variant="outline"+ asChild+ className="hidden border-none bg-transparent hover:bg-transparent md:flex dark:hover:text-yellow-400"+ >+ <Link href={TWITTER_LINK}>+ <NewTwitter />+ </Link>+ </Button>++ <Link+ className="donate-btn relative hidden overflow-hidden rounded-full px-4 py-2 text-black duration-300 hover:bg-[#eed15f] md:flex dark:text-white dark:hover:bg-[#bea74b44]"+ href="/support"+ >+ Support Us+ </Link>+ <LoginButton session={session} />+ <MobileNav>{NavLinks}</MobileNav>+ </div></div></div></NavWrapper>diff --git a/apps/aot/src/components/navigation/nav-link.tsx b/apps/aot/src/components/navigation/nav-link.tsxindex 2a21a6a3..3c95e5f9 100644--- a/apps/aot/src/components/navigation/nav-link.tsx+++ b/apps/aot/src/components/navigation/nav-link.tsx@@ -4,7 +4,15 @@ import clsx from 'clsx';import Link from 'next/link';import { usePathname } from 'next/navigation';-export function NavLink({ href, title }: { href: string; title: string }) {+export function NavLink({+ href,+ children,+ className,+}: {+ href: string;+ className?: string;+ children: React.ReactNode;+}) {const pathname = usePathname();return (<Link href={href}>@@ -14,9 +22,10 @@ export function NavLink({ href, title }: { href: string; title: string }) {{'!text-black dark:!text-white': pathname === href,},+ className,)}>- {title}+ {children}</div></Link>);diff --git a/apps/aot/src/components/navigation/year-switcher.tsx b/apps/aot/src/components/navigation/year-switcher.tsxnew file mode 100644index 00000000..f81b6477--- /dev/null+++ b/apps/aot/src/components/navigation/year-switcher.tsx@@ -0,0 +1,60 @@+'use client';+import { YearSelector } from '@repo/ui/components/year-selector';+import { NavLink } from './nav-link';+import { useRouter, useSelectedLayoutSegments } from 'next/navigation';+import { atom, useAtom, useAtomValue } from 'jotai';+import { hasAdventEnded, hasAdventStarted } from '~/utils/time-utils';++//Need this atom to show the year on pages without /events/year, i.e index+//and about+const SelectedYearAtom = atom<string | undefined>(undefined);++const useUrlYear = () => {+ const segments = useSelectedLayoutSegments().filter((s) => !s.startsWith('('));+ let urlYear = '2024';+ if (segments[0] === 'events' && segments[1]) urlYear = segments[1];+ return urlYear;+};++export function YearSwitcher(props: { className: string }) {+ const urlYear = useUrlYear();+ const [selectYear, setSelectYear] = useAtom(SelectedYearAtom);+ const router = useRouter();++ const currentYear = new Date().getFullYear();+ const isLive = hasAdventStarted(currentYear) && !hasAdventEnded(currentYear);++ function handleYearChange(newYear: string) {+ const newUrl = `/events/${newYear}`;+ router.push(newUrl);+ setSelectYear(newYear);+ }++ const ref = (node: HTMLDivElement | null) => {+ if (node !== null) {+ //After the element is rendered, set's the year to the year from the url+ setSelectYear(urlYear);+ }+ };++ return (+ <div className={props.className} ref={ref}>+ <YearSelector+ setSelectedYear={handleYearChange}+ //selected year is not available until first render, where the ref sets it to the url year.+ selectedYear={selectYear ?? urlYear}+ showLive={isLive}+ />+ </div>+ );+}++export function NavLinksWithYear() {+ const year = useAtomValue(SelectedYearAtom);+ return (+ <>+ <NavLink href={`/events/${year}`}>Event</NavLink>+ <NavLink href={`/events/${year}/leaderboard`}>Leaderboard</NavLink>+ </>+ );+}diff --git a/apps/aot/src/utils/time-utils.ts b/apps/aot/src/utils/time-utils.tsindex 0017c5bc..105c85e3 100644--- a/apps/aot/src/utils/time-utils.ts+++ b/apps/aot/src/utils/time-utils.ts@@ -7,13 +7,20 @@ export function hasAdventStarted(year: number) {return now >= aotStartTime.getTime();}+export function hasAdventEnded(year: number) {+ if (!isValidAdventYear(year)) return false;+ const now = new Date().getTime();+ const aotEndTime = new Date(Date.UTC(year, 11, 26, 5, 0, 0)).getTime();++ return now > aotEndTime;+}+export function getCurrentAdventDay(year: number) {const MS_PER_DAY = 24 * 60 * 60 * 1000;const now = new Date().getTime();const startDate = new Date(Date.UTC(year, 11, 1, 5, 0, 0)).getTime();const endDate = new Date(Date.UTC(year, 11, 26, 5, 0, 0)).getTime();-if (now < startDate) {return 0; // not advent yet!}diff --git a/packages/ui/package.json b/packages/ui/package.jsonindex 4e8677b6..6338101a 100644--- a/packages/ui/package.json+++ b/packages/ui/package.json@@ -36,6 +36,7 @@"typecheck": "tsc --noEmit"},"dependencies": {+ "@icons-pack/react-simple-icons": "^10.2.0","@radix-ui/react-alert-dialog": "^1.0.4","@radix-ui/react-avatar": "^1.0.3","@radix-ui/react-checkbox": "^1.0.4",diff --git a/packages/ui/src/components/year-selector.tsx b/packages/ui/src/components/year-selector.tsxnew file mode 100644index 00000000..3dc4b085--- /dev/null+++ b/packages/ui/src/components/year-selector.tsx@@ -0,0 +1,88 @@+'use client';+import * as Select from '@radix-ui/react-select';+import { ChevronDownIcon } from 'lucide-react';+import * as React from 'react';+import { cn } from '../cn';++const YEARS = ['2024', '2023'];++const YEAR_COLOR_MAP: Record<string, string> = {+ '2024': 'border-red-800 from-red-950 to-red-700',+ '2023': 'border-emerald-800 from-emerald-700 to-emerald-900',+};++const YEAR_TO_SELECT_ITEMS_MAP: Record<string, (isLive: boolean) => JSX.Element | number> = {+ '2024': (isLive: boolean) => {+ return (+ <div className="inline-flex flex-row items-center gap-2">+ {isLive ? (+ <>+ <div className="h-2 w-2 animate-ping rounded-full bg-red-500" />+ <div className="-ml-4 h-2 w-2 rounded-full bg-red-500" />+ </>+ ) : null}+ 2024+ </div>+ );+ },+ '2023': () => 2023,+};++export const YearSelector = (props: {+ selectedYear: string;+ setSelectedYear: (year: string) => void;+ showLive: boolean;+}) => {+ return (+ <Select.Root value={props.selectedYear} onValueChange={props.setSelectedYear}>+ <Select.Trigger+ className={cn(+ 'inline-flex min-w-24 items-center justify-end gap-1 rounded-full border bg-gradient-to-r px-3 py-1 md:min-w-28 md:py-1.5',+ YEAR_COLOR_MAP[props.selectedYear],+ )}+ >+ <Select.Value>+ {YEAR_TO_SELECT_ITEMS_MAP[props.selectedYear]?.(props.showLive)}+ </Select.Value>+ <Select.Icon>+ <ChevronDownIcon className="h-5 w-6" />+ </Select.Icon>+ </Select.Trigger>+ <Select.Portal>+ <Select.Content+ position="popper"+ align="center"+ alignOffset={10}+ className="data-[state=open]:animate-in date-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 z-50 gap-1 data-[side=bottom]:translate-y-1"+ >+ {YEARS.filter((y) => y !== props.selectedYear).map((y) => (+ <SelectItem key={y} value={y}>+ {YEAR_TO_SELECT_ITEMS_MAP[y]?.(props.showLive)}+ </SelectItem>+ ))}+ </Select.Content>+ </Select.Portal>+ </Select.Root>+ );+};++const SelectItem = React.forwardRef<+ React.ElementRef<typeof Select.Item>,+ React.ComponentPropsWithoutRef<typeof Select.Item>+>(({ children, className, ...props }, forwardedRef) => {+ return (+ <Select.Item+ className={cn(+ 'cursor-pointer select-none outline-none',+ 'inline-flex items-center justify-end gap-1 rounded-full border bg-gradient-to-r px-3 py-1 md:py-1.5',+ YEAR_COLOR_MAP[props.value],+ className,+ )}+ {...props}+ ref={forwardedRef}+ >+ <Select.ItemText>{children}</Select.ItemText>+ <Select.ItemIndicator className="absolute left-0 inline-flex w-[25px] items-center justify-center"></Select.ItemIndicator>+ </Select.Item>+ );+});diff --git a/packages/ui/src/icons.ts b/packages/ui/src/icons.tsindex 19378233..91e2b78e 100644--- a/packages/ui/src/icons.ts+++ b/packages/ui/src/icons.ts@@ -94,3 +94,4 @@ export {} from 'lucide-react';export { Github } from './icons/github';export { Twitter } from './icons/twitter';+export { SiDiscord as Discord, SiX as NewTwitter } from '@icons-pack/react-simple-icons';diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 38b70739..b078e243 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -91,10 +91,10 @@ importers:version: 2.6.0-beta.12next:specifier: 14.2.5- version: 14.2.5(@babel/[email protected])([email protected]([email protected]))([email protected])+ version: 14.2.5(@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])next-themes:specifier: ^0.2.1- version: 0.2.1([email protected](@babel/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ version: 0.2.1([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])react:specifier: 18.2.0version: 18.2.0@@ -158,7 +158,7 @@ importers:version: 13.4.10([email protected])([email protected])eslint-plugin-import:specifier: ^2.27.5- version: 2.27.5([email protected])+ version: 2.27.5(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected]))([email protected])postcss:specifier: ^8.4.31version: 8.4.31@@ -252,6 +252,9 @@ importers:framer-motion-3d:specifier: ^11.11.17version: 11.11.17(@emotion/[email protected])(@react-three/[email protected]([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])+ jotai:+ specifier: ^2.10.1+ version: 2.10.1(@types/[email protected])([email protected])lodash:specifier: ^4.17.21version: 4.17.21@@ -266,10 +269,10 @@ importers:version: 5.0.7next:specifier: 14.2.5- version: 14.2.5(@playwright/[email protected])([email protected]([email protected]))([email protected])next-themes:specifier: ^0.2.1- version: 0.2.1([email protected](@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ version: 0.2.1([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])react:specifier: 18.2.0version: 18.2.0@@ -394,7 +397,7 @@ importers:version: 1.0.0next:specifier: 14.2.5- version: 14.2.5(@playwright/[email protected])([email protected]([email protected]))([email protected])react:specifier: 18.2.0version: 18.2.0@@ -470,7 +473,7 @@ importers:version: link:../../packages/ui'@sentry/nextjs':specifier: ^7.73.0- version: 7.73.0([email protected](@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])+ version: 7.73.0([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])'@stripe/react-stripe-js':specifier: ^2.8.0@@ -494,7 +497,7 @@ importers:'@uploadthing/react':specifier: ^6.2.2- version: 6.2.2(@uploadthing/[email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])+ version: 6.2.2(@uploadthing/[email protected])([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])'@vercel/analytics':specifier: ^1.1.1version: 1.1.1@@ -503,10 +506,10 @@ importers:version: 0.2.1'@vercel/speed-insights':specifier: ^1.0.12- version: 1.0.12([email protected](@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])+ version: 1.0.12([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])'@vercel/toolbar':specifier: ^0.1.18- version: 0.1.22([email protected](@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])+ version: 0.1.22([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])algoliasearch:specifier: ^4.20.0version: 4.20.0@@ -545,10 +548,10 @@ importers:version: 5.0.7next:specifier: 14.2.5- version: 14.2.5(@playwright/[email protected])([email protected]([email protected]))([email protected])+ version: 14.2.5(@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])next-themes:specifier: ^0.2.1- version: 0.2.1([email protected](@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ version: 0.2.1([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])react:specifier: 18.2.0version: 18.2.0@@ -575,7 +578,7 @@ importers:react-instantsearch-nextjs:specifier: ^0.1.5- version: 0.1.5([email protected](@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected])([email protected]([email protected]))([email protected]))+ version: 0.1.5([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected])([email protected]([email protected]))([email protected]))react-intersection-observer:specifier: ^9.5.2version: 9.5.2([email protected])@@ -672,7 +675,7 @@ importers:version: 13.4.10([email protected])([email protected])eslint-plugin-import:specifier: ^2.27.5- version: 2.27.5([email protected])+ version: 2.27.5(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected]))([email protected])postcss:specifier: ^8.4.31version: 8.4.31@@ -879,6 +882,9 @@ importers:packages/ui:dependencies:+ '@icons-pack/react-simple-icons':+ specifier: ^10.2.0+ version: 10.2.0([email protected])'@radix-ui/react-alert-dialog':specifier: ^1.0.4version: 1.0.4(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])@@ -1023,7 +1029,7 @@ importers:dependencies:'@next/eslint-plugin-next':specifier: canary- version: 15.0.4-canary.27+ version: 15.0.4-canary.31'@repo/tsconfig':specifier: workspace:*version: link:../config-typescript@@ -1035,7 +1041,7 @@ importers:version: 5.62.0([email protected])([email protected])'@vercel/style-guide':specifier: ^4.0.2eslint:specifier: ^8.45.0version: 8.45.0@@ -2030,6 +2036,11 @@ packages:resolution: {integrity: sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==}deprecated: Use @eslint/object-schema instead+ '@icons-pack/[email protected]':+ resolution: {integrity: sha512-QDUxup8D3GdIIzwGpxQs6bjeFV5mJes25qqf4aqP/PaBYQNCar7AiyD8C14636TosCG0A/QqAUwm/Hviep4d4g==}+ peerDependencies:+ react: ^16.13 || ^17 || ^18 || ^19+'@ioredis/[email protected]':resolution: {integrity: sha512-Sx1pU8EM64o2BrqNpEO1CNLtKQwyhuXuqyfH7oGKCk+1a33d2r5saW8zNwm3j6BTExtjrv2BxTgzzkMwts6vGg==}@@ -2150,8 +2161,8 @@ packages:'@next/[email protected]':resolution: {integrity: sha512-YJqyq6vk39JQfvaNtN83t/p5Jy45+bazRL+V4QI8FPd3FBqFYMEsULiwRLgSJMgFqkk4t4JbeZurz+gILEAFpA==}- '@next/[email protected]':- resolution: {integrity: sha512-DO7KOSFVqhE6WlIu6ArKJ6MHlt0OZMW9XPXReULcMO+WSyec54PO5XwwCElYOcLEhyjV+IFJ1X6FvSrRvYw+lA==}+ '@next/[email protected]':+ resolution: {integrity: sha512-MKVZiozu+3LOM7eo3DNEcmeD0V3i/AXM1lQr9ayFYMgxeCiqXSt9bRPy6KPIKJutw//Md0s16i1rtYFLB3531A==}'@next/[email protected]':resolution: {integrity: sha512-/9zVxJ+K9lrzSGli1///ujyRfon/ZneeZ+v4ptpiPoOU+GKZnm8Wj8ELWU1Pm7GHltYRBklmXMTUqM/DqQ99FQ==}@@ -9928,6 +9939,10 @@ snapshots:'@humanwhocodes/[email protected]': {}+ '@icons-pack/[email protected]([email protected])':+ dependencies:+ react: 18.2.0+'@ioredis/[email protected]': {}'@jest/[email protected]':@@ -10077,7 +10092,7 @@ snapshots:dependencies:glob: 7.1.7- '@next/[email protected]':+ '@next/[email protected]':dependencies:fast-glob: 3.3.1@@ -11668,7 +11683,7 @@ snapshots:localforage: 1.10.0tslib: 2.6.0- '@sentry/[email protected]([email protected](@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])':+ '@sentry/[email protected]([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])':dependencies:'@rollup/plugin-commonjs': 24.0.0([email protected])'@sentry/core': 7.73.0@@ -11680,7 +11695,7 @@ snapshots:'@sentry/vercel-edge': 7.73.0'@sentry/webpack-plugin': 1.20.0chalk: 3.0.0- next: 14.2.5(@playwright/[email protected])([email protected]([email protected]))([email protected])+ next: 14.2.5(@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])react: 18.2.0rollup: 2.78.0stacktrace-parser: 0.1.10@@ -12289,6 +12304,20 @@ snapshots:'@uploadthing/[email protected]': {}+ '@uploadthing/[email protected](@uploadthing/[email protected])([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])([email protected])':+ dependencies:+ '@uploadthing/dropzone': 0.1.1+ '@uploadthing/shared': 6.2.0(@uploadthing/[email protected])+ attr-accept: 2.2.2+ file-selector: 0.6.0+ react: 18.2.0+ tailwind-merge: 1.14.0+ uploadthing: 6.3.1+ optionalDependencies:+ next: 14.2.5(@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])+ transitivePeerDependencies:+ - '@uploadthing/mime-types'+'@uploadthing/[email protected](@uploadthing/[email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])':dependencies:'@uploadthing/dropzone': 0.1.1@@ -12299,7 +12328,7 @@ snapshots:tailwind-merge: 1.14.0uploadthing: 6.3.1optionalDependencies:- next: 14.2.5(@playwright/[email protected])([email protected]([email protected]))([email protected])transitivePeerDependencies:- '@uploadthing/mime-types'@@ -12369,12 +12398,12 @@ snapshots:satori: 0.0.46yoga-wasm-web: 0.3.0- '@vercel/[email protected]([email protected](@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])':+ '@vercel/[email protected]([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])':optionalDependencies:- next: 14.2.5(@playwright/[email protected])([email protected]([email protected]))([email protected])+ next: 14.2.5(@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])react: 18.2.0- '@vercel/[email protected](@next/[email protected])([email protected])([email protected])([email protected])':+ '@vercel/[email protected](@next/[email protected])([email protected])([email protected])([email protected])':dependencies:'@babel/core': 7.22.10'@babel/eslint-parser': 7.22.10(@babel/[email protected])([email protected])@@ -12396,7 +12425,7 @@ snapshots:eslint-plugin-unicorn: 43.0.2([email protected])prettier-plugin-packagejson: 2.4.3([email protected])optionalDependencies:- '@next/eslint-plugin-next': 15.0.4-canary.27+ '@next/eslint-plugin-next': 15.0.4-canary.31eslint: 8.45.0prettier: 3.1.1typescript: 5.3.3@@ -12406,7 +12435,7 @@ snapshots:- jest- supports-color- '@vercel/[email protected]([email protected](@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])':+ '@vercel/[email protected]([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])':dependencies:'@tinyhttp/app': 1.3.0chokidar: 3.5.3@@ -12415,7 +12444,7 @@ snapshots:get-port: 5.1.1strip-ansi: 6.0.1optionalDependencies:- next: 14.2.5(@playwright/[email protected])([email protected]([email protected]))([email protected])+ next: 14.2.5(@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])react: 18.2.0'@vitest/[email protected]':@@ -13277,7 +13306,7 @@ snapshots:dependencies:- '@babel/runtime': 7.22.6+ '@babel/runtime': 7.26.0@@ -13756,7 +13785,7 @@ snapshots:'@typescript-eslint/parser': 5.62.0([email protected])([email protected])eslint: 8.56.0eslint-import-resolver-node: 0.3.7- eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])+ eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])eslint-plugin-import: 2.27.5(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])eslint-plugin-jsx-a11y: 6.7.1([email protected])eslint-plugin-react: 7.32.2([email protected])@@ -13794,7 +13823,7 @@ snapshots:enhanced-resolve: 5.15.0eslint: 8.45.0eslint-module-utils: 2.8.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected]))([email protected])- eslint-plugin-import: 2.27.5([email protected])+ eslint-plugin-import: 2.27.5(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected]))([email protected])get-tsconfig: 4.6.2globby: 13.2.2is-core-module: 2.12.1@@ -13824,7 +13853,7 @@ snapshots:- eslint-import-resolver-webpack- supports-color- [email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected]):+ [email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected]):dependencies:debug: 4.3.4enhanced-resolve: 5.15.0@@ -13871,7 +13900,7 @@ snapshots:'@typescript-eslint/parser': 5.62.0([email protected])([email protected])eslint: 8.56.0eslint-import-resolver-node: 0.3.7- eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])+ eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]([email protected]))([email protected])transitivePeerDependencies:- supports-color@@ -13956,29 +13985,6 @@ snapshots:- eslint-import-resolver-webpack- supports-color- dependencies:- array-includes: 3.1.6- array.prototype.flat: 1.3.1- array.prototype.flatmap: 1.3.1- debug: 3.2.7- doctrine: 2.1.0- eslint: 8.45.0- eslint-import-resolver-node: 0.3.7- eslint-module-utils: 2.8.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])- has: 1.0.3- is-core-module: 2.12.1- is-glob: 4.0.3- minimatch: 3.1.2- object.values: 1.1.6- resolve: 1.22.2- semver: 6.3.1- tsconfig-paths: 3.14.2- transitivePeerDependencies:- - eslint-import-resolver-typescript- - eslint-import-resolver-webpack- - supports-color-[email protected](@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]))([email protected])([email protected]):dependencies:'@typescript-eslint/utils': 5.59.1([email protected])([email protected])@@ -15899,15 +15905,15 @@ snapshots:react: 18.3.1- [email protected]([email protected](@babel/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]):+ [email protected]([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]):dependencies:+ next: 14.2.5(@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])react: 18.2.0react-dom: 18.2.0([email protected])- [email protected]([email protected](@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]):+ [email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]):dependencies:- next: 14.2.5(@playwright/[email protected])([email protected]([email protected]))([email protected])react: 18.2.0react-dom: 18.2.0([email protected])@@ -15917,7 +15923,7 @@ snapshots:react: 18.2.0react-dom: 18.3.1([email protected])- [email protected](@babel/[email protected])([email protected]([email protected]))([email protected]):+ [email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]):dependencies:'@next/env': 14.2.5'@swc/helpers': 0.5.5@@ -15938,11 +15944,12 @@ snapshots:'@next/swc-win32-arm64-msvc': 14.2.5'@next/swc-win32-ia32-msvc': 14.2.5'@next/swc-win32-x64-msvc': 14.2.5+ '@playwright/test': 1.38.0transitivePeerDependencies:- '@babel/core'- babel-plugin-macros- [email protected](@playwright/[email protected])([email protected]([email protected]))([email protected]):dependencies:'@next/env': 14.2.5'@swc/helpers': 0.5.5@@ -15963,7 +15970,6 @@ snapshots:'@next/swc-win32-arm64-msvc': 14.2.5'@next/swc-win32-ia32-msvc': 14.2.5'@next/swc-win32-x64-msvc': 14.2.5- '@playwright/test': 1.38.0transitivePeerDependencies:- '@babel/core'- babel-plugin-macros@@ -16464,7 +16470,7 @@ snapshots:dependencies:nanoid: 3.3.6- picocolors: 1.0.0+ picocolors: 1.1.1source-map-js: 1.0.2@@ -16655,9 +16661,9 @@ snapshots:react: 18.2.0use-sync-external-store: 1.2.0([email protected])- [email protected]([email protected](@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected])([email protected]([email protected]))([email protected])):+ [email protected]([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected])([email protected]([email protected]))([email protected])):dependencies:- next: 14.2.5(@playwright/[email protected])([email protected]([email protected]))([email protected])+ next: 14.2.5(@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])react-instantsearch: 7.3.0([email protected])([email protected]([email protected]))([email protected])