meal_planner/src/components/Footer.tsx
Ruidy 0e3b0a7cee
refactoring (#5)
* use tsx

* compile

* refactor Router

* refactor layout

* refactor home container

* refactor meal container

* refactor categories container

* refactor category container

* refactor search and profile container

* refactor
2021-03-28 17:05:46 +02:00

30 lines
790 B
TypeScript

import React from "react";
import { CopyrightText } from "./CopyrightText";
import { GitHubLink } from "./GitHubLink";
import { FooterLink } from "./FooterLink";
export const Footer = ({ links }) => {
return (
<footer className="page-footer">
<div className="row">
<div className="container">
<div className=" s12">
<h5 className="black-text">Navigation</h5>
<ul>
{links.map((link, i) => (
<FooterLink key={i} link={link} textColor="black" />
))}
</ul>
</div>
</div>
</div>
<div className="footer-copyright">
<div className="container">
<CopyrightText />
<GitHubLink />
</div>
</div>
</footer>
);
};