File tree 2 files changed +16
-12
lines changed
2 files changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,8 @@ const nextConfig = {
6
6
output : "export" ,
7
7
images : {
8
8
loader : "akamai" ,
9
- path : "/Next.js-and-GitHub-Pages-Example/ " ,
9
+ path : "" ,
10
10
} ,
11
- assetPrefix : "/Next.js-and-GitHub-Pages-Example" ,
12
11
} ;
13
12
14
13
export default nextConfig ;
Original file line number Diff line number Diff line change 1
- import type { NextPage } from ' next'
2
- import Head from ' next/head'
3
- import Image from ' next/image'
4
- import styles from ' ../styles/Home.module.css'
1
+ import type { NextPage } from " next" ;
2
+ import Head from " next/head" ;
3
+ import Image from " next/image" ;
4
+ import styles from " ../styles/Home.module.css" ;
5
5
6
6
const Home : NextPage = ( ) => {
7
7
return (
@@ -18,7 +18,7 @@ const Home: NextPage = () => {
18
18
</ h1 >
19
19
20
20
< p className = { styles . description } >
21
- Get started by editing{ ' ' }
21
+ Get started by editing{ " " }
22
22
< code className = { styles . code } > pages/index.tsx</ code >
23
23
</ p >
24
24
@@ -59,14 +59,19 @@ const Home: NextPage = () => {
59
59
target = "_blank"
60
60
rel = "noopener noreferrer"
61
61
>
62
- Powered by{ ' ' }
62
+ Powered by{ " " }
63
63
< span className = { styles . logo } >
64
- < Image src = "/vercel.svg" alt = "Vercel Logo" width = { 72 } height = { 16 } />
64
+ < Image
65
+ src = "/Next.js-and-GitHub-Pages-Example/vercel.svg"
66
+ alt = "Vercel Logo"
67
+ width = { 72 }
68
+ height = { 16 }
69
+ />
65
70
</ span >
66
71
</ a >
67
72
</ footer >
68
73
</ div >
69
- )
70
- }
74
+ ) ;
75
+ } ;
71
76
72
- export default Home
77
+ export default Home ;
You can’t perform that action at this time.
0 commit comments