Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed not-found component navigation #4

Merged
merged 1 commit into from
Sep 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions src/app/not-found.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
'use client';

import Image from 'next/image';
import Link from 'next/link';

import image404 from '@images/404.jpg';

Expand Down Expand Up @@ -31,9 +28,9 @@ export default function NotFound() {
The page you are looking for could not be found.
</p>

<Link href={'/'} className="button" data-aos="fade-up" data-aos-duration="1200" data-aos-delay="100">
<a href="/" className="button" data-aos="fade-up" data-aos-duration="1200" data-aos-delay="100">
BACK TO HOME
</Link>
</a>
</div>
</div>
</div>
Expand Down