forked from Transparency/kgroad-frontend2
Fix error in footer
This commit is contained in:
parent
3c810dad82
commit
5eff43ef61
@ -25,6 +25,7 @@
|
||||
|
||||
img {
|
||||
width: 50px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
input {
|
||||
|
@ -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;
|
||||
|
@ -30,17 +30,16 @@ const Footer = () => {
|
||||
<ul>
|
||||
{LINKS().map((link) => (
|
||||
<li key={link.id}>
|
||||
<Link href={link.pathname} key={link.id}>
|
||||
{link.pagename}
|
||||
</Link>
|
||||
<Link href={link.pathname}>{link.pagename}</Link>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
{/* Only for production
|
||||
<NetKgTracker />*/}
|
||||
<div className="footer__logo">
|
||||
<GoogleAnalyticsWidget />
|
||||
</div>*
|
||||
<GoogleAnalyticsWidget />
|
||||
</div>
|
||||
*
|
||||
</div>
|
||||
|
||||
<div className="footer__contacts">
|
||||
@ -52,7 +51,7 @@ const Footer = () => {
|
||||
<li>
|
||||
{[youtube, facebook, instagram].map((net, i) => (
|
||||
<Link key={i} href="#">
|
||||
<Image src={net} alt="Net Icon" key={net} />
|
||||
<Image src={net} alt="Net Icon" />
|
||||
</Link>
|
||||
))}
|
||||
</li>
|
||||
@ -65,7 +64,7 @@ const Footer = () => {
|
||||
<div className="footer__apps-btns">
|
||||
{[app_store_btn, play_market_btn].map((app, i) => (
|
||||
<Link key={i} href="#">
|
||||
<Image src={app} alt="App Button" key={app} />
|
||||
<Image src={app} alt="App Button" />
|
||||
</Link>
|
||||
))}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user