wisesplit/components/Layout.tsx

51 lines
1.2 KiB
TypeScript
Raw Permalink Normal View History

2022-10-24 07:40:14 +00:00
import { Container, Navbar } from "react-bootstrap";
2022-10-25 18:26:48 +00:00
export interface Props {
children: JSX.Element;
}
export default function Layout({ children }: Props) {
2022-10-24 07:40:14 +00:00
return (
<>
<Navbar bg="dark" variant="dark" expand="lg">
<Container>
<Navbar.Brand href="">WiseSplit</Navbar.Brand>
</Container>
</Navbar>
<Container>
<main>{children}</main>
</Container>
2022-10-24 18:27:34 +00:00
<footer style={{ textAlign: "center" }}>
<small>
2022-10-24 19:04:02 +00:00
<a
href="https://github.com/iptq/wisesplit/"
target="_blank"
rel="noreferrer"
>
2022-10-24 18:27:34 +00:00
[source]
</a>
&middot;
2022-10-24 19:04:02 +00:00
<a
href="https://www.gnu.org/licenses/agpl-3.0.txt"
target="_blank"
rel="noreferrer"
>
2022-10-24 18:27:34 +00:00
[license]
</a>
&middot;
2022-10-25 18:26:48 +00:00
{/* eslint-disable @next/next/no-img-element */}
2022-10-24 18:27:34 +00:00
<a href="https://github.com/iptq/wisesplit/stargazers">
<img
alt="GitHub stars"
src="https://img.shields.io/github/stars/iptq/wisesplit?style=social"
/>
</a>
</small>
</footer>
2022-10-24 07:40:14 +00:00
</>
);
}