added marketing page and moved events&general landing page
This commit is contained in:
@@ -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 />,
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user