Skip to content

Commit

Permalink
feature(website): small changes to campaign page (#773)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssandino authored Mar 16, 2024
1 parent 6ba834c commit 4848da3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,17 +91,22 @@ export default async function Page({ params }: CampaignPageProps) {
<div className="grid grid-cols-1 gap-20 lg:grid-cols-2">
<div className="flex flex-col justify-center gap-3">
<div>
<Typography size="xl" color="primary">
<Typography size="xl" color="muted-foreground">
{translator.t('campaign.by', { context: { creator: campaign.creator_name } })}
</Typography>
</div>
<div>
<Typography weight="medium" color="primary" style={{ lineHeight: '70px' }} className="mt-2 text-[4rem]">
<Typography
weight="medium"
color="foreground"
style={{ lineHeight: '70px' }}
className="mt-2 text-[4rem]"
>
{campaign.title}
</Typography>
</div>
<div className="my-8">
<Typography size="2xl" color="primary">
<Typography size="2xl" color="muted-foreground">
{campaign.description}
</Typography>
</div>
Expand Down Expand Up @@ -225,24 +230,24 @@ export default async function Page({ params }: CampaignPageProps) {
<div className="grid grid-cols-1 gap-20 py-16 lg:grid-cols-2">
<div>
<div className="flex flex-col justify-center">
<Typography size="2xl" color="primary" weight="medium">
<Typography size="2xl" color="foreground" weight="medium">
{campaign.second_description_title}
</Typography>
</div>
<div className="flex flex-col justify-center">
<Typography className={'mt-4'} color="primary" size="xl">
<Typography className={'mt-4'} color="muted-foreground" size="xl">
{campaign.second_description}
</Typography>
</div>
</div>
<div>
<div className="flex flex-col justify-center">
<Typography size="2xl" color="primary" weight="medium">
<Typography size="2xl" color="foreground" weight="medium">
{campaign.third_description_title}
</Typography>
</div>
<div className="flex flex-col justify-center">
<Typography className={'mt-4'} color="primary" size="xl">
<Typography className={'mt-4'} color="muted-foreground" size="xl">
{campaign.third_description}
</Typography>
</div>
Expand All @@ -254,20 +259,20 @@ export default async function Page({ params }: CampaignPageProps) {
<div className="grid grid-cols-1 gap-20 py-8 lg:grid-cols-2 lg:py-16">
<div>
<div className="flex flex-col justify-center">
<Typography size="2xl" color="primary" weight="medium">
<Typography size="2xl" color="foreground" weight="medium">
{translator.t('campaign.about-si-title')}
</Typography>
</div>
<div className="flex flex-col justify-center">
<Typography className={'mt-4'} color="primary" size="xl">
<Typography className={'mt-4'} color="muted-foreground" size="xl">
{translator.t('campaign.about-si-text-1')}
</Typography>
<Typography className={'mt-4'} color="primary" size="xl">
<Typography className={'mt-4'} color="muted-foreground" size="xl">
{translator.t('campaign.about-si-text-2')}
</Typography>
<Typography
className={'mt-4 underline'}
color="primary"
color="muted-foreground"
size="xl"
dangerouslySetInnerHTML={{ __html: translator.t('campaign.about-si-link') }}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export default function OneTimeDonationForm({ translations, lang, region, campai
}}
>
{createToggleGroupItems(
interval === DonationInterval.Monthly ? [40, 60, 100, 200, 300] : [25, 50, 100, 500, 1000],
interval === DonationInterval.Monthly ? [10, 30, 100, 150, 200] : [25, 50, 100, 500, 1000],
)}
</ToggleGroup>
<div className="flex flex-col sm:flex-row sm:space-x-2 sm:space-y-0 md:items-center">
Expand Down

0 comments on commit 4848da3

Please sign in to comment.