mirror of
https://github.com/NeonGamerBot-QK/saahild.com.git
synced 2024-11-22 12:43:39 +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 Icon from './Icons'
|
||||||
import { javascriptReact } from "./icons_list"
|
import { javascriptReact } from './icons_list'
|
||||||
import "./404.css"
|
import './404.css'
|
||||||
import ReactParallaxTilt from "react-parallax-tilt"
|
import ReactParallaxTilt from 'react-parallax-tilt'
|
||||||
export default function Page404() {
|
export default function Page404 () {
|
||||||
return <div className="hero min-h-screen">
|
return <div className='hero min-h-screen'>
|
||||||
<div className="hero-content text-center">
|
<div className='hero-content text-center'>
|
||||||
<div className="max-w-md">
|
<div className='max-w-md'>
|
||||||
<ReactParallaxTilt>
|
<ReactParallaxTilt>
|
||||||
<Icon icon={javascriptReact} className='w-60 p-2 animate-404' noScale />
|
<Icon icon={javascriptReact} className='w-60 p-2 animate-404' noScale />
|
||||||
</ReactParallaxTilt>
|
</ReactParallaxTilt>
|
||||||
<h1 className="text-5xl font-bold text-highlight" >404?</h1>
|
<h1 className='text-5xl font-bold text-highlight' >404?</h1>
|
||||||
<p className="py-6">Seems you are on the wrong page.</p>
|
<p className='py-6'>Seems you are on the wrong page.</p>
|
||||||
<div>
|
<div>
|
||||||
<button className="btn mauve mr-2" style={{ background: "var(--surface0)"}} onClick={() => {
|
<button className='btn mauve mr-2' style={{ background: 'var(--surface0)'}} onClick={() => {
|
||||||
window.history.back()
|
window.history.back()
|
||||||
}}>Go back</button>
|
}}>Go back</button>
|
||||||
<button className="btn mauve" style={{ background: "var(--surface0)"}} onClick={() => {
|
<button className='btn mauve' style={{ background: 'var(--surface0)'}} onClick={() => {
|
||||||
window.location.hash = "#"
|
window.location.hash = '#'
|
||||||
}}>Go Home</button>
|
}}>Go Home</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
Loading…
Reference in a new issue