Files
moll.re/frontend/src/components/footer.tsx
Remy Moll 3f1c8cb6aa
Some checks failed
Build and docker image / Build (pull_request) Failing after 14s
basic structure and a bit of content
2024-05-13 18:19:15 +02:00

20 lines
592 B
TypeScript

import { FooterLink } from "../structs/footer_link";
const Footer = ({ footer_links }: {footer_links: FooterLink[]}) => {
return (
<footer class={'w-full h-32 bg-gray-800 flex items-center justify-center'}>
{footer_links.map((link) => {
return (
<a href={link.url} class={'mx-2'}>
<i class={`fas fa-${
link.icon_name
} text-white`}></i>
</a>
);
}
)}
</footer>
);
}
export { Footer }