website refactor

This commit is contained in:
2026-01-19 18:01:30 +01:00
parent 6154d54435
commit 61b5cf3b64
120 changed files with 2226 additions and 2021 deletions

View File

@@ -1,7 +1,6 @@
'use client';
import { Card } from '@/ui/Card';
import { Box } from '@/ui/Box';
import { SectionHeader } from '@/ui/SectionHeader';
import React from 'react';
@@ -24,9 +23,7 @@ export function AuthCard({ children, title, description }: AuthCardProps) {
description={description}
variant="minimal"
/>
<Box>
{children}
</Box>
{children}
</Card>
);
}

View File

@@ -1,6 +1,6 @@
'use client';
import { Stack } from '@/ui/Stack';
import { Group } from '@/ui/Group';
import React from 'react';
interface AuthFooterLinksProps {
@@ -14,10 +14,8 @@ interface AuthFooterLinksProps {
*/
export function AuthFooterLinks({ children }: AuthFooterLinksProps) {
return (
<Stack as="footer" mt={8} pt={6} borderTop borderStyle="solid" borderColor="outline-steel">
<Stack gap={3} align="center">
{children}
</Stack>
</Stack>
<Group direction="column" gap={3} align="center" fullWidth>
{children}
</Group>
);
}

View File

@@ -1,6 +1,7 @@
'use client';
import { Stack } from '@/ui/Stack';
import { Form } from '@/ui/Form';
import { Group } from '@/ui/Group';
import React from 'react';
interface AuthFormProps {
@@ -15,8 +16,10 @@ interface AuthFormProps {
*/
export function AuthForm({ children, onSubmit }: AuthFormProps) {
return (
<Stack as="form" {...({ onSubmit, noValidate: true } as any)} gap={6}>
{children}
</Stack>
<Form onSubmit={onSubmit}>
<Group direction="column" gap={6}>
{children}
</Group>
</Form>
);
}

View File

@@ -8,7 +8,7 @@ import {
Trophy,
Car,
} from 'lucide-react';
import { WorkflowMockup, WorkflowStep } from '@/ui/WorkflowMockup';
import { WorkflowMockup, WorkflowStep } from '@/components/mockups/WorkflowMockup';
const WORKFLOW_STEPS: WorkflowStep[] = [
{