feat: add slashscreen as home

This commit is contained in:
Nicola Zambello 2022-02-14 21:17:31 +01:00
parent e6228ab8ab
commit a6f43af508
2 changed files with 17 additions and 3 deletions

View file

@ -30,9 +30,23 @@ export default function Index() {
return ( return (
<> <>
<Header user={data.user} /> <Header user={data.user} />
<div className="container"> <div
<div className="content"> className="hero fixed top-0 left-0 h-screen w-screen"
<h1>Explit</h1> style={{
backgroundImage: 'url("/explit.png")',
}}
>
<div className="hero-overlay bg-opacity-60"></div>
<div className="text-center hero-content glass rounded-box w-[80%] py-16 text-neutral-content">
<div className="max-w-md">
<h1 className="mb-5 text-5xl font-bold">Explit</h1>
<p className="mb-5">
Track and split shared expenses with friends and family.
</p>
<Link to="/signin" className="btn btn-primary">
Get Started
</Link>
</div>
</div> </div>
</div> </div>
</> </>

BIN
public/explit.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB