mirror of
https://github.com/rjNemo/meal_planner
synced 2026-06-10 20:36:39 +00:00
* 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
30 lines
790 B
TypeScript
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>
|
|
);
|
|
};
|