Skip to content

Commit fd7ab4e

Browse files
authored
Merge pull request #421 from devforth/feature/AdminForth/1035/404-page-is-not-on-full-height
fix: hide sidebar and center content on 404 page
2 parents c36cea6 + 7363476 commit fd7ab4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adminforth/spa/src/views/PageNotFound.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<template>
2-
<section class="bg-white dark:bg-gray-900">
2+
<section class="flex flex-col items-center justify-center">
33
<div class="py-8 px-4 mx-auto max-w-screen-xl lg:py-16 lg:px-6">
44
<div class="mx-auto max-w-screen-sm text-center">
55
<h1 class="mb-4 text-7xl tracking-tight font-extrabold lg:text-9xl text-lightPrimary dark:text-darkPrimary">404</h1>
66
<p class="mb-4 text-3xl tracking-tight font-bold text-gray-900 md:text-4xl dark:text-white">{{ $t("Something's missing.") }}</p>
77
<p class="mb-4 text-lg font-light text-gray-500 dark:text-gray-400">{{ $t("Sorry, we can't find that page. You'll find lots to explore on the home page.") }} </p>
88
<div class="flex justify-center">
9-
<LinkButton to="/">{{ $t('Go back home') }}</LinkButton>
9+
<LinkButton to="/">{{ $t('Go back home') }}</LinkButton>
1010
</div>
1111
</div>
1212
</div>

0 commit comments

Comments
 (0)