mirror of
https://github.com/theoludwig/theoludwig.git
synced 2025-12-12 20:46:52 +01:00
40 lines
1.2 KiB
TypeScript
40 lines
1.2 KiB
TypeScript
import { useTranslations } from "next-intl"
|
|
import { Section, SectionTitle } from "../../Layout/Section/Section.tsx"
|
|
import type { PortfolioProject } from "./PortfolioItem.tsx"
|
|
import { PortfolioItem } from "./PortfolioItem.tsx"
|
|
|
|
export interface PortfolioProps {}
|
|
|
|
export const Portfolio: React.FC<PortfolioProps> = () => {
|
|
const t = useTranslations()
|
|
|
|
const items: PortfolioProject[] = [
|
|
{
|
|
id: "carolo",
|
|
title: t("home.portfolio.carolo.title"),
|
|
description: t("home.portfolio.carolo.description"),
|
|
link: "https://carolo.theoludwig.fr/",
|
|
image: "/images/portfolio/Carolo.webp",
|
|
},
|
|
{
|
|
id: "leon",
|
|
title: t("home.portfolio.leon.title"),
|
|
description: t("home.portfolio.leon.description"),
|
|
link: "https://getleon.ai/",
|
|
image: "/images/portfolio/Leon.webp",
|
|
},
|
|
]
|
|
|
|
return (
|
|
<Section verticalSpacing horizontalSpacing id="portfolio">
|
|
<SectionTitle>{t("home.portfolio.title")}</SectionTitle>
|
|
|
|
<ul className="flex w-full list-none flex-wrap justify-center gap-12 px-3">
|
|
{items.map((item) => {
|
|
return <PortfolioItem key={item.id} portfolioProject={item} />
|
|
})}
|
|
</ul>
|
|
</Section>
|
|
)
|
|
}
|