Skip to content

Commit

Permalink
404 adjust
Browse files Browse the repository at this point in the history
  • Loading branch information
lassejaco committed Jan 3, 2024
1 parent 46eb4ad commit 038524d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
Empty file.
13 changes: 6 additions & 7 deletions devcon/src/pages/404.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'
import Image404 from 'assets/images/404.png'
import themes from './themes.module.scss'
import { PageHero } from 'components/common/page-hero'
import Image from "next/legacy/image"
import Image from 'next/image'
import css from './404.module.scss'
import { GetPage } from 'services/page'
import { pageHOC } from 'context/pageHOC'
Expand All @@ -12,19 +12,18 @@ import Page from 'components/common/layouts/page'
const FourOhFour = pageHOC(() => {
return (
<Page theme={themes['no-page']}>
<PageHero
{/* <PageHero
path={[
{ text: <span className="bold">4</span> },
{ text: <span className="bold">0</span> },
{ text: <span className="bold">4</span> },
]}
/>
/> */}

<div className="section clear-top clear-bottom">
<div className={css['container']}>
<div className={css['center']}>
<Image src={Image404} alt="Man looking for something" />
</div>
<div className="flex flex-col items-center justify-center">
<h1 className="mb-4">Page Not Found >:(</h1>
<Image src={Image404} alt="Man looking for something" style={{ width: 'min(100%, 600px)' }} />
</div>
</div>
</Page>
Expand Down

0 comments on commit 038524d

Please sign in to comment.