From 8c17117e432a40d3c253f05b0bc57e3ceed86f95 Mon Sep 17 00:00:00 2001 From: JovannMC Date: Tue, 31 Dec 2024 10:08:14 +0300 Subject: [PATCH] Adjust layout of pages makes it easier (at least for me) to handle pages --- src/routes/+layout.svelte | 189 ++++++++++++++++++-------------------- src/routes/+page.svelte | 49 +++++----- 2 files changed, 119 insertions(+), 119 deletions(-) diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 5f3a67e..dbb646a 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,35 +1,24 @@ {/if} -
-
- - {#if items - .find((i) => i.url === "/convert") - ?.activeMatch($page.url.pathname)} +
+
+
+ + {#if items + .find((i) => i.url === "/convert") + ?.activeMatch($page.url.pathname)} +
+ +
+ {/if} +
+
+ +
+ {#key data.pathname}
- +
+
+ {@render children()} +
+
+
+
+
- {/if} + {/key}
-
- {#key data.pathname} -
-
- {@render children()} -
-
-
-
-
- {/key} -
- {#if data.pathname === "/"}
- -
+
+ +
-
-
-
-
-

- The file converter you'll love. -

-

+

+
+
+

+ The file converter you'll love. +

+

+ All processing done on your device. No file size limit, + no ads, and completely open source. +

+
+
- All processing done on your device. No file size limit, no - ads, and completely open source. -

-
-
- + +