From 5eff43ef61a370fc76ba5fe8b808f85817324a3a Mon Sep 17 00:00:00 2001 From: ariari04 Date: Wed, 11 Sep 2024 15:55:18 +0600 Subject: [PATCH] Fix error in footer --- src/features/SearchForm/SearchForm.scss | 1 + src/shared/variables/links_footer.ts | 8 ++++---- src/widgets/Footer/Footer.tsx | 13 ++++++------- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/features/SearchForm/SearchForm.scss b/src/features/SearchForm/SearchForm.scss index 661c470..ccca3c5 100644 --- a/src/features/SearchForm/SearchForm.scss +++ b/src/features/SearchForm/SearchForm.scss @@ -25,6 +25,7 @@ img { width: 50px; + height: auto; } input { diff --git a/src/shared/variables/links_footer.ts b/src/shared/variables/links_footer.ts index 38d6b30..6af87ef 100644 --- a/src/shared/variables/links_footer.ts +++ b/src/shared/variables/links_footer.ts @@ -7,10 +7,10 @@ export const LINKS = () => { { id: 1, pagename: t("home"), pathname: "/" }, { id: 2, pagename: t("about_us"), pathname: "/about-us" }, { id: 3, pagename: t("privacy"), pathname: "/privacy" }, - { id: 3, pagename: t("support"), pathname: "/support" }, - { id: 4, pagename: t("statistics"), pathname: "/statistics" }, - { id: 5, pagename: t("news"), pathname: "/news" }, - { id: 6, pagename: t("volunteers"), pathname: "/volunteers" }, + { id: 4, pagename: t("support"), pathname: "/support" }, + { id: 5, pagename: t("statistics"), pathname: "/statistics" }, + { id: 6, pagename: t("news"), pathname: "/news" }, + { id: 7, pagename: t("volunteers"), pathname: "/volunteers" }, ]; return LINKS; diff --git a/src/widgets/Footer/Footer.tsx b/src/widgets/Footer/Footer.tsx index 0188be4..49ed30f 100644 --- a/src/widgets/Footer/Footer.tsx +++ b/src/widgets/Footer/Footer.tsx @@ -30,17 +30,16 @@ const Footer = () => { {/* Only for production */}
- -
* + + + *
@@ -52,7 +51,7 @@ const Footer = () => {
  • {[youtube, facebook, instagram].map((net, i) => ( - Net Icon + Net Icon ))}
  • @@ -65,7 +64,7 @@ const Footer = () => {
    {[app_store_btn, play_market_btn].map((app, i) => ( - App Button + App Button ))}