Commit 6a92ad20 authored by Nawasan Wisitsingkhon's avatar Nawasan Wisitsingkhon

add footer

parent b0fff1c6
import { Box } from "@mui/material";
import React from "react";
export default function Footer() {
return (
<Box sx={{ p: 3, display: "flex", justifyContent: "end" }}>
<a
className="text-slate-800 font-medium no-underline hover:underline md:mx-5"
href="https://github.com/nawasan111/final-exam"
>
Source code
</a>
<a
className="text-slate-800 font-medium no-underline hover:underline md:mx-5"
href="https://github.com/Arikato111"
>
Auther
</a>
</Box>
);
}
...@@ -2,6 +2,7 @@ import React from "react"; ...@@ -2,6 +2,7 @@ import React from "react";
import Navbar from "../Navbar"; import Navbar from "../Navbar";
import { Box } from "@mui/material"; import { Box } from "@mui/material";
import { Toolbar } from "@mui/material"; import { Toolbar } from "@mui/material";
import Footer from "../Footer";
export default function UserLayout({ children }) { export default function UserLayout({ children }) {
return ( return (
...@@ -20,6 +21,7 @@ export default function UserLayout({ children }) { ...@@ -20,6 +21,7 @@ export default function UserLayout({ children }) {
{children} {children}
</Box> </Box>
</Box> </Box>
<Footer />
</> </>
); );
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment