-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace back to home link on page not found with NuxtLink
- Loading branch information
1 parent
e2a23e1
commit beb0068
Showing
1 changed file
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<template> | ||
<main> | ||
<ContentDoc> | ||
<template #not-found> | ||
<div class="text-center py-16"> | ||
<h1 class="text-4xl font-bold mb-4">Document Not Found</h1> | ||
<p class="text-lg mb-4">Sorry, the document you are looking for does not exist.</p> | ||
<a href="/" class="text-primary underline">Go back to the homepage</a> | ||
</div> | ||
</template> | ||
</ContentDoc> | ||
</main> | ||
<main> | ||
<ContentDoc> | ||
<template #not-found> | ||
<div class="text-center py-16"> | ||
<h1 class="text-4xl font-bold mb-4">Document Not Found</h1> | ||
<p class="text-lg mb-4">Sorry, the document you are looking for does not exist.</p> | ||
<NuxtLink to="/" class="text-primary underline">Go back to the homepage</NuxtLink> | ||
</div> | ||
</template> | ||
</ContentDoc> | ||
</main> | ||
</template> |