added marketing page and moved events&general landing page

This commit is contained in:
Codex Agent
2025-09-26 15:40:37 +02:00
parent 6215ebbaa0
commit 492b9b9fd1
12 changed files with 609 additions and 13 deletions

View File

@@ -50,7 +50,7 @@ function HomeLayout() {
}
export const router = createBrowserRouter([
{ path: '/', element: <SimpleLayout title="Fotospiel"><LandingPage /></SimpleLayout> },
{ path: '/event', element: <SimpleLayout title="Event"><LandingPage /></SimpleLayout> },
{
path: '/setup/:slug',
element: <SetupLayout />,

View File

@@ -1,5 +1,5 @@
import AppLogoIcon from '@/components/app-logo-icon';
import { home } from '@/routes';
import { marketing } from '@/routes';
import { Link } from '@inertiajs/react';
import { type PropsWithChildren } from 'react';
@@ -15,7 +15,7 @@ export default function AuthSimpleLayout({ children, title, description }: Props
<div className="w-full max-w-sm">
<div className="flex flex-col gap-8">
<div className="flex flex-col items-center gap-4">
<Link href={home()} className="flex flex-col items-center gap-2 font-medium">
<Link href={marketing()} className="flex flex-col items-center gap-2 font-medium">
<div className="mb-1 flex h-9 w-9 items-center justify-center rounded-md">
<AppLogoIcon className="size-9 fill-current text-[var(--foreground)] dark:text-white" />
</div>