Update all dependencies
This takes part of the work being done in #96 that was reverted but still useful. Note Tailwind and Fresh weren't upgraded because there's no security vulnerability in either, and I have found the new versions to be worse in performance. Thos will likely stay at those fixed versions going forward.
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
import { Head } from 'fresh/runtime.ts';
|
||||
import { PageProps } from 'fresh/server.ts';
|
||||
|
||||
import { FreshContextState } from '/lib/types.ts';
|
||||
|
||||
interface Data {}
|
||||
|
||||
export default function Error404({ state }: PageProps<Data, FreshContextState>) {
|
||||
export default function Error404() {
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
@@ -13,20 +8,6 @@ export default function Error404({ state }: PageProps<Data, FreshContextState>)
|
||||
</Head>
|
||||
<main>
|
||||
<section class='max-w-screen-md mx-auto flex flex-col items-center justify-center'>
|
||||
{!state.user
|
||||
? (
|
||||
<>
|
||||
<img
|
||||
class='my-6'
|
||||
src='/images/logo-white.svg'
|
||||
width='250'
|
||||
height='50'
|
||||
alt='the bewCloud logo: a stylized logo'
|
||||
/>
|
||||
<h1>404 - Page not found</h1>
|
||||
</>
|
||||
)
|
||||
: null}
|
||||
<p class='my-4'>
|
||||
The page you were looking for doesn't exist.
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user