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
9df6c585
Commit
9df6c585
authored
Oct 07, 2023
by
Nawasan Wisitsingkhon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update maw width in wishlist;
iupdate error page;
parent
50e809da
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
4 deletions
+22
-4
Footer.js
src/components/Footer.js
+3
-2
_error.js
src/pages/_error.js
+18
-1
wishlist.js
src/pages/wishlist.js
+1
-1
No files found.
src/components/Footer.js
View file @
9df6c585
import
{
GitHub
}
from
"@mui/icons-material"
;
import
{
Box
}
from
"@mui/material"
;
import
React
from
"react"
;
...
...
@@ -5,10 +6,10 @@ 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"
className
=
"
flex items-center
text-slate-800 font-medium no-underline hover:underline md:mx-5"
href
=
"https://github.com/nawasan111/final-exam"
>
Source
code
<
GitHub
sx
=
{{
mx
:
1
}}
/>
Source cod
e
<
/a
>
<
a
className
=
"text-slate-800 font-medium no-underline hover:underline md:mx-5"
...
...
src/pages/_error.js
View file @
9df6c585
import
{
Home
}
from
"@mui/icons-material"
;
import
{
BrowserNotSupported
}
from
"@mui/icons-material"
;
import
{
Box
,
IconButton
,
Paper
}
from
"@mui/material"
;
import
Link
from
"next/link"
;
import
React
from
"react"
;
export
default
function
Error
()
{
return
<
div
>
Not
found
<
/div>
;
return
(
<
Box
sx
=
{{
maxWidth
:
1200
,
mx
:
"auto"
}}
>
<
Paper
className
=
"shadow-none"
sx
=
{{
p
:
5
,
textAlign
:
"center"
}}
>
<
Box
>
<
Link
title
=
"กลับสู่หน้าหลัก"
href
=
{
'/'
}
>
<
IconButton
sx
=
{{
width
:
100
,
height
:
100
}}
>
<
BrowserNotSupported
sx
=
{{
transform
:
"scale(3)"
}}
/
>
<
/IconButton
>
<
/Link
>
<
/Box
>
ไม่พบหน้าที่ต้องการ
<
/Paper
>
<
/Box
>
);
}
src/pages/wishlist.js
View file @
9df6c585
...
...
@@ -110,7 +110,7 @@ export default function Wishlist() {
<
Head
>
<
title
>
รายการชื่นชอบ
|
OpenShop
<
/title
>
<
/Head
>
<
Box
>
<
Box
sx
=
{{
maxWidth
:
1200
,
mx
:
"auto"
}}
>
<
PopupAlert
open
=
{
!!
message
.
message
.
length
}
isError
=
{
message
.
error
}
...
...
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