fixed layout

This commit is contained in:
christian 2024-04-21 17:04:45 +02:00
parent 7f8bd72cb0
commit 3d43600353

View File

@ -15,23 +15,11 @@
}, },
{ {
name: "portfolio", name: "portfolio",
<<<<<<< HEAD
subPages: ["learnings", "project a", "project b", "project c"], subPages: ["learnings", "project a", "project b", "project c"],
=======
<<<<<<< HEAD
subPages: ["project_a", "project_b", "project_c"],
}, },
{ {
name: "contact", name: "contact",
subPages: ["get_in_touch", "socials"], subPages: ["get_in_touch", "socials"],
=======
subPages: ["project a", "project, b", "project c"],
>>>>>>> 83a725da3916d4176d50fd4e4ea7cfd56d42e9e1
},
{
name: "contact",
subPages: ["get in touch", "socials"],
>>>>>>> 1ebbbc85a1b523f524bc10635b7227024eab0eef
}, },
{ {
name: "login", name: "login",
@ -47,10 +35,6 @@
selected = nav[event.srcElement.id]; selected = nav[event.srcElement.id];
intSelected = event.srcElement.id; intSelected = event.srcElement.id;
} }
<<<<<<< HEAD
=======
>>>>>>> 1ebbbc85a1b523f524bc10635b7227024eab0eef
</script> </script>
<nav class="nav-container h-32 w-full"> <nav class="nav-container h-32 w-full">
@ -69,23 +53,11 @@
{#key selected} {#key selected}
<ul in:blur={{ delay: 250 }} out:blur={{ duration: 250 }} class="text-center h-4 my-1"> <ul in:blur={{ delay: 250 }} out:blur={{ duration: 250 }} class="text-center h-4 my-1">
{#each selected.subPages as subPage} {#each selected.subPages as subPage}
<<<<<<< HEAD
<li class="sub-nav-item inline-block font-jose"><a class="sub-nav-link text-xl p-2"href={(subPage)}>{subPage.replace(/_/g, ' ')}</a></li> <li class="sub-nav-item inline-block font-jose"><a class="sub-nav-link text-xl p-2"href={(subPage)}>{subPage.replace(/_/g, ' ')}</a></li>
=======
<li class="sub-nav-item inline-block font-jose"><a class="sub-nav-link text-xl p-2"href={subPage}>{subPage}</a></li>
>>>>>>> 1ebbbc85a1b523f524bc10635b7227024eab0eef
{/each} {/each}
</ul> </ul>
{/key} {/key}
</nav> </nav>
<<<<<<< HEAD
<div class="text-center max-w-xl mx-auto"> <div class="text-center max-w-xl mx-auto">
=======
<<<<<<< HEAD
<div class="text-center max-w-lg mx-auto">
=======
<div class="text-center w-3/5 mx-auto">
>>>>>>> 1ebbbc85a1b523f524bc10635b7227024eab0eef
>>>>>>> 83a725da3916d4176d50fd4e4ea7cfd56d42e9e1
<slot /> <slot />
</div> </div>