forked from Transparency/kgroad-frontend2
Fix error in footer
This commit is contained in:
parent
3c810dad82
commit
5eff43ef61
@ -25,6 +25,7 @@
|
|||||||
|
|
||||||
img {
|
img {
|
||||||
width: 50px;
|
width: 50px;
|
||||||
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
input {
|
input {
|
||||||
|
@ -7,10 +7,10 @@ export const LINKS = () => {
|
|||||||
{ id: 1, pagename: t("home"), pathname: "/" },
|
{ id: 1, pagename: t("home"), pathname: "/" },
|
||||||
{ id: 2, pagename: t("about_us"), pathname: "/about-us" },
|
{ id: 2, pagename: t("about_us"), pathname: "/about-us" },
|
||||||
{ id: 3, pagename: t("privacy"), pathname: "/privacy" },
|
{ id: 3, pagename: t("privacy"), pathname: "/privacy" },
|
||||||
{ id: 3, pagename: t("support"), pathname: "/support" },
|
{ id: 4, pagename: t("support"), pathname: "/support" },
|
||||||
{ id: 4, pagename: t("statistics"), pathname: "/statistics" },
|
{ id: 5, pagename: t("statistics"), pathname: "/statistics" },
|
||||||
{ id: 5, pagename: t("news"), pathname: "/news" },
|
{ id: 6, pagename: t("news"), pathname: "/news" },
|
||||||
{ id: 6, pagename: t("volunteers"), pathname: "/volunteers" },
|
{ id: 7, pagename: t("volunteers"), pathname: "/volunteers" },
|
||||||
];
|
];
|
||||||
|
|
||||||
return LINKS;
|
return LINKS;
|
||||||
|
@ -30,9 +30,7 @@ const Footer = () => {
|
|||||||
<ul>
|
<ul>
|
||||||
{LINKS().map((link) => (
|
{LINKS().map((link) => (
|
||||||
<li key={link.id}>
|
<li key={link.id}>
|
||||||
<Link href={link.pathname} key={link.id}>
|
<Link href={link.pathname}>{link.pagename}</Link>
|
||||||
{link.pagename}
|
|
||||||
</Link>
|
|
||||||
</li>
|
</li>
|
||||||
))}
|
))}
|
||||||
</ul>
|
</ul>
|
||||||
@ -40,7 +38,8 @@ const Footer = () => {
|
|||||||
<NetKgTracker />*/}
|
<NetKgTracker />*/}
|
||||||
<div className="footer__logo">
|
<div className="footer__logo">
|
||||||
<GoogleAnalyticsWidget />
|
<GoogleAnalyticsWidget />
|
||||||
</div>*
|
</div>
|
||||||
|
*
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="footer__contacts">
|
<div className="footer__contacts">
|
||||||
@ -52,7 +51,7 @@ const Footer = () => {
|
|||||||
<li>
|
<li>
|
||||||
{[youtube, facebook, instagram].map((net, i) => (
|
{[youtube, facebook, instagram].map((net, i) => (
|
||||||
<Link key={i} href="#">
|
<Link key={i} href="#">
|
||||||
<Image src={net} alt="Net Icon" key={net} />
|
<Image src={net} alt="Net Icon" />
|
||||||
</Link>
|
</Link>
|
||||||
))}
|
))}
|
||||||
</li>
|
</li>
|
||||||
@ -65,7 +64,7 @@ const Footer = () => {
|
|||||||
<div className="footer__apps-btns">
|
<div className="footer__apps-btns">
|
||||||
{[app_store_btn, play_market_btn].map((app, i) => (
|
{[app_store_btn, play_market_btn].map((app, i) => (
|
||||||
<Link key={i} href="#">
|
<Link key={i} href="#">
|
||||||
<Image src={app} alt="App Button" key={app} />
|
<Image src={app} alt="App Button" />
|
||||||
</Link>
|
</Link>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user