From 0b2a9879861077c3f826ce827210c8ec588ff55c Mon Sep 17 00:00:00 2001 From: rasulov1337 <117843890+rasulov1337@users.noreply.github.com> Date: Sun, 10 Nov 2024 21:22:18 +0300 Subject: [PATCH] rewrite adpage to use reactivity --- components/AdCard/AdCard.hbs | 1 - components/AdCard/AdCard.ts | 17 +- components/AdPage/AdPage.hbs | 13 +- components/AdPage/AdPage.sass | 206 ---------------- components/AdPage/AdPage.scss | 225 ++++++++++++++++++ components/AdPage/AdPage.ts | 113 ++++----- .../ReactiveComponent/ReactiveComponent.ts | 1 - index.ts | 4 +- modules/Utils.ts | 1 + style.sass | 32 +-- 10 files changed, 304 insertions(+), 309 deletions(-) delete mode 100644 components/AdPage/AdPage.sass create mode 100644 components/AdPage/AdPage.scss diff --git a/components/AdCard/AdCard.hbs b/components/AdCard/AdCard.hbs index 91fbb32d..5a2b78ca 100644 --- a/components/AdCard/AdCard.hbs +++ b/components/AdCard/AdCard.hbs @@ -6,7 +6,6 @@ src='{{currentImagePath}}' alt='Housing card image' /> -
{{toShowIndex}}