Skip to content

Commit f5c3e67

Browse files
committed
docs: fix header
1 parent bcd1627 commit f5c3e67

File tree

4 files changed

+17
-12
lines changed

4 files changed

+17
-12
lines changed

apps/website/src/routes/_components/header/header.tsx

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,24 +47,29 @@ export default component$(
4747
return (
4848
<header
4949
class={[
50-
`fixed top-0 w-full h-20 z-20 bg-[var(--color-bg)] flex gap-8 p-4 items-center`,
50+
`fixed top-0 w-full h-20 md:h-20 z-20 lg:bg-[var(--color-bg)] flex gap-8 p-4 items-center`,
51+
rootStore.isSidebarOpened
52+
? 'bg-blue-200 brightness-75 dark:bg-indigo-900'
53+
: '',
5154
showBottomBorder
5255
? `border-b-[1px] border-slate-300 dark:border-slate-600`
5356
: ``,
5457
]}
5558
>
56-
<a href="/" class="lg:ml-8">
57-
<Logo />
58-
</a>
59+
<section class="flex flex-col md:flex-row gap-1 md:gap-8 mr-auto">
60+
<a href="/" class="lg:ml-8">
61+
<Logo />
62+
</a>
5963

60-
<div data-tip="Qwik-UI Version" class="mr-auto">
6164
{showVersion && (
62-
<div class="flex flex-col">
63-
<span> {kitSignal.value?.name} Kit </span>
64-
<span> v.{kitSignal.value?.version} </span>
65+
<div data-tip="Qwik-UI Version" class="mr-auto">
66+
<div class="flex flex-row gap-1 ml-2 md:mt-1 md:flex-col text-xs md:text-sm">
67+
<span> {kitSignal.value?.name} Kit </span>
68+
<span> v.{kitSignal.value?.version} </span>
69+
</div>
6570
</div>
6671
)}
67-
</div>
72+
</section>
6873

6974
<nav class="hidden lg:flex gap-4">
7075
<a href="/about">About</a>

apps/website/src/routes/_components/icons/MoonIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export const MoonIcon = () => (
33
viewBox="0 0 20 20"
44
fill="none"
55
aria-hidden="true"
6-
class="h-8 w-8 p-1 rounded-xl stroke-white hover:bg-slate-600"
6+
class="h-10 w-10 p-1 rounded-xl stroke-white hover:bg-slate-600"
77
>
88
<path d="M15.224 11.724a5.5 5.5 0 0 1-6.949-6.949 5.5 5.5 0 1 0 6.949 6.949Z" />
99
</svg>

apps/website/src/routes/_components/icons/SunIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export const SunIcon = () => (
33
viewBox="0 0 20 20"
44
fill="none"
55
aria-hidden="true"
6-
class="h-8 w-8 p-1 rounded-xl stroke-black hover:bg-gray-100"
6+
class="h-10 w-10 p-1 rounded-xl stroke-black hover:bg-gray-100"
77
>
88
<path d="M12.5 10a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z" />
99
<path

apps/website/src/routes/[email protected]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ export default component$(() => {
3939
});
4040

4141
export const head: DocumentHead = {
42-
title: 'Qwik UI',
42+
title: 'Qwik UI - The first component library for Qwik',
4343
};

0 commit comments

Comments
 (0)