Signed out

The sign-in card after signing out: the accounts still signed in on this device to continue as, and signing in with another.

Open full screen

Inset · No navigation. <AppShell direction="inset">, the default: the navigation on the grey app frame, the page a raised white card inside it, scrolling within.

npx wideset add block-signed-out

Import the default export from @/blocks/wideset/signed-out. The files below are relative to your project's source directory.

Installed with this block
  • action-tile
  • avatar
  • block-styles
  • button
  • utils
blocks/wideset/signed-out/index.tsx
'use client';

import '@/styles/wideset-blocks.css';

import { AuthCard } from './auth-card';
import { ROUTES } from './data';
import { SignedOutNotice } from './signed-out-notice';

/**
 * Signed out, Inset direction with no navigation: the sign-in card after signing out, with the
 * accounts still signed in on this device and the way to sign in again.
 */
export default function SignedOut() {
  return (
    <main className="ws-block-utility bg-ws-static-background p-ws-12 flex min-h-dvh items-center justify-center">
      <AuthCard
        other={{ href: ROUTES.signUp, label: 'Create account' }}
        className="w-full max-w-[38.75rem]"
      >
        <SignedOutNotice />
      </AuthCard>
    </main>
  );
}