From 9144002b89737f5a7d910285642f19601fbee8c1 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Mon, 2 Jan 2023 20:48:46 +0400 Subject: [PATCH] Add topic search interactivity --- src/components/Popup/Popup.astro | 52 +++++++++++-------- src/components/RoadmapHeader.astro | 2 +- .../{ => TopicSearch}/TopicSearch.astro | 4 +- src/components/TopicSearch/topics.js | 31 +++++++++++ 4 files changed, 64 insertions(+), 25 deletions(-) rename src/components/{ => TopicSearch}/TopicSearch.astro (88%) create mode 100644 src/components/TopicSearch/topics.js diff --git a/src/components/Popup/Popup.astro b/src/components/Popup/Popup.astro index 7bd1bb965..f262aa2ae 100644 --- a/src/components/Popup/Popup.astro +++ b/src/components/Popup/Popup.astro @@ -2,35 +2,41 @@ import Icon from '../Icon.astro'; export interface Props { - id: string; - title: string; - subtitle: string; + id: string; + title: string; + subtitle: string; } const { id, title, subtitle } = Astro.props; --- - + -