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!

-
+
+