mirror of
https://github.com/jcreek/SvelteKitSaasBoilerplate.git
synced 2026-07-13 11:03:49 +00:00
feat(#2): Begin replacing navbar
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<script lang="ts">
|
||||
export let isMobile: boolean = false;
|
||||
</script>
|
||||
|
||||
<li><a href="/products">Products</a></li>
|
||||
<li class={isMobile ? '' : 'dropdown'}>
|
||||
<div tabindex="0" role="button" class="">Parent</div>
|
||||
<ul
|
||||
class="{isMobile
|
||||
? ''
|
||||
: 'dropdown-content rounded-box w-52 shadow'} z-[1] menu p-2 bg-base-100 text-base-content"
|
||||
>
|
||||
<li><a href="/">Submenu 1</a></li>
|
||||
<li><a href="/">Submenu 2</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="/">Item 3</a></li>
|
||||
Reference in New Issue
Block a user