From 360c51cbea69e20fef791f8caa9065c3df62d9a8 Mon Sep 17 00:00:00 2001 From: log101 Date: Mon, 29 Jul 2024 18:34:32 +0300 Subject: [PATCH] feat: remove remote stylesheets --- src/layouts/Layout.astro | 24 +++++------------------- src/scripts/index.ts | 2 +- 2 files changed, 6 insertions(+), 20 deletions(-) diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index b728469..4b0e6a0 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,3 +1,8 @@ +--- +import "leaflet/dist/leaflet.css" +import "toastify-js/src/toastify.css" +--- + @@ -5,25 +10,6 @@ - - - - diff --git a/src/scripts/index.ts b/src/scripts/index.ts index 63f6098..462cab4 100644 --- a/src/scripts/index.ts +++ b/src/scripts/index.ts @@ -52,7 +52,7 @@ const handleSubmit = async (e: SubmitEvent) => { if (res.status === 200) { const data = await res.json() - if (data.url) location.assign(`/x?id="${data.url}"`) + if (data.url) location.assign(`/x?id=${data.url}`) } else { toast("Konulu konum oluşturulamadı, lütfen tekrar deneyin.") }