1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2024-12-08 00:44:30 +01:00
.profile/components/Skills/SkillsSection.tsx

28 lines
817 B
TypeScript
Raw Normal View History

import { ShadowContainer } from "@/components/design/ShadowContainer"
2021-04-18 01:56:23 +02:00
export interface SkillsSectionProps {
title: string
children: React.ReactNode
}
export const SkillsSection = (props: SkillsSectionProps): JSX.Element => {
2021-04-18 01:56:23 +02:00
const { title, children } = props
return (
<ShadowContainer>
<div className="mx-auto w-full px-4">
<div className="flex flex-wrap px-4 py-6">
<div className="flex-1">
<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">
{title}
</h3>
2021-04-18 01:56:23 +02:00
</div>
<ul className="flex flex-wrap justify-around">{children}</ul>
2021-04-18 01:56:23 +02:00
</div>
</div>
</div>
</ShadowContainer>
2021-04-18 01:56:23 +02:00
)
}