Refactor UI components, update links in Home page

This commit is contained in:
THIS ONE IS A LITTLE BIT TRICKY KRUB 2024-09-11 21:45:47 +07:00
parent 954b0068fb
commit 6c1be730e5

View File

@ -26,7 +26,7 @@ export default function Home() {
<p>Together, we turn ideas into impact.</p> <p>Together, we turn ideas into impact.</p>
</span> </span>
<Button className="font-bold mt-4"> <Button className="font-bold mt-4">
<Link href="/">Start Investing</Link> <Link href="/deals">Start Investing</Link>
</Button> </Button>
</span> </span>
</div> </div>
@ -88,18 +88,20 @@ export default function Home() {
</p> </p>
</span> </span>
<div className="grid grid-cols-4 gap-4"> <div className="grid grid-cols-4 gap-4">
<ExtendableCard <Link href={"/invest"}>
name={"NVDA"} <ExtendableCard
description={ name={"NVDA"}
"Founded in 1993, NVIDIA is a key innovator of computer graphics and AI technology" description={
} "Founded in 1993, NVIDIA is a key innovator of computer graphics and AI technology"
joinDate={"December 2021"} }
location={"Bangkok, Thailand"} joinDate={"December 2021"}
tags={null} location={"Bangkok, Thailand"}
minInvestment={10000} tags={null}
totalInvestor={58400} minInvestment={10000}
totalRaised={9000000} totalInvestor={58400}
/> totalRaised={9000000}
/>
</Link>
<ExtendableCard <ExtendableCard
name={"Apple Inc."} name={"Apple Inc."}
description={ description={
@ -139,7 +141,7 @@ export default function Home() {
</div> </div>
<div className="self-center py-5"> <div className="self-center py-5">
<Button> <Button>
<Link href={"/invest"}>View all</Link> <Link href={"/deals"}>View all</Link>
</Button> </Button>
</div> </div>
</div> </div>