Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

Commit

Permalink
feat: improving root page styling (#289)
Browse files Browse the repository at this point in the history
Signed-off-by: AlexNg <[email protected]>
  • Loading branch information
caffeine-addictt authored Aug 13, 2024
2 parents 050c06c + 8cd217b commit 98699cf
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions client/src/pages/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,18 @@ const RootPage: PageComponent = (props) => {
loading="eager"
height="600"
></img>
<div className="absolute bottom-6 left-1 mb-4 md:bottom-1/3 md:left-10 lg:bottom-1/2">
<h1 className="mb-4 text-base font-bold md:text-2xl lg:text-4xl">
Driving sustainable food possibilties
<div className="absolute top-1/2 mb-4 ml-2 flex size-fit -translate-y-1/2 flex-col md:bottom-1/3 md:left-10 lg:bottom-1/2">
<h1 className="text-2xl font-bold md:text-4xl lg:text-6xl">
GreenBites <span className="text-green-700">SG</span>
</h1>
<h3 className="sm:mb-5 lg:mb-10 lg:text-4xl">
Driving sustainable food possibilties
</h3>
<InternalLink
href="/register"
variant="secondary"
size="default"
className="!bg-primary-light"
className="mt-5 w-fit !bg-primary-light"
>
Start Now
</InternalLink>
Expand Down

0 comments on commit 98699cf

Please sign in to comment.