From 111215f43c60315699be87a4b8e41d83e1b2ae71 Mon Sep 17 00:00:00 2001 From: SergioAR Date: Fri, 20 Sep 2024 17:06:37 -0600 Subject: [PATCH] feat: Persist data from url --- app/app/components/footer/footer.tsx | 5 ++-- app/app/components/navBars/navbarFooter.tsx | 26 +++++++++++++++++--- app/app/components/navBars/navbarTopPage.tsx | 25 +++++++++++++++++-- app/app/page.tsx | 2 +- app/app/privacity/page.tsx | 6 ++++- app/app/terms/page.tsx | 6 ++++- 6 files changed, 59 insertions(+), 11 deletions(-) diff --git a/app/app/components/footer/footer.tsx b/app/app/components/footer/footer.tsx index 4c4aaf0..029ab2e 100644 --- a/app/app/components/footer/footer.tsx +++ b/app/app/components/footer/footer.tsx @@ -8,13 +8,14 @@ import About from './about' interface Footer { translations: Translations currentPage: string + urlParams: URLSearchParams | null } -const Footer: React.FC