File tree Expand file tree Collapse file tree 2 files changed +16
-12
lines changed
Expand file tree Collapse file tree 2 files changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,8 @@ const nextConfig = {
66 output : "export" ,
77 images : {
88 loader : "akamai" ,
9- path : "/Next.js-and-GitHub-Pages-Example/ " ,
9+ path : "" ,
1010 } ,
11- assetPrefix : "/Next.js-and-GitHub-Pages-Example" ,
1211} ;
1312
1413export 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" ;
55
66const Home : NextPage = ( ) => {
77 return (
@@ -18,7 +18,7 @@ const Home: NextPage = () => {
1818 </ h1 >
1919
2020 < p className = { styles . description } >
21- Get started by editing{ ' ' }
21+ Get started by editing{ " " }
2222 < code className = { styles . code } > pages/index.tsx</ code >
2323 </ p >
2424
@@ -59,14 +59,19 @@ const Home: NextPage = () => {
5959 target = "_blank"
6060 rel = "noopener noreferrer"
6161 >
62- Powered by{ ' ' }
62+ Powered by{ " " }
6363 < 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+ />
6570 </ span >
6671 </ a >
6772 </ footer >
6873 </ div >
69- )
70- }
74+ ) ;
75+ } ;
7176
72- export default Home
77+ export default Home ;
You can’t perform that action at this time.
0 commit comments