import type { Meta, StoryObj } from '@storybook/react' import { CenteredPage } from './CenteredPage' import { TopBar } from '@/components/organisms/TopBar/TopBar' import { Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter } from '@/components/molecules/Card/Card' import { Input } from '@/components/atoms/Input/Input' import { Button } from '@/components/atoms/Button/Button' import { Checkbox } from '@/components/atoms/Checkbox/Checkbox' import { Alert } from '@/components/molecules/Alert/Alert' import { NswLogo } from '@/components/templates/_story-helpers' const meta: Meta = { title: 'Templates/CenteredPage', component: CenteredPage, tags: ['autodocs', 'template'], parameters: { layout: 'fullscreen', docs: { description: { component: 'Full-page layout with no sidebar and horizontally/vertically centered content. Use for login, sign-up, error pages, onboarding, or any focused single-task flow.', }, }, }, } export default meta type Story = StoryObj export const Login: Story = { name: 'Login page', render: () => ( } />} > Sign in Enter your credentials to access your account.

Don't have an account? Create one

), } export const ErrorPage: Story = { name: 'Error page', render: () => ( } />} maxWidth="sm" >

404

Page not found

The page you're looking for doesn't exist or has been moved.

), } export const Onboarding: Story = { name: 'Onboarding step', render: () => ( } />} maxWidth="lg" > Welcome to the platform Let's set up your workspace. This will only take a minute. Tell us about your organisation so we can customise your experience.
), }