-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
146 additions
and
158 deletions.
There are no files selected for viewing
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
import { DefaultPageProps } from '@/app/[lang]/[country]'; | ||
import { ClockIcon } from '@heroicons/react/24/solid'; | ||
import { Translator } from '@socialincome/shared/src/utils/i18n'; | ||
import { BaseContainer, Typography } from '@socialincome/ui'; | ||
import Link from 'next/link'; | ||
|
@@ -10,25 +11,24 @@ export default async function Section1({ params }: DefaultPageProps) { | |
}); | ||
|
||
return ( | ||
<BaseContainer className="mt-20 flex flex-col content-center justify-center text-center"> | ||
<Typography size="4xl" weight="bold" lineHeight="loose" className="m-3 w-auto pb-4"> | ||
<BaseContainer className="mt-12 flex flex-col items-center space-y-4"> | ||
<Typography as="h1" size="4xl" weight="bold" className="text-center"> | ||
{translator.t('section-1.title')} | ||
</Typography> | ||
<Typography as="p" size="xl" weight="normal" lineHeight="relaxed" className="m-auto w-4/5 px-1 pb-3 sm:w-3/5"> | ||
<Typography as="h2" size="xl" className="max-w-2xl"> | ||
{translator.t('section-1.subtitle-1')} | ||
</Typography> | ||
<Typography as="p" size="xl" weight="normal" lineHeight="relaxed" className="m-auto w-4/5 pb-3 sm:w-3/5"> | ||
{translator.t('section-1.subtitle-2')} <br /> | ||
<Link href="mailto: [email protected]" className="text-blue-500 hover:text-blue-700"> | ||
<Typography as="h2" size="xl" className="max-w-2xl"> | ||
{translator.t('section-1.subtitle-2')} | ||
<Link href="mailto: [email protected]" className="text-primary"> | ||
{translator.t('section-1.subtitle-3')} | ||
</Link> | ||
. | ||
</Typography> | ||
<div className=" flex justify-center text-center align-middle "> | ||
<svg xmlns="http://www.w3.org/2000/svg" height="0.8em" viewBox="0 0 512 512"> | ||
<path d="M464 256A208 208 0 1 1 48 256a208 208 0 1 1 416 0zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM232 120V256c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2V120c0-13.3-10.7-24-24-24s-24 10.7-24 24z" /> | ||
</svg> | ||
<span className="px-2 text-xs text-zinc-400">{translator.t('section-1.lastUpdate')}</span> | ||
<div className=" flex items-center"> | ||
<ClockIcon className="mr-2 h-5 w-5" /> | ||
<Typography size="sm" color="muted-foreground"> | ||
{translator.t('section-1.lastUpdate')} | ||
</Typography> | ||
</div> | ||
</BaseContainer> | ||
); | ||
|
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