Files
pse.dev/components/sections/ConnectWithUs.tsx
Kalidou Diagne a972305d4b feat: add dark mode #422 (#466)
* feat: add dark mode #422
2025-06-16 10:34:24 +04:00

60 lines
2.0 KiB
TypeScript

import Image from "next/image"
import Link from "next/link"
import { LABELS } from "@/app/labels"
import { interpolate } from "@/lib/utils"
import { Card } from "../cards/card"
import { Icons } from "../icons"
import { AppContent } from "../ui/app-content"
import { Button } from "../ui/button"
const ConnectWithUs = () => {
return (
<div className="py-14 md:pb-32 md:pt-16">
<div className="flex flex-col gap-10">
<h3 className="text-center font-sans text-base font-bold uppercase tracking-[3.36px]">
{interpolate(LABELS.COMMON.OUR_YEAR_PROGRAM, {
year: new Date().getFullYear(),
})}
</h3>
<AppContent className="mx-auto max-w-[978px]">
<Card className="!px-10 !py-16">
<div className="bg-radial-gradient grid grid-cols-1 gap-8 md:grid-cols-[2fr_1fr] md:gap-4">
<div className="flex flex-col gap-8 text-center md:text-left">
<h3 className="text-4xl md:text-5xl">
{LABELS.HOMEPAGE.CONNECT_WITH_US.TITLE}
</h3>
<span> {LABELS.HOMEPAGE.CONNECT_WITH_US.DESCRIPTION}</span>
<div>
<Link href="/programs">
<Button className="w-full md:w-auto">
<div className="flex items-center gap-2">
<span className="uppercase">
{LABELS.COMMON.LEARN_MORE}
</span>
<Icons.arrowRight size={20} />
</div>
</Button>
</Link>
</div>
</div>
<Image
width={280}
height={280}
className="mx-auto h-[153px] w-[174px] lg:ml-auto lg:h-[256px] lg:w-[290px]"
src="/images/programs.png"
alt="computer image"
/>
</div>
</Card>
</AppContent>
</div>
</div>
)
}
ConnectWithUs.displayName = "ConnectWithUs"
export { ConnectWithUs }