({ children })
| 8 | * (home, documentation, ...) renders the Header the same way. |
| 9 | */ |
| 10 | const PageShell: React.FC<{ children: React.ReactNode }> = ({ children }) => ( |
| 11 | <div className="min-h-screen font-sans text-[#24212d] [--font-heading:var(--font-body)]"> |
| 12 | <div |
| 13 | className="w-full bg-white |
| 14 | [&_[id]]:scroll-mt-[110px] |
| 15 | [&_:is(a,button,textarea)]:focus-visible:outline-2 |
| 16 | [&_:is(a,button,textarea)]:focus-visible:outline-offset-4 |
| 17 | [&_:is(a,button,textarea)]:focus-visible:outline-[color:var(--color-primary-dark)] |
| 18 | motion-reduce:[&_*]:transition-none |
| 19 | [&>header>div]:h-[84px] [&>header>div]:px-10 |
| 20 | [&>header_a:hover]:text-[color:var(--color-primary-dark)] |
| 21 | [&>header_button]:rounded-[9px] [&>header_button]:bg-[#24212d] [&>header_button]:text-white |
| 22 | [&>header_button:hover]:bg-[color:var(--color-primary-dark)] [&>header_button:hover]:text-white |
| 23 | max-md:[&>header>div]:h-[70px] max-md:[&>header>div]:px-[18px]" |
| 24 | > |
| 25 | {children} |
| 26 | </div> |
| 27 | </div> |
| 28 | ); |
| 29 | |
| 30 | export default PageShell; |
nothing calls this directly
no outgoing calls
no test coverage detected