Skip to content

Commit

Permalink
Merge pull request #213 from adrianvrj/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianvrj authored Nov 8, 2024
2 parents 2e07f65 + 54a38d5 commit 32454c6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions frontend/gostarkme-web/app/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ const Dashboard = () => {
let name = await fundContract.getName();
// GET FUND DESCRIPTION
let desc = await fundContract.getReason();
let desclen = desc.length;
if (desclen > 50) {
desc = desc.substring(0, 50) + "...";
}
// GET FUND ID
let fund_id = await fundContract.getId();
fundings.push({
Expand Down
2 changes: 1 addition & 1 deletion frontend/gostarkme-web/components/dashboard/fundCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const FundCards = ({ fund, index }: FundCardProps) => {
<Link onClick={handleNav} href={"/app/fund"}>
<div
key={index}
className="min-w-[30rem] bg-gray-950 shadow-[0px_4px_4px_0px_#00000040] text-white rounded-[10px] py-[32px] md:py-[48px] md:px-[48px] lg:py-[64px] lg:px-[72px] gap-8 md:gap-10 lg:gap-14 flex flex-col items-start justify-between"
className="min-w-[30rem] max-w-36 bg-gray-950 shadow-[0px_4px_4px_0px_#00000040] text-white rounded-[10px] py-[32px] md:py-[48px] md:px-[48px] lg:py-[64px] lg:px-[72px] gap-8 md:gap-10 lg:gap-14 flex flex-col items-start justify-between"
>
<div className="flex flex-col items-start justify-between gap-4 md:gap-6">
<p className=" text-sm md:text-base lg:text-lg text-white font-light leading-[22px] md:leading-[25px] lg:leading-[27.6px]">
Expand Down
6 changes: 3 additions & 3 deletions frontend/gostarkme-web/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ export const ARGENT_WEBWALLET_URL =
process.env.NEXT_PUBLIC_ARGENT_WEBWALLET_URL || "https://web.argent.xyz"

export const FUND_MANAGER_ADDR =
"0x044658b1431b41f8d2d942d263c0fe1fdf066eff4404a8fd6ca2d8baa146f750"
"0x05c1701879e0322024c174f074cd4a279ed5b536ecaa2447240cec1958f8f8e2"

export const navItems = [
{ label: 'My Profile', href: '/app/myprofile' },
{ label: 'My funds', href: '/app/myfunds' }
// { label: 'My Profile', href: '/app/myprofile' },
// { label: 'My funds', href: '/app/myfunds' }
];

export const upVotesNeeded = 50;

0 comments on commit 32454c6

Please sign in to comment.