Shorten homepage filew
This commit is contained in:
@@ -6,36 +6,34 @@ import { Metadata } from '@redwoodjs/web'
|
|||||||
|
|
||||||
import TitlesCell from 'src/components/Title/TitlesCell'
|
import TitlesCell from 'src/components/Title/TitlesCell'
|
||||||
|
|
||||||
const HomePage = () => {
|
const HomePage = () => (
|
||||||
return (
|
<>
|
||||||
<>
|
<Metadata title="Home" />
|
||||||
<Metadata title="Home" />
|
|
||||||
|
|
||||||
<div className="hero min-h-[calc(100vh-6rem)]">
|
<div className="hero min-h-[calc(100vh-6rem)]">
|
||||||
<div className="hero-content flex flex-col gap-8">
|
<div className="hero-content flex flex-col gap-8">
|
||||||
<div className="text-center">
|
<div className="text-center">
|
||||||
<TitlesCell className="text-primary" />
|
<TitlesCell className="text-primary" />
|
||||||
</div>
|
</div>
|
||||||
<div className="flex gap-2">
|
<div className="flex gap-2">
|
||||||
<Link
|
<Link
|
||||||
to={routes.projects()}
|
to={routes.projects()}
|
||||||
className="btn btn-primary btn-outline sm:btn-wide btn-lg"
|
className="btn btn-primary btn-outline sm:btn-wide btn-lg"
|
||||||
>
|
>
|
||||||
<Icon path={mdiCompass} className="size-6" />
|
<Icon path={mdiCompass} className="size-6" />
|
||||||
Explore
|
Explore
|
||||||
</Link>
|
</Link>
|
||||||
<Link
|
<Link
|
||||||
to={routes.contact()}
|
to={routes.contact()}
|
||||||
className="btn btn-primary btn-outline sm:btn-wide btn-lg"
|
className="btn btn-primary btn-outline sm:btn-wide btn-lg"
|
||||||
>
|
>
|
||||||
<Icon path={mdiContacts} className="size-6" />
|
<Icon path={mdiContacts} className="size-6" />
|
||||||
Contact
|
Contact
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</>
|
</div>
|
||||||
)
|
</>
|
||||||
}
|
)
|
||||||
|
|
||||||
export default HomePage
|
export default HomePage
|
||||||
|
|||||||
Reference in New Issue
Block a user