From f338b0ff91c2e778fb6c0ba887f4dd848519575a Mon Sep 17 00:00:00 2001 From: ezekielelvis Date: Sat, 1 Aug 2026 21:56:48 +0000 Subject: [PATCH] Split home into routed pages and redesign auth screens Home now shows only the full-viewport Hero (no scroll); How it works, For organizers, and Contact each get their own route with a shared PublicLayout. Adds a shadcn-style FAQ/accordion block to How it works and a themed multi-column Footer. Login, Signup, and Confirm signup drop the site nav/footer for a focused split-screen auth layout with new Button/Input/Label/PasswordInput primitives. Co-Authored-By: Claude Sonnet 5 --- frontend/package.json | 9 +- frontend/src/App.tsx | 6 + frontend/src/components/Hero.tsx | 4 +- .../src/components/home/OrganizerPitch.tsx | 2 +- frontend/src/components/home/ReachUs.tsx | 2 +- .../src/components/home/UpcomingEvents.tsx | 77 ---- .../src/components/layout/AuthSplitLayout.tsx | 41 +++ frontend/src/components/layout/SiteFooter.tsx | 117 +++---- frontend/src/components/layout/SiteNav.tsx | 15 +- frontend/src/components/ui/accordion.tsx | 57 +++ frontend/src/components/ui/button.tsx | 45 +++ frontend/src/components/ui/faq.tsx | 56 +++ frontend/src/components/ui/footer.tsx | 94 +++++ frontend/src/components/ui/input.tsx | 20 ++ frontend/src/components/ui/label.tsx | 15 + frontend/src/components/ui/password-input.tsx | 37 ++ frontend/src/components/ui/typewriter.tsx | 56 +++ frontend/src/lib/utils.ts | 6 + frontend/src/pages/ConfirmSignupPage.tsx | 91 ++--- frontend/src/pages/ContactPage.tsx | 10 + frontend/src/pages/HomePage.tsx | 16 +- frontend/src/pages/HowItWorksPage.tsx | 12 + frontend/src/pages/LoginPage.tsx | 100 +++--- frontend/src/pages/OrganizersPage.tsx | 10 + frontend/src/pages/SignupPage.tsx | 156 +++++---- frontend/tailwind.config.js | 14 + frontend/tsconfig.app.json | 3 + frontend/vite.config.ts | 6 + pnpm-lock.yaml | 329 ++++++++++++++++++ 29 files changed, 1066 insertions(+), 340 deletions(-) delete mode 100644 frontend/src/components/home/UpcomingEvents.tsx create mode 100644 frontend/src/components/layout/AuthSplitLayout.tsx create mode 100644 frontend/src/components/ui/accordion.tsx create mode 100644 frontend/src/components/ui/button.tsx create mode 100644 frontend/src/components/ui/faq.tsx create mode 100644 frontend/src/components/ui/footer.tsx create mode 100644 frontend/src/components/ui/input.tsx create mode 100644 frontend/src/components/ui/label.tsx create mode 100644 frontend/src/components/ui/password-input.tsx create mode 100644 frontend/src/components/ui/typewriter.tsx create mode 100644 frontend/src/lib/utils.ts create mode 100644 frontend/src/pages/ContactPage.tsx create mode 100644 frontend/src/pages/HowItWorksPage.tsx create mode 100644 frontend/src/pages/OrganizersPage.tsx diff --git a/frontend/package.json b/frontend/package.json index e4814d1..7b69021 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -10,10 +10,17 @@ "preview": "vite preview" }, "dependencies": { + "@radix-ui/react-accordion": "^1.2.20", + "@radix-ui/react-icons": "^1.3.2", + "@radix-ui/react-label": "^2.1.15", + "@radix-ui/react-slot": "^1.3.3", + "class-variance-authority": "^0.7.1", + "clsx": "^2.1.1", "lucide-react": "^1.28.0", "react": "^19.2.8", "react-dom": "^19.2.8", - "react-router-dom": "^7.18.2" + "react-router-dom": "^7.18.2", + "tailwind-merge": "^3.6.0" }, "devDependencies": { "@types/node": "^24.13.3", diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index d1119a2..a06700c 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -4,6 +4,9 @@ import ProtectedRoute from './components/layout/ProtectedRoute' import { Role } from './lib/api/types' import HomePage from './pages/HomePage' +import HowItWorksPage from './pages/HowItWorksPage' +import OrganizersPage from './pages/OrganizersPage' +import ContactPage from './pages/ContactPage' import EventsPage from './pages/EventsPage' import EventDetailPage from './pages/EventDetailPage' import LoginPage from './pages/LoginPage' @@ -26,6 +29,9 @@ function App() { } /> + } /> + } /> + } /> } /> } /> } /> diff --git a/frontend/src/components/Hero.tsx b/frontend/src/components/Hero.tsx index 2dcc45c..a1a07a9 100644 --- a/frontend/src/components/Hero.tsx +++ b/frontend/src/components/Hero.tsx @@ -63,9 +63,9 @@ export default function Hero() { Browse events - + List your event - + diff --git a/frontend/src/components/home/OrganizerPitch.tsx b/frontend/src/components/home/OrganizerPitch.tsx index ece2623..d50c83f 100644 --- a/frontend/src/components/home/OrganizerPitch.tsx +++ b/frontend/src/components/home/OrganizerPitch.tsx @@ -9,7 +9,7 @@ const VALUE_PROPS = [ export default function OrganizerPitch() { return ( -
+

For organizers

diff --git a/frontend/src/components/home/ReachUs.tsx b/frontend/src/components/home/ReachUs.tsx index 0395e94..170d59e 100644 --- a/frontend/src/components/home/ReachUs.tsx +++ b/frontend/src/components/home/ReachUs.tsx @@ -29,7 +29,7 @@ export default function ReachUs() { } return ( -
+

Reach us

diff --git a/frontend/src/components/home/UpcomingEvents.tsx b/frontend/src/components/home/UpcomingEvents.tsx deleted file mode 100644 index 63d35d7..0000000 --- a/frontend/src/components/home/UpcomingEvents.tsx +++ /dev/null @@ -1,77 +0,0 @@ -import { useEffect, useState } from 'react' -import { ArrowRight } from 'lucide-react' -import { Link } from 'react-router-dom' -import { eventsApi } from '../../lib/api/events' -import { getErrorMessage } from '../../lib/api/client' -import type { EventRecord } from '../../lib/api/types' -import LoadingState from '../ui/LoadingState' -import ErrorState from '../ui/ErrorState' -import EmptyState from '../ui/EmptyState' -import { formatDate } from '../../lib/format' - -export default function UpcomingEvents() { - const [events, setEvents] = useState(null) - const [error, setError] = useState(null) - - useEffect(() => { - let cancelled = false - setError(null) - eventsApi - .list({ limit: 3 }) - .then((page) => { - if (!cancelled) setEvents(page.items) - }) - .catch((err) => { - if (!cancelled) setError(getErrorMessage(err)) - }) - return () => { - cancelled = true - } - }, []) - - return ( -
-
-
-

Happening soon

-

Upcoming events

-
- - View all events - - -
- -
- {error && } - {!error && !events && } - {!error && events && events.length === 0 && ( - - )} - {!error && events && events.length > 0 && ( -
    - {events.map((event) => ( -
  • - -
    -

    {event.title}

    -

    - {formatDate(event.startDate)} · {event.location} -

    -
    - {event.category} - -
  • - ))} -
- )} -
-
- ) -} diff --git a/frontend/src/components/layout/AuthSplitLayout.tsx b/frontend/src/components/layout/AuthSplitLayout.tsx new file mode 100644 index 0000000..42aa59a --- /dev/null +++ b/frontend/src/components/layout/AuthSplitLayout.tsx @@ -0,0 +1,41 @@ +import type { ReactNode } from 'react' +import { Link } from 'react-router-dom' +import { Ticket } from 'lucide-react' +import { Typewriter } from '../ui/typewriter' + +interface AuthSplitLayoutProps { + image: { src: string; alt: string } + quote: { text: string; author: string } + children: ReactNode +} + +export default function AuthSplitLayout({ image, quote, children }: AuthSplitLayoutProps) { + return ( +
+
+ + + Muster + +
+
{children}
+
+
+ +
+ {image.alt} +
+
+
+

+ “ + + ” +

+ — {quote.author} +
+
+
+
+ ) +} diff --git a/frontend/src/components/layout/SiteFooter.tsx b/frontend/src/components/layout/SiteFooter.tsx index 78f715d..f5e63cb 100644 --- a/frontend/src/components/layout/SiteFooter.tsx +++ b/frontend/src/components/layout/SiteFooter.tsx @@ -1,81 +1,46 @@ -import { Link } from 'react-router-dom' -import { Mail, MapPin, Ticket } from 'lucide-react' - -const EXPLORE_LINKS = [ - { label: 'Browse events', href: '/events' }, - { label: 'For organizers', href: '/#organizers' }, - { label: 'Sign up', href: '/signup' }, - { label: 'Log in', href: '/login' }, -] - -const SOCIAL_LINKS = [ - { label: 'X', href: 'https://x.com/musterhq' }, - { label: 'Instagram', href: 'https://instagram.com/musterhq' }, - { label: 'LinkedIn', href: 'https://linkedin.com/company/musterhq' }, -] +import { Compass, HelpCircle, LogIn, Mail, Megaphone, Ticket, UserPlus } from 'lucide-react' +import { Footer } from '../ui/footer' export default function SiteFooter() { return ( -
-
-
- - - Muster - -

- The place organizers list what's happening and people show up. - Every event on Muster is reviewed before it goes live. -

-
- -
-

Explore

- -
- -
-

Reach us

- -
- {SOCIAL_LINKS.map((link) => ( - - {link.label} - - ))} -
-
-
- -
-

© {new Date().getFullYear()} Muster. All rights reserved.

-

Built for organizers who'd rather run the event than chase spreadsheets.

-
-
+
) } diff --git a/frontend/src/components/layout/SiteNav.tsx b/frontend/src/components/layout/SiteNav.tsx index 50d55cf..12f40fa 100644 --- a/frontend/src/components/layout/SiteNav.tsx +++ b/frontend/src/components/layout/SiteNav.tsx @@ -7,8 +7,9 @@ import { Role } from '../../lib/api/types' const NAV_LINKS = [ { label: 'Home', href: '/' }, { label: 'Events', href: '/events' }, - { label: 'For organizers', href: '/#organizers' }, - { label: 'Reach us', href: '/#reach-us' }, + { label: 'How it works', href: '/how-it-works' }, + { label: 'For organizers', href: '/organizers' }, + { label: 'Contact', href: '/contact' }, ] function dashboardPathFor(role: Role): string { @@ -47,9 +48,9 @@ export default function SiteNav({ variant = 'solid' }: SiteNavProps) {
{NAV_LINKS.map((link) => ( - + {link.label} - + ))}
@@ -119,14 +120,14 @@ export default function SiteNav({ variant = 'solid' }: SiteNavProps) { >
{NAV_LINKS.map((link) => ( - setMobileMenuOpen(false)} className="text-3xl font-medium text-white/90 hover:text-white" > {link.label} - + ))} {session ? ( <> diff --git a/frontend/src/components/ui/accordion.tsx b/frontend/src/components/ui/accordion.tsx new file mode 100644 index 0000000..ae84ead --- /dev/null +++ b/frontend/src/components/ui/accordion.tsx @@ -0,0 +1,57 @@ +import * as AccordionPrimitive from '@radix-ui/react-accordion' +import * as React from 'react' +import { ChevronDownIcon } from '@radix-ui/react-icons' + +import { cn } from '@/lib/utils' + +const Accordion = AccordionPrimitive.Root + +const AccordionItem = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => ( + +)) +AccordionItem.displayName = 'AccordionItem' + +const AccordionTrigger = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, children, ...props }, ref) => ( + + svg]:rotate-180', + className, + )} + {...props} + > + {children} + + +)) +AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName + +const AccordionContent = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, children, ...props }, ref) => ( + +
{children}
+
+)) +AccordionContent.displayName = AccordionPrimitive.Content.displayName + +export { Accordion, AccordionContent, AccordionItem, AccordionTrigger } diff --git a/frontend/src/components/ui/button.tsx b/frontend/src/components/ui/button.tsx new file mode 100644 index 0000000..6bd24c3 --- /dev/null +++ b/frontend/src/components/ui/button.tsx @@ -0,0 +1,45 @@ +import { Slot } from '@radix-ui/react-slot' +import * as React from 'react' +import { cva, type VariantProps } from 'class-variance-authority' + +import { cn } from '@/lib/utils' + +const buttonVariants = cva( + 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brass/50 focus-visible:ring-offset-2 focus-visible:ring-offset-ink disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0', + { + variants: { + variant: { + default: 'bg-brass text-white hover:bg-brass-dark active:scale-[0.97]', + destructive: 'bg-status-rejected text-white hover:opacity-90 active:scale-[0.97]', + outline: 'border border-line-dark bg-transparent text-white hover:bg-white/5 active:scale-[0.97]', + secondary: 'bg-white/10 text-white hover:bg-white/15 active:scale-[0.97]', + ghost: 'text-white hover:bg-white/5', + link: 'text-white/60 underline-offset-4 hover:text-white hover:underline', + }, + size: { + default: 'h-10 px-4 py-2', + sm: 'h-9 rounded-md px-3', + lg: 'h-12 rounded-md px-6', + icon: 'h-8 w-8', + }, + }, + defaultVariants: { + variant: 'default', + size: 'default', + }, + }, +) + +interface ButtonProps extends React.ButtonHTMLAttributes, VariantProps { + asChild?: boolean +} + +const Button = React.forwardRef( + ({ className, variant, size, asChild = false, ...props }, ref) => { + const Comp = asChild ? Slot : 'button' + return + }, +) +Button.displayName = 'Button' + +export { Button, buttonVariants } diff --git a/frontend/src/components/ui/faq.tsx b/frontend/src/components/ui/faq.tsx new file mode 100644 index 0000000..bfa6005 --- /dev/null +++ b/frontend/src/components/ui/faq.tsx @@ -0,0 +1,56 @@ +import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from '@/components/ui/accordion' + +const FAQ_ITEMS = [ + { + question: 'How do I register for an event?', + answer: + "Browse approved events, open the one you want, and register in a single step. Capacity is tracked live, so you'll never register into a full room.", + }, + { + question: 'How do I get my ticket?', + answer: 'Your ticket lands in your inbox the moment you register — no app to install, nothing to print.', + }, + { + question: 'Can I cancel a registration?', + answer: + "Yes. Open My tickets and cancel any upcoming registration — your seat is released immediately so someone else can take it.", + }, + { + question: 'How does an event get approved?', + answer: + "An admin reviews every event an organizer submits before it goes public, so what you see on Muster has already been checked.", + }, + { + question: 'Is it free to list an event?', + answer: + "Yes. There's no fee to submit an event — you just need somewhere to send people once they've registered.", + }, + { + question: 'What happens once an event is full?', + answer: 'Registration closes automatically at capacity, so organizers never end up oversold.', + }, +] + +export default function FAQs() { + return ( +
+
+
+

FAQ

+

+ Common questions about registering and attending. +

+
+ + + {FAQ_ITEMS.map((item) => ( + + {item.question} + {item.answer} + + ))} + +
+
+ ) +} diff --git a/frontend/src/components/ui/footer.tsx b/frontend/src/components/ui/footer.tsx new file mode 100644 index 0000000..65ae806 --- /dev/null +++ b/frontend/src/components/ui/footer.tsx @@ -0,0 +1,94 @@ +import * as React from 'react' +import { cn } from '@/lib/utils' +import type { LucideIcon } from 'lucide-react' + +interface SocialLink { + name: string + href: string +} + +interface FooterLink { + name: string + Icon: LucideIcon + href: string +} + +interface FooterColumn { + title: string + links: FooterLink[] +} + +interface FooterProps extends React.HTMLAttributes { + brand: { + name: string + description: string + } + socialLinks: SocialLink[] + columns: FooterColumn[] + copyright?: string +} + +export const Footer = React.forwardRef( + ({ className, brand, socialLinks, columns, copyright, ...props }, ref) => { + return ( +
+
+
+
+ + {brand.name} + +

{brand.description}

+ +

+ {socialLinks.map((link, index) => ( + + + {link.name} + + {index < socialLinks.length - 1 && ' · '} + + ))} +

+
+ +
+ {columns.map(({ title, links }) => ( +
+

{title}

+ +
+ ))} +
+
+ + {copyright && ( +
+

{copyright}

+

Built for organizers who'd rather run the event than chase spreadsheets.

+
+ )} +
+
+ ) + }, +) + +Footer.displayName = 'Footer' diff --git a/frontend/src/components/ui/input.tsx b/frontend/src/components/ui/input.tsx new file mode 100644 index 0000000..bd37310 --- /dev/null +++ b/frontend/src/components/ui/input.tsx @@ -0,0 +1,20 @@ +import * as React from 'react' + +import { cn } from '@/lib/utils' + +const Input = React.forwardRef>(({ className, type, ...props }, ref) => { + return ( + + ) +}) +Input.displayName = 'Input' + +export { Input } diff --git a/frontend/src/components/ui/label.tsx b/frontend/src/components/ui/label.tsx new file mode 100644 index 0000000..9f6f189 --- /dev/null +++ b/frontend/src/components/ui/label.tsx @@ -0,0 +1,15 @@ +import * as LabelPrimitive from '@radix-ui/react-label' +import * as React from 'react' +import { cva, type VariantProps } from 'class-variance-authority' + +import { cn } from '@/lib/utils' + +const labelVariants = cva('text-sm font-medium leading-none text-white/80 peer-disabled:cursor-not-allowed peer-disabled:opacity-70') + +const Label = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef & VariantProps +>(({ className, ...props }, ref) => ) +Label.displayName = LabelPrimitive.Root.displayName + +export { Label } diff --git a/frontend/src/components/ui/password-input.tsx b/frontend/src/components/ui/password-input.tsx new file mode 100644 index 0000000..0d1bf0a --- /dev/null +++ b/frontend/src/components/ui/password-input.tsx @@ -0,0 +1,37 @@ +import * as React from 'react' +import { useId, useState } from 'react' +import { Eye, EyeOff } from 'lucide-react' + +import { cn } from '@/lib/utils' +import { Input } from '@/components/ui/input' +import { Label } from '@/components/ui/label' + +export interface PasswordInputProps extends React.InputHTMLAttributes { + label?: string +} + +const PasswordInput = React.forwardRef(({ className, label, id, ...props }, ref) => { + const generatedId = useId() + const inputId = id ?? generatedId + const [showPassword, setShowPassword] = useState(false) + + return ( +
+ {label && } +
+ + +
+
+ ) +}) +PasswordInput.displayName = 'PasswordInput' + +export { PasswordInput } diff --git a/frontend/src/components/ui/typewriter.tsx b/frontend/src/components/ui/typewriter.tsx new file mode 100644 index 0000000..6ec1333 --- /dev/null +++ b/frontend/src/components/ui/typewriter.tsx @@ -0,0 +1,56 @@ +import { useEffect, useState } from 'react' + +export interface TypewriterProps { + text: string | string[] + speed?: number + cursor?: string + loop?: boolean + deleteSpeed?: number + delay?: number + className?: string +} + +export function Typewriter({ text, speed = 100, cursor = '|', loop = false, deleteSpeed = 50, delay = 1500, className }: TypewriterProps) { + const [displayText, setDisplayText] = useState('') + const [currentIndex, setCurrentIndex] = useState(0) + const [isDeleting, setIsDeleting] = useState(false) + const [textArrayIndex, setTextArrayIndex] = useState(0) + + const textArray = Array.isArray(text) ? text : [text] + const currentText = textArray[textArrayIndex] || '' + + useEffect(() => { + if (!currentText) return + + const timeout = setTimeout( + () => { + if (!isDeleting) { + if (currentIndex < currentText.length) { + setDisplayText((prev) => prev + currentText[currentIndex]) + setCurrentIndex((prev) => prev + 1) + } else if (loop) { + setTimeout(() => setIsDeleting(true), delay) + } + } else { + if (displayText.length > 0) { + setDisplayText((prev) => prev.slice(0, -1)) + } else { + setIsDeleting(false) + setCurrentIndex(0) + setTextArrayIndex((prev) => (prev + 1) % textArray.length) + } + } + }, + isDeleting ? deleteSpeed : speed, + ) + + return () => clearTimeout(timeout) + }, [currentIndex, isDeleting, currentText, loop, speed, deleteSpeed, delay, displayText, text]) + + return ( + + {displayText} + {cursor} + + ) +} diff --git a/frontend/src/lib/utils.ts b/frontend/src/lib/utils.ts new file mode 100644 index 0000000..fed2fe9 --- /dev/null +++ b/frontend/src/lib/utils.ts @@ -0,0 +1,6 @@ +import { clsx, type ClassValue } from 'clsx' +import { twMerge } from 'tailwind-merge' + +export function cn(...inputs: ClassValue[]) { + return twMerge(clsx(inputs)) +} diff --git a/frontend/src/pages/ConfirmSignupPage.tsx b/frontend/src/pages/ConfirmSignupPage.tsx index 1e93a3a..bc47ab6 100644 --- a/frontend/src/pages/ConfirmSignupPage.tsx +++ b/frontend/src/pages/ConfirmSignupPage.tsx @@ -1,8 +1,9 @@ import { useState, type FormEvent } from 'react' import { Link, useNavigate, useSearchParams } from 'react-router-dom' -import PublicLayout from '../components/layout/PublicLayout' -import Field from '../components/ui/Field' -import { inputClass, primaryButtonClass } from '../components/ui/inputStyles' +import { Ticket } from 'lucide-react' +import { Button } from '../components/ui/button' +import { Input } from '../components/ui/input' +import { Label } from '../components/ui/label' import { useAuth } from '../context/AuthContext' import { getErrorMessage } from '../lib/api/client' @@ -30,50 +31,56 @@ export default function ConfirmSignupPage() { } return ( - -
-
+
+ + + Muster + + +
+

Verify your email

-

+

Enter the code we sent to {email || 'your email'} to activate your account.

+
-
- - setEmail(e.target.value)} - className={inputClass('dark')} - placeholder="you@example.com" - /> - - - setCode(e.target.value)} - className={inputClass('dark')} - placeholder="123456" - /> - - -
+
+
+ + setEmail(e.target.value)} + placeholder="you@example.com" + /> +
+
+ + setCode(e.target.value)} + placeholder="123456" + /> +
+ {error &&

{error}

} + +
-

- Wrong email?{' '} - - Start over - -

-
+

+ Wrong email?{' '} + + Start over + +

- +
) } diff --git a/frontend/src/pages/ContactPage.tsx b/frontend/src/pages/ContactPage.tsx new file mode 100644 index 0000000..c5cd5e0 --- /dev/null +++ b/frontend/src/pages/ContactPage.tsx @@ -0,0 +1,10 @@ +import PublicLayout from '../components/layout/PublicLayout' +import ReachUs from '../components/home/ReachUs' + +export default function ContactPage() { + return ( + + + + ) +} diff --git a/frontend/src/pages/HomePage.tsx b/frontend/src/pages/HomePage.tsx index 47259b5..2cefd75 100644 --- a/frontend/src/pages/HomePage.tsx +++ b/frontend/src/pages/HomePage.tsx @@ -1,19 +1,5 @@ import Hero from '../components/Hero' -import HowItWorks from '../components/home/HowItWorks' -import OrganizerPitch from '../components/home/OrganizerPitch' -import UpcomingEvents from '../components/home/UpcomingEvents' -import ReachUs from '../components/home/ReachUs' -import SiteFooter from '../components/layout/SiteFooter' export default function HomePage() { - return ( -
- - - - - - -
- ) + return } diff --git a/frontend/src/pages/HowItWorksPage.tsx b/frontend/src/pages/HowItWorksPage.tsx new file mode 100644 index 0000000..c8f4986 --- /dev/null +++ b/frontend/src/pages/HowItWorksPage.tsx @@ -0,0 +1,12 @@ +import PublicLayout from '../components/layout/PublicLayout' +import HowItWorks from '../components/home/HowItWorks' +import FAQs from '../components/ui/faq' + +export default function HowItWorksPage() { + return ( + + + + + ) +} diff --git a/frontend/src/pages/LoginPage.tsx b/frontend/src/pages/LoginPage.tsx index bb42816..ea8ad8c 100644 --- a/frontend/src/pages/LoginPage.tsx +++ b/frontend/src/pages/LoginPage.tsx @@ -1,8 +1,10 @@ import { useState, type FormEvent } from 'react' import { Link, useNavigate, useSearchParams } from 'react-router-dom' -import PublicLayout from '../components/layout/PublicLayout' -import Field from '../components/ui/Field' -import { inputClass, primaryButtonClass } from '../components/ui/inputStyles' +import AuthSplitLayout from '../components/layout/AuthSplitLayout' +import { Button } from '../components/ui/button' +import { Input } from '../components/ui/input' +import { Label } from '../components/ui/label' +import { PasswordInput } from '../components/ui/password-input' import { useAuth } from '../context/AuthContext' import { getErrorMessage } from '../lib/api/client' import { Role } from '../lib/api/types' @@ -40,50 +42,56 @@ export default function LoginPage() { } return ( - -
-
-

Log in

-

Welcome back to Muster.

- -
- - setEmail(e.target.value)} - className={inputClass('dark')} - placeholder="you@example.com" - /> - - - setPassword(e.target.value)} - className={inputClass('dark')} - placeholder="••••••••" - /> - - -
+ +
+
+

Log in to Muster

+

Welcome back — enter your details to continue.

+
-

- New to Muster?{' '} - - Create an account - -

+
+
+ + setEmail(e.target.value)} + /> +
+ setPassword(e.target.value)} + /> + {error &&

{error}

} +
-
- + + +

+ New to Muster?{' '} + + Create an account + +

+ ) } diff --git a/frontend/src/pages/OrganizersPage.tsx b/frontend/src/pages/OrganizersPage.tsx new file mode 100644 index 0000000..7425315 --- /dev/null +++ b/frontend/src/pages/OrganizersPage.tsx @@ -0,0 +1,10 @@ +import PublicLayout from '../components/layout/PublicLayout' +import OrganizerPitch from '../components/home/OrganizerPitch' + +export default function OrganizersPage() { + return ( + + + + ) +} diff --git a/frontend/src/pages/SignupPage.tsx b/frontend/src/pages/SignupPage.tsx index 93731b3..e654ca9 100644 --- a/frontend/src/pages/SignupPage.tsx +++ b/frontend/src/pages/SignupPage.tsx @@ -1,10 +1,13 @@ import { useState, type FormEvent } from 'react' import { Link, useNavigate, useSearchParams } from 'react-router-dom' -import PublicLayout from '../components/layout/PublicLayout' -import Field from '../components/ui/Field' -import { inputClass, primaryButtonClass } from '../components/ui/inputStyles' +import AuthSplitLayout from '../components/layout/AuthSplitLayout' +import { Button } from '../components/ui/button' +import { Input } from '../components/ui/input' +import { Label } from '../components/ui/label' +import { PasswordInput } from '../components/ui/password-input' import { useAuth } from '../context/AuthContext' import { getErrorMessage } from '../lib/api/client' +import { cn } from '../lib/utils' export default function SignupPage() { const { signup } = useAuth() @@ -34,88 +37,97 @@ export default function SignupPage() { } return ( - -
-
+ +
+

Create an account

-

Register for events, or list your own.

+

Register for events, or list your own.

+
-
- - +
- - - setName(e.target.value)} - className={inputClass('dark')} - placeholder="Ama Serwaa" - /> - - - setEmail(e.target.value)} - className={inputClass('dark')} - placeholder="you@example.com" - /> - - + + setName(e.target.value)} + /> +
+
+ + setEmail(e.target.value)} + /> +
+
+ - setPassword(e.target.value)} - className={inputClass('dark')} - placeholder="••••••••" - /> - - - - -

- Already have an account?{' '} - - Log in - -

+ placeholder="••••••••" + required + minLength={8} + autoComplete="new-password" + value={password} + onChange={(e) => setPassword(e.target.value)} + /> +

At least 8 characters, with an uppercase letter and a number.

+
+ {error &&

{error}

} +
-
-
+ + +

+ Already have an account?{' '} + + Log in + +

+ ) } diff --git a/frontend/tailwind.config.js b/frontend/tailwind.config.js index 417b227..d51930c 100644 --- a/frontend/tailwind.config.js +++ b/frontend/tailwind.config.js @@ -31,6 +31,20 @@ export default { cancelled: '#8A8A86', }, }, + keyframes: { + 'accordion-down': { + from: { height: '0' }, + to: { height: 'var(--radix-accordion-content-height)' }, + }, + 'accordion-up': { + from: { height: 'var(--radix-accordion-content-height)' }, + to: { height: '0' }, + }, + }, + animation: { + 'accordion-down': 'accordion-down 0.2s ease-out', + 'accordion-up': 'accordion-up 0.2s ease-out', + }, }, }, plugins: [], diff --git a/frontend/tsconfig.app.json b/frontend/tsconfig.app.json index 6830b6f..759bf0c 100644 --- a/frontend/tsconfig.app.json +++ b/frontend/tsconfig.app.json @@ -7,6 +7,9 @@ "types": ["vite/client"], "allowArbitraryExtensions": true, "skipLibCheck": true, + "paths": { + "@/*": ["./src/*"] + }, /* Bundler mode */ "moduleResolution": "bundler", diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 8b0f57b..9af6431 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -1,7 +1,13 @@ +import { fileURLToPath, URL } from 'node:url' import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' // https://vite.dev/config/ export default defineConfig({ plugins: [react()], + resolve: { + alias: { + '@': fileURLToPath(new URL('./src', import.meta.url)), + }, + }, }) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4f6e5e1..7011b2a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -103,6 +103,24 @@ importers: frontend: dependencies: + '@radix-ui/react-accordion': + specifier: ^1.2.20 + version: 1.2.20(@types/react-dom@19.2.4(@types/react@19.2.18))(@types/react@19.2.18)(react-dom@19.2.8(react@19.2.8))(react@19.2.8) + '@radix-ui/react-icons': + specifier: ^1.3.2 + version: 1.3.2(react@19.2.8) + '@radix-ui/react-label': + specifier: ^2.1.15 + version: 2.1.15(@types/react-dom@19.2.4(@types/react@19.2.18))(@types/react@19.2.18)(react-dom@19.2.8(react@19.2.8))(react@19.2.8) + '@radix-ui/react-slot': + specifier: ^1.3.3 + version: 1.3.3(@types/react@19.2.18)(react@19.2.8) + class-variance-authority: + specifier: ^0.7.1 + version: 0.7.1 + clsx: + specifier: ^2.1.1 + version: 2.1.1 lucide-react: specifier: ^1.28.0 version: 1.28.0(react@19.2.8) @@ -115,6 +133,9 @@ importers: react-router-dom: specifier: ^7.18.2 version: 7.18.2(react-dom@19.2.8(react@19.2.8))(react@19.2.8) + tailwind-merge: + specifier: ^3.6.0 + version: 3.6.0 devDependencies: '@types/node': specifier: ^24.13.3 @@ -921,6 +942,164 @@ packages: cpu: [x64] os: [win32] + '@radix-ui/primitive@1.1.7': + resolution: {integrity: sha512-rqWnm76nYT8HoNNqEjpgJ7Pw/DrBj5iBTrmEPo6HTX5+VJyBNOqTdv4g89G63HuR5g0AaENoAcH7Is5fF2kZ8Q==} + + '@radix-ui/react-accordion@1.2.20': + resolution: {integrity: sha512-jDhG9FvAEnlhnjrsINbNXcUa4G+L1KqSkJSunkbKEzFRcAb52jvM0PjPxPRvhe1HNc5F5yc0yzzWeeqlH4yBIg==} + peerDependencies: + '@types/react': '*' + '@types/react-dom': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + '@types/react-dom': + optional: true + + '@radix-ui/react-collapsible@1.1.20': + resolution: {integrity: sha512-mcGesGplBnzN2sbvJETzpCNfSMyPnb29q1GRLU+Ib7bJrpIG2ywmRoh2V5VbA2uNvKikKUlVbAPks7JDjz4A8Q==} + peerDependencies: + '@types/react': '*' + '@types/react-dom': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + '@types/react-dom': + optional: true + + '@radix-ui/react-collection@1.1.15': + resolution: {integrity: sha512-9W+B9NPF0NaaPh/1NJd3+KqsnlLqU9H7T2rvww+fp+T/evVXdNAyYcnfRQZFOjkR1ajQp3yORlqnI8soawLvNA==} + peerDependencies: + '@types/react': '*' + '@types/react-dom': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + '@types/react-dom': + optional: true + + '@radix-ui/react-compose-refs@1.1.5': + resolution: {integrity: sha512-+48PbAAbq3didjJxa+OaWY2ZwgAKsNiRGyeHKszblZMQ+kcpd9pAaT11cMkGEie0vsOi3QdeTE6d5Fe3Gn61kA==} + peerDependencies: + '@types/react': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + + '@radix-ui/react-context@1.2.2': + resolution: {integrity: sha512-RHCUGwKHDr0hDGg4X7ma4JG4/+12qxw8rkh5QKdDldlCvtja6nUx1Ef/8HVrJze81lEsgLQlqjzjGNHantgnQA==} + peerDependencies: + '@types/react': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + + '@radix-ui/react-direction@1.1.4': + resolution: {integrity: sha512-5pzg4FGQNpExhnhT2zlrP1wZFaYCd1K0nYWoFAdcYoYK868IEigqMX3B3f8yIoRlAhAeDWciLI6ZdCKHF9P4Vg==} + peerDependencies: + '@types/react': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + + '@radix-ui/react-icons@1.3.2': + resolution: {integrity: sha512-fyQIhGDhzfc9pK2kH6Pl9c4BDJGfMkPqkyIgYDthyNYoNg3wVhoJMMh19WS4Up/1KMPFVpNsT2q3WmXn2N1m6g==} + peerDependencies: + react: ^16.x || ^17.x || ^18.x || ^19.0.0 || ^19.0.0-rc + + '@radix-ui/react-id@1.1.4': + resolution: {integrity: sha512-TMQp2llA+RYn7JcjnrMnz7wN4pcVttPZnRZo52PLQsoLVKzNlVwUeHmfePgTgRluXFvlD3GD5g5MOVVTJCO0qA==} + peerDependencies: + '@types/react': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + + '@radix-ui/react-label@2.1.15': + resolution: {integrity: sha512-o/rdYEwZTTo5tjknnPeyQFU45kUC4i/XyeDPP+HGyi6XqpOP6Zf5Ya5vh/Yfe9Id5JiuWnnAx2XqIeD3UYZt0g==} + peerDependencies: + '@types/react': '*' + '@types/react-dom': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + '@types/react-dom': + optional: true + + '@radix-ui/react-presence@1.1.10': + resolution: {integrity: sha512-3wyzCQ6+ubRA+D4uv9m95JYLXxmOHp05qjrkjeA7uKHHtjpPggQzc6DAb0URl7j67oR0K2foO4ip27TiX037Bw==} + peerDependencies: + '@types/react': '*' + '@types/react-dom': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + '@types/react-dom': + optional: true + + '@radix-ui/react-primitive@2.1.10': + resolution: {integrity: sha512-MucOnzh6hR5mid6VpkbglRAMYMjKLqRnGBbjXkzjK52fuQDd1qbkx78a5P40mkcnVXJdEVxm26E9OPAiUq7nBg==} + peerDependencies: + '@types/react': '*' + '@types/react-dom': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + '@types/react-dom': + optional: true + + '@radix-ui/react-slot@1.3.3': + resolution: {integrity: sha512-qx7oqnYbxnK9kYI9m317qmFmEgo6ywqWvbTogdj7cL9p3/yx4M48p7Rnw5z3H890cL/ow/EeWJsuTykeZVXP5Q==} + peerDependencies: + '@types/react': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + + '@radix-ui/react-use-controllable-state@1.2.6': + resolution: {integrity: sha512-uEQJGT97ZA/TgP/Hydw47lHu+/vQj6z/0jA+WeTbK1o9Rx45GImjpD0tc3W5ad3D6XTSR6e1yEO0FvGq6WQfVQ==} + peerDependencies: + '@types/react': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + + '@radix-ui/react-use-effect-event@0.0.5': + resolution: {integrity: sha512-7cshFL8HGS/7HEiHH+9kL9HBwp2sa9yX18Knwek6KYWmXwM7pegMgta2AXMQKI+rq3JnfSj9x8wYqFMTdG1Jgg==} + peerDependencies: + '@types/react': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + + '@radix-ui/react-use-layout-effect@1.1.4': + resolution: {integrity: sha512-K20DkRkUwDnxEYMBPcg3Y6voLkEy5p5QQmszZgLngKKiC7dzBR/aEuK3w1qlx2JWDUNH6FluahYdgR3BP+QbYw==} + peerDependencies: + '@types/react': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + '@rolldown/binding-android-arm64@1.2.1': resolution: {integrity: sha512-02hOeOSryYxVrOIphmLAsqnCJWxwlzFk+pEt/N/i6OgT3lShHO7xGCU5cpgchRDHboAEbSjzgGh+O/u1GswQmA==} engines: {node: ^20.19.0 || >=22.12.0} @@ -1417,6 +1596,9 @@ packages: cjs-module-lexer@1.4.3: resolution: {integrity: sha512-9z8TZaGM1pfswYeXrUpzPrkx8UnWYdhJclsiYMm6x/w5+nN+8Tf/LnAgfLGQCm59qAOxU8WwHEq2vNwF6i4j+Q==} + class-variance-authority@0.7.1: + resolution: {integrity: sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg==} + cliui@8.0.1: resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} engines: {node: '>=12'} @@ -1425,6 +1607,10 @@ packages: resolution: {integrity: sha512-J4Xj5f5wq/4jAvcdgoGsL3G103BtWpZrMo8NEinRltN+xpTZdI+M38pyQqhuFU/P792xkMFvnKSf+Lm81U1bxw==} engines: {node: ^4.7 || >=6.9 || >=7.3 || >=8.2.1} + clsx@2.1.1: + resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==} + engines: {node: '>=6'} + co@4.6.0: resolution: {integrity: sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==} engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'} @@ -2569,6 +2755,9 @@ packages: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} + tailwind-merge@3.6.0: + resolution: {integrity: sha512-uxL7qAVQriqRQPAyK3pj66VqskWqoZ37PW94jwOTwNfq/z9oyu1V+eqrZqtR2+fCiXdYOZe/Modt8GtvqNzu+w==} + tailwindcss@3.4.19: resolution: {integrity: sha512-3ofp+LL8E+pK/JuPLPggVAIaEuhvIz4qNcf3nA1Xn2o/7fb7s/TYpHhwGDv1ZU3PkBluUVaF8PyCHcm48cKLWQ==} engines: {node: '>=14.0.0'} @@ -3653,6 +3842,138 @@ snapshots: '@oxlint/binding-win32-x64-msvc@1.76.0': optional: true + '@radix-ui/primitive@1.1.7': {} + + '@radix-ui/react-accordion@1.2.20(@types/react-dom@19.2.4(@types/react@19.2.18))(@types/react@19.2.18)(react-dom@19.2.8(react@19.2.8))(react@19.2.8)': + dependencies: + '@radix-ui/primitive': 1.1.7 + '@radix-ui/react-collapsible': 1.1.20(@types/react-dom@19.2.4(@types/react@19.2.18))(@types/react@19.2.18)(react-dom@19.2.8(react@19.2.8))(react@19.2.8) + '@radix-ui/react-collection': 1.1.15(@types/react-dom@19.2.4(@types/react@19.2.18))(@types/react@19.2.18)(react-dom@19.2.8(react@19.2.8))(react@19.2.8) + '@radix-ui/react-compose-refs': 1.1.5(@types/react@19.2.18)(react@19.2.8) + '@radix-ui/react-context': 1.2.2(@types/react@19.2.18)(react@19.2.8) + '@radix-ui/react-direction': 1.1.4(@types/react@19.2.18)(react@19.2.8) + '@radix-ui/react-id': 1.1.4(@types/react@19.2.18)(react@19.2.8) + '@radix-ui/react-primitive': 2.1.10(@types/react-dom@19.2.4(@types/react@19.2.18))(@types/react@19.2.18)(react-dom@19.2.8(react@19.2.8))(react@19.2.8) + '@radix-ui/react-use-controllable-state': 1.2.6(@types/react@19.2.18)(react@19.2.8) + react: 19.2.8 + react-dom: 19.2.8(react@19.2.8) + optionalDependencies: + '@types/react': 19.2.18 + '@types/react-dom': 19.2.4(@types/react@19.2.18) + + '@radix-ui/react-collapsible@1.1.20(@types/react-dom@19.2.4(@types/react@19.2.18))(@types/react@19.2.18)(react-dom@19.2.8(react@19.2.8))(react@19.2.8)': + dependencies: + '@radix-ui/primitive': 1.1.7 + '@radix-ui/react-compose-refs': 1.1.5(@types/react@19.2.18)(react@19.2.8) + '@radix-ui/react-context': 1.2.2(@types/react@19.2.18)(react@19.2.8) + '@radix-ui/react-id': 1.1.4(@types/react@19.2.18)(react@19.2.8) + '@radix-ui/react-presence': 1.1.10(@types/react-dom@19.2.4(@types/react@19.2.18))(@types/react@19.2.18)(react-dom@19.2.8(react@19.2.8))(react@19.2.8) + '@radix-ui/react-primitive': 2.1.10(@types/react-dom@19.2.4(@types/react@19.2.18))(@types/react@19.2.18)(react-dom@19.2.8(react@19.2.8))(react@19.2.8) + '@radix-ui/react-use-controllable-state': 1.2.6(@types/react@19.2.18)(react@19.2.8) + '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.2.18)(react@19.2.8) + react: 19.2.8 + react-dom: 19.2.8(react@19.2.8) + optionalDependencies: + '@types/react': 19.2.18 + '@types/react-dom': 19.2.4(@types/react@19.2.18) + + '@radix-ui/react-collection@1.1.15(@types/react-dom@19.2.4(@types/react@19.2.18))(@types/react@19.2.18)(react-dom@19.2.8(react@19.2.8))(react@19.2.8)': + dependencies: + '@radix-ui/react-compose-refs': 1.1.5(@types/react@19.2.18)(react@19.2.8) + '@radix-ui/react-context': 1.2.2(@types/react@19.2.18)(react@19.2.8) + '@radix-ui/react-primitive': 2.1.10(@types/react-dom@19.2.4(@types/react@19.2.18))(@types/react@19.2.18)(react-dom@19.2.8(react@19.2.8))(react@19.2.8) + '@radix-ui/react-slot': 1.3.3(@types/react@19.2.18)(react@19.2.8) + react: 19.2.8 + react-dom: 19.2.8(react@19.2.8) + optionalDependencies: + '@types/react': 19.2.18 + '@types/react-dom': 19.2.4(@types/react@19.2.18) + + '@radix-ui/react-compose-refs@1.1.5(@types/react@19.2.18)(react@19.2.8)': + dependencies: + react: 19.2.8 + optionalDependencies: + '@types/react': 19.2.18 + + '@radix-ui/react-context@1.2.2(@types/react@19.2.18)(react@19.2.8)': + dependencies: + react: 19.2.8 + optionalDependencies: + '@types/react': 19.2.18 + + '@radix-ui/react-direction@1.1.4(@types/react@19.2.18)(react@19.2.8)': + dependencies: + react: 19.2.8 + optionalDependencies: + '@types/react': 19.2.18 + + '@radix-ui/react-icons@1.3.2(react@19.2.8)': + dependencies: + react: 19.2.8 + + '@radix-ui/react-id@1.1.4(@types/react@19.2.18)(react@19.2.8)': + dependencies: + '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.2.18)(react@19.2.8) + react: 19.2.8 + optionalDependencies: + '@types/react': 19.2.18 + + '@radix-ui/react-label@2.1.15(@types/react-dom@19.2.4(@types/react@19.2.18))(@types/react@19.2.18)(react-dom@19.2.8(react@19.2.8))(react@19.2.8)': + dependencies: + '@radix-ui/react-primitive': 2.1.10(@types/react-dom@19.2.4(@types/react@19.2.18))(@types/react@19.2.18)(react-dom@19.2.8(react@19.2.8))(react@19.2.8) + react: 19.2.8 + react-dom: 19.2.8(react@19.2.8) + optionalDependencies: + '@types/react': 19.2.18 + '@types/react-dom': 19.2.4(@types/react@19.2.18) + + '@radix-ui/react-presence@1.1.10(@types/react-dom@19.2.4(@types/react@19.2.18))(@types/react@19.2.18)(react-dom@19.2.8(react@19.2.8))(react@19.2.8)': + dependencies: + '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.2.18)(react@19.2.8) + react: 19.2.8 + react-dom: 19.2.8(react@19.2.8) + optionalDependencies: + '@types/react': 19.2.18 + '@types/react-dom': 19.2.4(@types/react@19.2.18) + + '@radix-ui/react-primitive@2.1.10(@types/react-dom@19.2.4(@types/react@19.2.18))(@types/react@19.2.18)(react-dom@19.2.8(react@19.2.8))(react@19.2.8)': + dependencies: + '@radix-ui/react-slot': 1.3.3(@types/react@19.2.18)(react@19.2.8) + react: 19.2.8 + react-dom: 19.2.8(react@19.2.8) + optionalDependencies: + '@types/react': 19.2.18 + '@types/react-dom': 19.2.4(@types/react@19.2.18) + + '@radix-ui/react-slot@1.3.3(@types/react@19.2.18)(react@19.2.8)': + dependencies: + '@radix-ui/react-compose-refs': 1.1.5(@types/react@19.2.18)(react@19.2.8) + react: 19.2.8 + optionalDependencies: + '@types/react': 19.2.18 + + '@radix-ui/react-use-controllable-state@1.2.6(@types/react@19.2.18)(react@19.2.8)': + dependencies: + '@radix-ui/primitive': 1.1.7 + '@radix-ui/react-use-effect-event': 0.0.5(@types/react@19.2.18)(react@19.2.8) + '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.2.18)(react@19.2.8) + react: 19.2.8 + optionalDependencies: + '@types/react': 19.2.18 + + '@radix-ui/react-use-effect-event@0.0.5(@types/react@19.2.18)(react@19.2.8)': + dependencies: + '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.2.18)(react@19.2.8) + react: 19.2.8 + optionalDependencies: + '@types/react': 19.2.18 + + '@radix-ui/react-use-layout-effect@1.1.4(@types/react@19.2.18)(react@19.2.8)': + dependencies: + react: 19.2.8 + optionalDependencies: + '@types/react': 19.2.18 + '@rolldown/binding-android-arm64@1.2.1': optional: true @@ -4159,6 +4480,10 @@ snapshots: cjs-module-lexer@1.4.3: {} + class-variance-authority@0.7.1: + dependencies: + clsx: 2.1.1 + cliui@8.0.1: dependencies: string-width: 4.2.3 @@ -4171,6 +4496,8 @@ snapshots: emitter-listener: 1.1.2 semver: 5.7.2 + clsx@2.1.1: {} + co@4.6.0: {} collect-v8-coverage@1.0.3: {} @@ -5431,6 +5758,8 @@ snapshots: supports-preserve-symlinks-flag@1.0.0: {} + tailwind-merge@3.6.0: {} + tailwindcss@3.4.19: dependencies: '@alloc/quick-lru': 5.2.0