-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into feature/issue_84
# Conflicts: # frontend/gostarkme-web/app/app/fund/[fundId]/page.tsx
- Loading branch information
Showing
17 changed files
with
489 additions
and
59 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
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
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,20 @@ | ||
"use client"; // Mark this component as a Client Component | ||
import Bounded from "@/components/ui/Bounded"; | ||
import Divider from "@/components/ui/Divider"; | ||
import Stages from "@/components/modules/newfunding/Stages"; | ||
|
||
const NewFundingPage = ({ params }: { params: { fundId: string } }) => { | ||
return ( | ||
<> | ||
<Bounded className="px-60 text-lg"> | ||
<h1 className="font-sans text-4xl font-normal leading-snug text-left"> | ||
Your new fund! | ||
</h1> | ||
<Divider /> | ||
<Stages /> | ||
</Bounded> | ||
</> | ||
); | ||
}; | ||
|
||
export default NewFundingPage; |
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,53 @@ | ||
import FundCards from "@/components/dashboard/fundCard"; | ||
import React from "react"; | ||
|
||
const Dashboard = () => { | ||
const funds = [ | ||
{ | ||
type: "Project", | ||
title: "Adrian's fund", | ||
description: "I need help with my project", | ||
}, | ||
{ | ||
type: "Charity", | ||
title: "Adrian's fund", | ||
description: "I need help with my project", | ||
}, | ||
{ | ||
type: "Charity", | ||
title: "Adrian's fund", | ||
description: "I need help with my project", | ||
}, | ||
{ | ||
type: "Project", | ||
title: "Adrian's fund", | ||
description: "I need help with my project", | ||
}, | ||
|
||
{ | ||
type: "Charity", | ||
title: "Adrian's fund", | ||
description: "I need help with my project", | ||
}, | ||
{ | ||
type: "Project", | ||
title: "Adrian's fund", | ||
description: "I need help with my project", | ||
}, | ||
]; | ||
return ( | ||
<div className="container mx-auto p-6 min-h-screen"> | ||
<h1 className="text-4xl font-bold mb-6 flex items-center"> | ||
Latest Funds | ||
<span className="ml-2 text-yellow-400">✨</span> | ||
</h1> | ||
<div className="grid grid-cols-1 md:grid-cols-2 gap-x-4 gap-y-6 md:gap-x-[138px] md:gap-y-[84px]"> | ||
{funds.map((fund, index) => ( | ||
<FundCards key={index} fund={fund} index={index} /> | ||
))} | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Dashboard; |
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
Oops, something went wrong.