mirror of
https://github.com/NeonGamerBot-QK/saahild.com.git
synced 2024-11-22 04:43:38 +00:00
Fix lint errors for src/components/static/404.tsx
This commit is contained in:
parent
223affe5dc
commit
06385d0660
1 changed files with 24 additions and 24 deletions
|
@ -1,26 +1,26 @@
|
|||
import Icon from "./Icons"
|
||||
import { javascriptReact } from "./icons_list"
|
||||
import "./404.css"
|
||||
import ReactParallaxTilt from "react-parallax-tilt"
|
||||
export default function Page404() {
|
||||
return <div className="hero min-h-screen">
|
||||
<div className="hero-content text-center">
|
||||
<div className="max-w-md">
|
||||
<ReactParallaxTilt>
|
||||
<Icon icon={javascriptReact} className='w-60 p-2 animate-404' noScale />
|
||||
</ReactParallaxTilt>
|
||||
<h1 className="text-5xl font-bold text-highlight" >404?</h1>
|
||||
<p className="py-6">Seems you are on the wrong page.</p>
|
||||
<div>
|
||||
<button className="btn mauve mr-2" style={{ background: "var(--surface0)"}} onClick={() => {
|
||||
window.history.back()
|
||||
}}>Go back</button>
|
||||
<button className="btn mauve" style={{ background: "var(--surface0)"}} onClick={() => {
|
||||
window.location.hash = "#"
|
||||
}}>Go Home</button>
|
||||
</div>
|
||||
import Icon from './Icons'
|
||||
import { javascriptReact } from './icons_list'
|
||||
import './404.css'
|
||||
import ReactParallaxTilt from 'react-parallax-tilt'
|
||||
export default function Page404 () {
|
||||
return <div className='hero min-h-screen'>
|
||||
<div className='hero-content text-center'>
|
||||
<div className='max-w-md'>
|
||||
<ReactParallaxTilt>
|
||||
<Icon icon={javascriptReact} className='w-60 p-2 animate-404' noScale />
|
||||
</ReactParallaxTilt>
|
||||
<h1 className='text-5xl font-bold text-highlight' >404?</h1>
|
||||
<p className='py-6'>Seems you are on the wrong page.</p>
|
||||
<div>
|
||||
<button className='btn mauve mr-2' style={{ background: 'var(--surface0)'}} onClick={() => {
|
||||
window.history.back()
|
||||
}}>Go back</button>
|
||||
<button className='btn mauve' style={{ background: 'var(--surface0)'}} onClick={() => {
|
||||
window.location.hash = '#'
|
||||
}}>Go Home</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
}
|
Loading…
Reference in a new issue