Skip to content

Commit 11b9952

Browse files
committed
Add not-found and loading files
1 parent 724b3af commit 11b9952

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

src/app/blog/not-found.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import Link from 'next/link'
2+
3+
export default function NotFound() {
4+
return (
5+
<div>
6+
<h2>Not Found</h2>
7+
<p>Could not find requested resource</p>
8+
<Link href="/">Regresar al Inicio</Link>
9+
</div>
10+
)
11+
}

src/app/feed/loading.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export default function Loading() {
2+
// Or a custom loading skeleton component
3+
return <p>Loading...</p>
4+
}

0 commit comments

Comments
 (0)