layout.tsx
This file
Path
apps/web/src/features/shared/layout.tsx
20 lines · 477 bytes · TypeScript
Last changed by
Merge build/comments-web-features into mainoscabrielbefore adoption74bfc72
History of this fileTake it
123456789101112131415161718192021import type { ReactNode } from "react";
import { Workspace } from "./shell/workspace.tsx";
export const PageShell = ({ children, title,}: { readonly children: ReactNode; readonly title: string;}) => <Workspace title={title}>{children}</Workspace>;
export const SkipLink = () => ( <a className="bg-background text-ui sr-only z-50 px-3 py-2 font-medium focus:not-sr-only focus:fixed focus:top-2 focus:left-2" href="#main" > Skip to content </a>);