Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
final-exam
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nawasan Wisitsingkhon
final-exam
Commits
6a92ad20
Commit
6a92ad20
authored
Oct 07, 2023
by
Nawasan Wisitsingkhon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add footer
parent
b0fff1c6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
0 deletions
+23
-0
Footer.js
src/components/Footer.js
+21
-0
UserLayout.js
src/components/layout/UserLayout.js
+2
-0
No files found.
src/components/Footer.js
0 → 100644
View file @
6a92ad20
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
>
);
}
src/components/layout/UserLayout.js
View file @
6a92ad20
...
@@ -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
/>
<
/
>
<
/
>
);
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment