From 2bf575d76b786f851eaddaccc71892cc1b4b4771 Mon Sep 17 00:00:00 2001 From: Daniele Pancottini Date: Tue, 3 Jan 2023 19:11:51 +0100 Subject: [PATCH] Add transitions gif for 12,11,10 --- .../common/About/TestimonialCard.tsx | 2 +- .../HomePage/PolygonModal/PolygonModal.tsx | 10 ++++++---- site/components/common/Navbar/Navbar.tsx | 2 +- .../MenuSidebarView/MenuSidebarView.tsx | 5 +++-- site/pages/news.tsx | 6 ++---- .../regions/abruzzo/10/plan/transition.gif | Bin 0 -> 216599 bytes .../regions/abruzzo/11/plan/transition.gif | Bin 62988 -> 645872 bytes .../regions/abruzzo/12/plan/transition.gif | Bin 0 -> 247947 bytes 8 files changed, 13 insertions(+), 12 deletions(-) create mode 100644 site/public/regions/abruzzo/10/plan/transition.gif create mode 100644 site/public/regions/abruzzo/12/plan/transition.gif diff --git a/site/components/common/About/TestimonialCard.tsx b/site/components/common/About/TestimonialCard.tsx index f8023eff8..17558b085 100644 --- a/site/components/common/About/TestimonialCard.tsx +++ b/site/components/common/About/TestimonialCard.tsx @@ -23,7 +23,7 @@ const TestimonialContent = ({ children }: { children: ReactNode }) => { alignItems={'center'} justifyContent={'center'} display={'flex'} - w={'lg'} + w={'md'} height={'130px'} > {children} diff --git a/site/components/common/HomePage/PolygonModal/PolygonModal.tsx b/site/components/common/HomePage/PolygonModal/PolygonModal.tsx index 81d06f1e5..87b1feedc 100644 --- a/site/components/common/HomePage/PolygonModal/PolygonModal.tsx +++ b/site/components/common/HomePage/PolygonModal/PolygonModal.tsx @@ -69,13 +69,15 @@ export default function MarkerCardModal(props: { {!isTransitionCompleted ? ( setInterval(() => { setIsTransitionComplited(true) - }, 5000) + }, 2500) } > ) : ( diff --git a/site/components/common/Navbar/Navbar.tsx b/site/components/common/Navbar/Navbar.tsx index bde2c3e57..d4854bc0a 100644 --- a/site/components/common/Navbar/Navbar.tsx +++ b/site/components/common/Navbar/Navbar.tsx @@ -44,7 +44,7 @@ const Navbar: FC = ({ links }) => {