Add MenuItem design

Clean up SCSS styles
This commit is contained in:
Michał Gdula 2024-04-23 16:41:05 +01:00
parent 4e6b2799f6
commit b56c3cc46d
13 changed files with 288 additions and 47 deletions

View file

@ -22,6 +22,9 @@
</script>
<svelte:window bind:scrollY={scrollY} />
<svelte:head>
<link rel="stylesheet" href="https://api.fontshare.com/v2/css?f[]=erode@300,301,400,401,500,501,600,601,700,701,1,2&display=swap">
</svelte:head>
{#if showNavBar }
<NavigationBar scrolled={scrollY > 0} />
@ -37,15 +40,3 @@
<footer>
<p>TastyBites is a fake restaurant</p>
</footer>
<style lang="scss">
main {
position: relative;
padding: 1rem;
flex-grow: 1;
&.nav-space {
margin-top: 55px;
}
}
</style>