design: improve tabs design
This commit is contained in:
9 files changed
+124
-172
No files matched your search
@@ -9,39 +9,34 @@
|
||||
</script>
|
||||
|
||||
<div class="flex flex-col gap-2">
|
||||
<div
|
||||
class="sticky mx-auto z-50 max-w-full min-w-0 flex items-center gap-2 top-6 lg:top-22"
|
||||
>
|
||||
<Tabs
|
||||
routes={[
|
||||
{
|
||||
href: '/util',
|
||||
name: 'Home',
|
||||
},
|
||||
{
|
||||
href: '/util/instance',
|
||||
name: 'Photon instance',
|
||||
},
|
||||
{
|
||||
href: '/util/photonify',
|
||||
name: 'Photonify Links',
|
||||
},
|
||||
{
|
||||
href: '/util/placeholder',
|
||||
name: 'Placeholders',
|
||||
},
|
||||
{
|
||||
href: '/util/constants',
|
||||
name: 'Constants',
|
||||
},
|
||||
{
|
||||
href: '/functions',
|
||||
name: 'Functions',
|
||||
},
|
||||
]}
|
||||
class="overflow-auto"
|
||||
currentRoute={page.url.toString()}
|
||||
/>
|
||||
</div>
|
||||
<Tabs
|
||||
routes={[
|
||||
{
|
||||
href: '/util',
|
||||
name: 'Home',
|
||||
},
|
||||
{
|
||||
href: '/util/instance',
|
||||
name: 'Photon instance',
|
||||
},
|
||||
{
|
||||
href: '/util/photonify',
|
||||
name: 'Photonify Links',
|
||||
},
|
||||
{
|
||||
href: '/util/placeholder',
|
||||
name: 'Placeholders',
|
||||
},
|
||||
{
|
||||
href: '/util/constants',
|
||||
name: 'Constants',
|
||||
},
|
||||
{
|
||||
href: '/functions',
|
||||
name: 'Functions',
|
||||
},
|
||||
]}
|
||||
class="overflow-auto"
|
||||
/>
|
||||
{@render children?.()}
|
||||
</div>
|
||||
Reference in new issue
Block a user