()
| 1 | import { Link } from '@tanstack/solid-router' |
| 2 | |
| 3 | export default function Header() { |
| 4 | return ( |
| 5 | <header class="site-header px-4"> |
| 6 | <nav class="page-wrap nav-shell"> |
| 7 | <h2 class="m-0 flex-shrink-0 text-base font-semibold tracking-tight"> |
| 8 | <Link to="/" class="brand-pill"> |
| 9 | <span class="brand-dot" /> |
| 10 | TanStack Start |
| 11 | </Link> |
| 12 | </h2> |
| 13 | |
| 14 | <div class="ml-auto flex items-center gap-2"></div> |
| 15 | |
| 16 | <div class="order-3 flex w-full flex-wrap items-center gap-x-4 gap-y-1 pb-1 text-sm font-semibold sm:order-2 sm:w-auto sm:flex-nowrap sm:pb-0"> |
| 17 | <Link |
| 18 | to="/" |
| 19 | class="nav-link" |
| 20 | activeProps={{ class: 'nav-link is-active' }} |
| 21 | > |
| 22 | Home |
| 23 | </Link> |
| 24 | <Link |
| 25 | to="/about" |
| 26 | class="nav-link" |
| 27 | activeProps={{ class: 'nav-link is-active' }} |
| 28 | > |
| 29 | About |
| 30 | </Link> |
| 31 | <Link |
| 32 | to="/blog" |
| 33 | class="nav-link" |
| 34 | activeProps={{ class: 'nav-link is-active' }} |
| 35 | > |
| 36 | Blog |
| 37 | </Link> |
| 38 | <a |
| 39 | href="https://tanstack.com/start/latest/docs/framework/solid/overview" |
| 40 | target="_blank" |
| 41 | rel="noreferrer" |
| 42 | class="nav-link" |
| 43 | > |
| 44 | Docs |
| 45 | </a> |
| 46 | </div> |
| 47 | </nav> |
| 48 | </header> |
| 49 | ) |
| 50 | } |
nothing calls this directly
no outgoing calls
no test coverage detected