I have this Layout.astro: (the only thing that really matters from here is the links array)
---
import "@fontsource/cormorant-garamond";
import "@fontsource/montserrat";
import Navbar from "../components/Navbar.astro";
const { description, title } = Astro.props;
const links = [
{ href: "/despre-noi", text: "Despre noi" },
{
href: "/servicii",
text: "Servicii",
services: [
{ href: "/gratare-din-caramida", text: "Gratare din caramida" },
{ href: "/sobe-de-teracota", text: "Sobe de teracota" },
],
},
{ href: "/portofoliu", text: "Portofoliu" },
{ href: "/contact", text: "Contact" },
];
---
<html lang="ro">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<meta
name="keywords"
content="gratare din caramida, gratar din caramida, gratare de gradina, gratar de gradina, sobe de teracota, soba de teracota, semineu pe lemne, gratare, caramida, gratar, gradina, sobe, teracota, soba, semineu, lemne"
/>
<meta name="author" content="Boostado" />
<meta name="description" content={description} />
<title>{title}</title>
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/gh/Michal-Skoula/simple-scroll-animations@master/release/latest/styles.css"
/>
<script
is:inline
defer
src="https://cdn.jsdelivr.net/gh/Michal-Skoula/simple-scroll-animations@master/release/latest/script.js"
></script>
</head>
<body>
<Navbar links={links} />
<main>
<slot />
</main>
</body>
</html>
<script>
import "preline/dist/preline.js";
</script>```