From f8c1c6278b793f815dc1365e57a1fffac5d33656 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Wed, 11 Jan 2023 00:08:49 +0400 Subject: [PATCH] Refactor HTML event handlers --- src/components/Navigation.astro | 20 +++++++++++++++----- src/components/Popup/Popup.astro | 3 +-- src/components/Popup/popup.js | 3 ++- src/components/YouTubeBanner.astro | 12 ++++++++++-- 4 files changed, 28 insertions(+), 10 deletions(-) diff --git a/src/components/Navigation.astro b/src/components/Navigation.astro index 1851e6a92..196587125 100644 --- a/src/components/Navigation.astro +++ b/src/components/Navigation.astro @@ -32,24 +32,22 @@ import Icon from './Icon.astro'; + + diff --git a/src/components/Popup/Popup.astro b/src/components/Popup/Popup.astro index 2797c2037..79f64e209 100644 --- a/src/components/Popup/Popup.astro +++ b/src/components/Popup/Popup.astro @@ -21,8 +21,7 @@ const { id, title, subtitle } = Astro.props; + +