2023-10-23 23:11:59 +02:00
|
|
|
import { ShadowContainer } from "@/components/design/ShadowContainer"
|
2021-04-18 01:56:23 +02:00
|
|
|
|
|
|
|
export interface SkillsSectionProps {
|
|
|
|
title: string
|
|
|
|
children: React.ReactNode
|
|
|
|
}
|
|
|
|
|
2023-08-01 17:22:09 +02:00
|
|
|
export const SkillsSection = (props: SkillsSectionProps): JSX.Element => {
|
2021-04-18 01:56:23 +02:00
|
|
|
const { title, children } = props
|
|
|
|
|
|
|
|
return (
|
2021-05-08 19:52:04 +02:00
|
|
|
<ShadowContainer>
|
2023-10-23 23:11:59 +02:00
|
|
|
<div className="mx-auto w-full px-4">
|
|
|
|
<div className="flex flex-wrap px-4 py-6">
|
|
|
|
<div className="flex-1">
|
2024-01-28 03:21:11 +01:00
|
|
|
<div className="mb-8 border-b border-gray-600 dark:border-white/10">
|
2024-04-06 20:25:02 +02:00
|
|
|
<h3 className="my-3 text-xl font-semibold text-primary dark:text-primary-dark">
|
2021-05-08 19:52:04 +02:00
|
|
|
{title}
|
|
|
|
</h3>
|
2021-04-18 01:56:23 +02:00
|
|
|
</div>
|
2023-10-23 23:11:59 +02:00
|
|
|
<div className="flex flex-wrap justify-around">{children}</div>
|
2021-04-18 01:56:23 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-05-08 19:52:04 +02:00
|
|
|
</div>
|
|
|
|
</ShadowContainer>
|
2021-04-18 01:56:23 +02:00
|
|
|
)
|
|
|
|
}
|