Skip to content

Commit

Permalink
mc lol
Browse files Browse the repository at this point in the history
  • Loading branch information
motocarota committed Apr 6, 2024
1 parent ee1ceb4 commit d765e5f
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 20 deletions.
8 changes: 5 additions & 3 deletions src/lib/Contacts.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
</script>


<section id="contact">
<section>
<h1 class="mt-5">Contatti</h1>

<div class="flex justify-center gap-4 flex-wrap">
<Card>
<h4>orario di apertura</h4>
Expand All @@ -23,7 +22,10 @@
</Table>
</Card>
<Card img="img/map.webp" href={POSITION_LINK} target="_blank" class="saturation-down">
<h4>come trovarci</h4>
<h4>Ristorante Delfino Bianco</h4>
<p>via XX Settembre 12</p>
<p>16039 Sestri Levante (Ge) ITALY</p>
<p>Tel. +39 0185450837 - 328 1467737</p>
</Card>
</div>

Expand Down
9 changes: 9 additions & 0 deletions src/lib/FWImage.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<script>
export let image;
</script>

<section id="features" class="fw p-0">
<div>
<img src="img/{image}.webp" alt="sestri" style="width: 100%" />
</div>
</section>
25 changes: 10 additions & 15 deletions src/lib/Features.svelte
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
<script>
import { FEATURES } from ".";
</script>

<section id="features" class="fw azure-bg p-0">
<div>
<img src="img/sestri.webp" alt="sestri" style="width: 100%" />
</div>
<!-- <div class="flex justify-center gap-4 flex-wrap max-w-screen-lg mx-auto py-5">
<div class="w-33">Eventi</div>
<div class="w-33">Banchetti</div>
<div class="w-33">Cocktails</div>
<div class="w-33">Cerimonie</div>
<div class="w-33">Aperitivi</div>
<div class="w-33">Lunch Menu</div>
</div> -->
</section>

<section id="contact" class="fw azure-bg p-0 py-5">
<h1 class="mt-5">Siamo a disposizione per:</h1>
<div class="flex justify-center gap-4 flex-wrap max-w-screen-lg mx-auto py-5">
{#each FEATURES as f}
<div class="w-33">{f}</div>
{/each}
</div>
</section>
5 changes: 4 additions & 1 deletion src/lib/WineMenu.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
import { Card } from "flowbite-svelte";
</script>

<section id="contact">
<section id="menu">
<h1 class="mt-5">Menu</h1>
<div class="flex justify-center gap-4 flex-wrap">
<Card img="img/menu.webp" href="files/menu.pdf" target="_blank">Scarica il menu del ristorante</Card>
<Card img="img/bar.webp" href="files/bar.pdf" target="_blank">Scarica il menu del bar</Card>
<Card img="img/wine.webp" href="files/vini.pdf" target="_blank">Scarica il menu dei vini</Card>
</div>
</section>
9 changes: 9 additions & 0 deletions src/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,13 @@ export const ORARIO = [
{ day: "venerdì", from: "17:30", to: "23:00" },
{ day: "sabato", from: "17:30", to: "23:00" },
{ day: "domenica", from: "17:30", to: "23:00" },
]

export const FEATURES = [
"Eventi",
"Banchetti",
"Cocktails",
"Cerimonie",
"Aperitivi",
"Lunch Menu",
]
4 changes: 3 additions & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@
import Gallery from "../lib/Gallery.svelte";
import Features from '../lib/Features.svelte'
import Contacts from "../lib/Contacts.svelte";
import FwImage from "../lib/FWImage.svelte";
</script>

<Hero />
<Features />
<FwImage image="sestri" />
<Gallery />
<WineMenu />
<Contacts />
<Features />
Binary file added static/files/bar.pdf
Binary file not shown.
Binary file added static/files/menu.pdf
Binary file not shown.
Binary file added static/img/bar.webp
Binary file not shown.
Binary file added static/img/menu.webp
Binary file not shown.

0 comments on commit d765e5f

Please sign in to comment.