|
32 | 32 | import IconExclamationTriangle from '~icons/heroicons/exclamation-triangle-16-solid';
|
33 | 33 | import IconMagnifyingGlass from '~icons/heroicons/magnifying-glass-16-solid';
|
34 | 34 | import IconUser from '~icons/heroicons/user';
|
| 35 | + import IconSquaresSolid from '~icons/heroicons/squares-2x2-16-solid'; |
| 36 | + import { Separator } from '$lib/components/ui/separator'; |
35 | 37 |
|
36 | 38 | type Props = {
|
37 | 39 | navItems: Entity[];
|
|
113 | 115 | </span>
|
114 | 116 | {/if}
|
115 | 117 | </Button>
|
116 |
| - <Button |
117 |
| - variant="ghost" |
118 |
| - class="mb-9 text-regular-medium" |
119 |
| - size="nav" |
120 |
| - href="https://docs.chronon.ai" |
121 |
| - target="_blank" |
122 |
| - rel="noopener noreferrer" |
123 |
| - icon="leading" |
124 |
| - > |
125 |
| - <IconDocumentText class="text-muted-icon-neutral" /> |
126 |
| - <span class="text-muted-foreground">Chronon docs</span> |
| 118 | + <Button variant="ghost" class="text-regular-medium" size="nav" href="/" icon="leading"> |
| 119 | + <IconSquaresSolid class="text-muted-icon-neutral" /> |
| 120 | + <span class="text-muted-foreground">Home</span> |
127 | 121 | </Button>
|
128 |
| - <span class="mb-[10px] px-2 text-xs-medium text-muted-foreground">Observability</span> |
| 122 | + <Separator class="my-6" /> |
| 123 | + <span class="mb-[10px] px-2 text-xs-medium text-muted-foreground">Datasets</span> |
129 | 124 | <ul class="space-y-1 flex-grow">
|
130 | 125 | {#each navItems as item}
|
131 | 126 | <li>
|
|
143 | 138 | </li>
|
144 | 139 | {/each}
|
145 | 140 | </ul>
|
146 |
| - <div class="flex items-center mt-auto"> |
| 141 | + <Separator class="my-6" /> |
| 142 | + <span class="mb-[10px] px-2 text-xs-medium text-muted-foreground">Resources</span> |
| 143 | + <Button |
| 144 | + variant="ghost" |
| 145 | + class="w-full text-regular-medium my-1" |
| 146 | + size="nav" |
| 147 | + href="https://docs.chronon.ai" |
| 148 | + target="_blank" |
| 149 | + rel="noopener noreferrer" |
| 150 | + icon="leading" |
| 151 | + > |
| 152 | + <IconDocumentText class="text-muted-icon-neutral" /> |
| 153 | + <span class="text-muted-foreground">Chronon docs</span> |
| 154 | + </Button> |
| 155 | + <Button |
| 156 | + variant="ghost" |
| 157 | + class="w-full text-regular-medium my-1" |
| 158 | + size="nav" |
| 159 | + |
| 160 | + icon="leading" |
| 161 | + > |
| 162 | + <IconDocumentText class="text-muted-icon-neutral" /> |
| 163 | + <span class="text-muted-foreground">Support</span> |
| 164 | + </Button> |
| 165 | + <Separator class="mt-6 mb-4" /> |
| 166 | + <div class="flex items-center"> |
147 | 167 | <DropdownMenu>
|
148 | 168 | <DropdownMenuTrigger asChild let:builder>
|
149 | 169 | <Button variant="ghost" class="flex items-center cursor-pointer" builders={[builder]}>
|
|
0 commit comments