mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-07 04:22:09 +00:00
update markup
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
{#each links as link}
|
{#each links as link}
|
||||||
<li class="web-main-header-nav-item text-primary hover:text-accent">
|
<li class="web-main-header-nav-item text-primary hover:text-accent">
|
||||||
{#if link.submenu}
|
{#if link.submenu}
|
||||||
<button
|
<div
|
||||||
class="web-main-header-nav-item-button"
|
class="web-main-header-nav-item-button"
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-expanded="false"
|
aria-expanded="false"
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
data-submenu-button
|
data-submenu-button
|
||||||
>
|
>
|
||||||
<svelte:component this={link.submenu} label={link.label} />
|
<svelte:component this={link.submenu} label={link.label} />
|
||||||
</button>
|
</div>
|
||||||
{:else}
|
{:else}
|
||||||
<a
|
<a
|
||||||
class={classNames(
|
class={classNames(
|
||||||
|
|||||||
@@ -82,7 +82,7 @@
|
|||||||
export let label: string;
|
export let label: string;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<li
|
<button
|
||||||
class={classNames(
|
class={classNames(
|
||||||
'text-primary focus:text-accent hover:text-accent inline-flex cursor-pointer items-center justify-between outline-none',
|
'text-primary focus:text-accent hover:text-accent inline-flex cursor-pointer items-center justify-between outline-none',
|
||||||
{
|
{
|
||||||
@@ -98,7 +98,7 @@
|
|||||||
'rotate-180': $open
|
'rotate-180': $open
|
||||||
})}
|
})}
|
||||||
/>
|
/>
|
||||||
</li>
|
</button>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
use:melt={$menu}
|
use:melt={$menu}
|
||||||
|
|||||||
Reference in New Issue
Block a user