From 8120a544bfcface30502898a1d875e9d7de35f76 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Wed, 4 Jan 2023 00:42:03 +0400 Subject: [PATCH] Optimize JS for navigation and captcha --- src/components/Captcha/Captcha.astro | 5 +- .../{Navigation => }/Navigation.astro | 9 ++-- src/components/Navigation/navigation.js | 46 ------------------- src/layouts/BaseLayout.astro | 2 +- 4 files changed, 8 insertions(+), 54 deletions(-) rename src/components/{Navigation => }/Navigation.astro (89%) delete mode 100644 src/components/Navigation/navigation.js diff --git a/src/components/Captcha/Captcha.astro b/src/components/Captcha/Captcha.astro index 9eefa9c10..09f3d0a38 100644 --- a/src/components/Captcha/Captcha.astro +++ b/src/components/Captcha/Captcha.astro @@ -1,15 +1,14 @@ --- --- + + - -
diff --git a/src/components/Navigation/Navigation.astro b/src/components/Navigation.astro similarity index 89% rename from src/components/Navigation/Navigation.astro rename to src/components/Navigation.astro index 578fc4fbd..e9fde5ec8 100644 --- a/src/components/Navigation/Navigation.astro +++ b/src/components/Navigation.astro @@ -1,9 +1,7 @@ --- -import Icon from '../Icon.astro'; +import Icon from './Icon.astro'; --- - -