MCPcopy Create free account
hub / github.com/fontsource/fontsource / AppShell

Function AppShell

website/app/components/layout/AppShell.tsx:10–25  ·  view source on GitHub ↗
({ children }: AppShellProps)

Source from the content-addressed store, hash-verified

8}
9
10export const AppShell = ({ children }: AppShellProps) => {
11 const isNotHome = useLocation().pathname !== '/';
12
13 return (
14 <>
15 <a className={classes.skipLink} href="#main-content">
16 Skip to content
17 </a>
18 <Header />
19 <main id="main-content" tabIndex={-1}>
20 {children}
21 </main>
22 {isNotHome && <Footer style={{ marginTop: 'auto' }} />}
23 </>
24 );
25};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected