generated from UoaWDCC/ssr-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
39 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import auisLogo from "../assets/peacock.png"; | ||
import auisAbbrev from "../assets/AUIS_black 3.png"; | ||
|
||
export default function Hero() { | ||
return ( | ||
<> | ||
<div className=" min-h-[calc(100vh-70px)] bg-gradient-to-br from-orange-500 to-orange-50"> | ||
<div className="p-4 flex-row"> | ||
<div className="grid grid-cols-1 md:grid-cols-2 place-items-center"> | ||
<div className="grid grid-rows-3 place-items-center"> | ||
<img | ||
src={auisAbbrev} | ||
alt="AUIS logo" | ||
className="h-auto max-w-lg rounded-lg" | ||
/> | ||
<p className="py: text-3xl text-black text-center font-bold justify-self-stretch pt-6"> | ||
Not a member? | ||
</p> | ||
<div className="btn text-red-50 justify-self-stretch"> | ||
Sign-Up | ||
</div> | ||
</div> | ||
<div> | ||
<img src={auisLogo} alt="AUIS logo" className="ml-70" /> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,9 @@ | ||
import auisLogo from "../assets/peacock.png"; | ||
import auisAbbrev from "../assets/AUIS_black 3.png"; | ||
|
||
import Hero from "@components/Hero"; | ||
|
||
export default function HomeScreen() { | ||
return ( | ||
<div> | ||
<div className="min-h-[calc(100%)] bg-gradient-to-br from-orange-500 to-orange-50"> | ||
<div className="p-4 flex-row"> | ||
<div className="grid grid-cols-1 md:grid-cols-2 place-items-center"> | ||
<div className="grid grid-rows-3 place-items-center"> | ||
<img src={auisAbbrev} alt="AUIS logo" className="h-auto max-w-lg rounded-lg" /> | ||
<p className="py: text-3xl text-black text-center font-bold justify-self-stretch pt-6"> | ||
Not a member? | ||
</p> | ||
<div className="btn text-red-50 justify-self-stretch"> | ||
Sign-Up | ||
</div> | ||
</div> | ||
|
||
<div> | ||
<img src={auisLogo} alt="AUIS logo" className="ml-70" /> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<Hero/> | ||
</div> | ||
); | ||
} |