File tree Expand file tree Collapse file tree 1 file changed +15
-24
lines changed
Expand file tree Collapse file tree 1 file changed +15
-24
lines changed Original file line number Diff line number Diff line change 11---
2- import LucideHeart from " ~icons/lucide/heart " ;
3- import LucideInfo from " ~icons/lucide/info " ;
4- import LucidePackageSearch from " ~icons/lucide/package-search " ;
5- import NpmPackageSearchOpener from " ./NpmPackageSearchOpener.svelte " ;
2+ import ThemeButton from " ./ThemeButton.svelte " ;
3+ import DonateButton from " ./DonateButton.astro " ;
4+ import AboutButton from " ./AboutButton.astro " ;
5+ import JsDocsIoButton from " ./JsDocsIoButton.astro " ;
66---
77
8- <header
9- class =" border-base-content/20 bg-base-200 text-base-content flex w-full items-center gap-2 border-b px-4 py-2 sm:px-2"
10- >
11- <a class =" sm:btn sm:btn-ghost hidden" href =" /" >
12- <LucidePackageSearch class =" size-6" />
13- jsDocs.io
14- </a >
8+ <header class =" border-b" >
9+ <div class =" flex items-center justify-between gap-2 p-4" >
10+ <JsDocsIoButton />
1511
16- <div class =" grow lg:w-[28rem] lg:grow-0" >
17- <NpmPackageSearchOpener client:load />
18- </div >
19-
20- <div class =" hidden lg:block lg:grow" ></div >
12+ <div class =" flex items-center gap-4" >
13+ <ThemeButton client:load />
2114
22- <a class =" md:btn md:btn-ghost hidden" href =" /donate" >
23- <LucideHeart class =" size-6" />
24- Donate
25- </a >
15+ <div class =" bg-border h-8 w-px" ></div >
16+ <DonateButton />
2617
27- < a class =" md:btn md:btn-ghost hidden " href = " /about " >
28- < LucideInfo class = " size-6 " />
29- About
30- </a >
18+ < div class =" bg-border h-8 w-px " ></ div >
19+ < AboutButton />
20+ </ div >
21+ </div >
3122</header >
You can’t perform that action at this time.
0 commit comments