From 03695f71f421c4f3d822d6c1244e3c878c75a2a5 Mon Sep 17 00:00:00 2001 From: borja Date: Wed, 13 Dec 2023 09:08:59 +0100 Subject: [PATCH] =?UTF-8?q?quita=20cosas=20y=20crea=20page.server.js=20que?= =?UTF-8?q?=20es=20la=20que=20se=20encargar=C3=A1=20de=20procesar=20los=20?= =?UTF-8?q?archivos,=20se=20supone?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/+layout.svelte | 6 +- src/routes/+page.server.js | 0 src/routes/+page.svelte | 54 ++++++----------- src/routes/Counter.svelte | 106 -------------------------------- src/routes/Header.svelte | 121 ++----------------------------------- 5 files changed, 28 insertions(+), 259 deletions(-) create mode 100644 src/routes/+page.server.js delete mode 100644 src/routes/Counter.svelte diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 9c7445f..2025ee7 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,6 +1,6 @@
@@ -11,7 +11,7 @@
diff --git a/src/routes/+page.server.js b/src/routes/+page.server.js new file mode 100644 index 0000000..e69de29 diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 97201ef..dec6ad0 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,7 +1,7 @@ @@ -10,22 +10,18 @@
-

- - - - Welcome - - - - to your new
SvelteKit app -

- -

- try editing src/routes/+page.svelte -

- - +
+ + +
diff --git a/src/routes/Counter.svelte b/src/routes/Counter.svelte deleted file mode 100644 index 4ad18f9..0000000 --- a/src/routes/Counter.svelte +++ /dev/null @@ -1,106 +0,0 @@ - - -
- - -
-
- - {Math.floor($displayed_count)} -
-
- - -
- - diff --git a/src/routes/Header.svelte b/src/routes/Header.svelte index 368b721..9d46ec2 100644 --- a/src/routes/Header.svelte +++ b/src/routes/Header.svelte @@ -1,129 +1,18 @@
-
- - SvelteKit - -
- - - -
- - GitHub - -
+

Subtitler