From fcaa77aceaedcb933057dc948e24a02ddafe4843 Mon Sep 17 00:00:00 2001 From: Guz013 <43732358+Guz013@users.noreply.github.com> Date: Fri, 23 Jun 2023 16:26:28 -0300 Subject: [PATCH] =?UTF-8?q?refactor:=20=E2=99=BB=EF=B8=8F=20use=20img=20ta?= =?UTF-8?q?g=20instead=20of=20inline=20svg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/www/src/routes/+page.svelte | 16 +++++----------- apps/www/src/routes/+page.ts | 6 ------ 2 files changed, 5 insertions(+), 17 deletions(-) delete mode 100644 apps/www/src/routes/+page.ts diff --git a/apps/www/src/routes/+page.svelte b/apps/www/src/routes/+page.svelte index 12fee3d..d3cb2d7 100644 --- a/apps/www/src/routes/+page.svelte +++ b/apps/www/src/routes/+page.svelte @@ -1,28 +1,22 @@ - -
- {@html data.banner} +
- {@html data.banner} +
- {@html data.banner} +
- {@html data.banner} +
- {@html data.banner} +
diff --git a/apps/www/src/routes/+page.ts b/apps/www/src/routes/+page.ts deleted file mode 100644 index 472c77b..0000000 --- a/apps/www/src/routes/+page.ts +++ /dev/null @@ -1,6 +0,0 @@ -import type { PageLoad } from './$types'; - -export const load = (async ({ fetch }): Promise<{ banner: string }> => { - const banner = await (await fetch('/api.svg')).text(); - return { banner }; -}) satisfies PageLoad;