Inicio del proyecto

This commit is contained in:
2024-10-01 09:32:00 +02:00
parent 6d7ee362f4
commit 3172eec1bb
3 changed files with 41 additions and 48 deletions

View File

@@ -1,6 +1,6 @@
---
// Component Imports
import Counter from '../components/Counter.svelte';
import Navbar from '../components/Navbar.svelte';
// Full Astro Component Syntax:
// https://docs.astro.build/basics/astro-components/
@@ -14,22 +14,11 @@ import Counter from '../components/Counter.svelte';
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<style>
html,
body {
font-family: system-ui;
margin: 0;
}
body {
padding: 2rem;
}
</style>
</head>
<body>
<main>
<Counter client:visible>
<h1>Hello, Svelte!</h1>
</Counter>
<Navbar/>
</main>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>
</body>
</html>