From 3172eec1bbebced84f77b888844d1f314a2fe9c6 Mon Sep 17 00:00:00 2001 From: h4ckx0r Date: Tue, 1 Oct 2024 09:32:00 +0200 Subject: [PATCH] Inicio del proyecto --- src/components/Counter.svelte | 34 ------------------------------- src/components/Navbar.svelte | 38 +++++++++++++++++++++++++++++++++++ src/pages/index.astro | 17 +++------------- 3 files changed, 41 insertions(+), 48 deletions(-) delete mode 100644 src/components/Counter.svelte create mode 100644 src/components/Navbar.svelte diff --git a/src/components/Counter.svelte b/src/components/Counter.svelte deleted file mode 100644 index 1353736..0000000 --- a/src/components/Counter.svelte +++ /dev/null @@ -1,34 +0,0 @@ - - -
- -
{count}
- -
-
- -
- - diff --git a/src/components/Navbar.svelte b/src/components/Navbar.svelte new file mode 100644 index 0000000..df69f1f --- /dev/null +++ b/src/components/Navbar.svelte @@ -0,0 +1,38 @@ +
+ +
\ No newline at end of file diff --git a/src/pages/index.astro b/src/pages/index.astro index 31b746c..9c1db9b 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -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'; -
- -

Hello, Svelte!

-
+
+