@@ -23,6 +23,7 @@ import { LuX } from '@qwikest/icons/lucide';
23
23
import { DocsNavigation } from '../navigation-docs/navigation-docs' ;
24
24
import { useKitMenuItems } from '~/routes/layout' ;
25
25
import { cn } from '@qwik-ui/utils' ;
26
+ import { DiscordIcon } from '../icons/discord' ;
26
27
27
28
export interface HeaderProps {
28
29
showVersion ?: boolean ;
@@ -138,12 +139,12 @@ export default component$(({ showVersion = false }: HeaderProps) => {
138
139
< header class = "flex w-full max-w-screen-2xl items-center justify-between" >
139
140
< div class = "block sm:hidden" />
140
141
< section class = "xs:flex xs:items-center mr-auto hidden" >
141
- < a href = "/" aria-label = "Qwik UI Logo" class = "lg: ml-8" >
142
+ < a href = "/" aria-label = "Qwik UI Logo" class = "ml-8" >
142
143
< LogoWithBorders />
143
144
</ a >
144
145
{ showVersion && (
145
146
< div data-tip = "Qwik-UI Version" class = "mr-auto" >
146
- < div class = "ml-4 hidden text-xs sm:flex sm:flex -col md:mt-1 md:text-sm " >
147
+ < div class = "ml-4 hidden text-xs sm:flex-col md:flex " >
147
148
< span > { kitSignal . value ?. name } Kit </ span >
148
149
< span >
149
150
{ ' ' }
@@ -154,11 +155,8 @@ export default component$(({ showVersion = false }: HeaderProps) => {
154
155
) }
155
156
</ section >
156
157
157
- < div class = "xs:space-x-6 mr-4 flex items-center space-x-6" >
158
+ < div class = "xs:space-x-8 mr-4 flex items-center space-x-6" >
158
159
< nav class = "hidden gap-4 lg:flex" >
159
- < a class = { isRouteActive ( '/about' ) } href = "/about" >
160
- About
161
- </ a >
162
160
< a class = { isDocsActive ( '/docs/headless/' ) } href = "/docs/headless/introduction" >
163
161
Headless Kit
164
162
</ a >
@@ -167,16 +165,23 @@ export default component$(({ showVersion = false }: HeaderProps) => {
167
165
Styled Kit
168
166
</ a >
169
167
) }
170
- < a
171
- class = { isRouteActive ( 'https://discord.gg/PVWUUejrez' ) }
172
- href = "https://discord.gg/PVWUUejrez"
173
- target = "_blank"
174
- >
175
- Community
176
- </ a >
177
- { /* <a href="/contact">Contact</a> */ }
178
168
</ nav >
179
169
< MakeItYours />
170
+ < a
171
+ class = { isRouteActive ( 'https://discord.gg/PVWUUejrez' ) }
172
+ href = "https://discord.gg/PVWUUejrez"
173
+ target = "_blank"
174
+ >
175
+ < DiscordIcon />
176
+ </ a >
177
+ < a
178
+ target = "_blank"
179
+ href = "https://github.com/qwikifiers/qwik-ui"
180
+ aria-label = "Qwik-UI GitHub repository"
181
+ class = "sm:mr-8"
182
+ >
183
+ < GitHubIcon />
184
+ </ a >
180
185
< button
181
186
type = "button"
182
187
aria-label = "Toggle dark mode"
@@ -191,14 +196,7 @@ export default component$(({ showVersion = false }: HeaderProps) => {
191
196
< SunIcon />
192
197
</ div >
193
198
</ button >
194
- < a
195
- target = "_blank"
196
- href = "https://github.com/qwikifiers/qwik-ui"
197
- aria-label = "Qwik-UI GitHub repository"
198
- class = "sm:mr-8"
199
- >
200
- < GitHubIcon />
201
- </ a >
199
+
202
200
< button
203
201
type = "button"
204
202
aria-label = "Toggle navigation"
0 commit comments