2021-04-18 01:56:23 +02:00
|
|
|
import { ShadowContainer } from 'components/design/ShadowContainer'
|
|
|
|
|
|
|
|
export interface SkillsSectionProps {
|
|
|
|
title: string
|
|
|
|
children: React.ReactNode
|
|
|
|
}
|
|
|
|
|
2021-05-08 19:52:04 +02:00
|
|
|
export const SkillsSection: React.FC<SkillsSectionProps> = (props) => {
|
2021-04-18 01:56:23 +02:00
|
|
|
const { title, children } = props
|
|
|
|
|
|
|
|
return (
|
2021-05-08 19:52:04 +02:00
|
|
|
<ShadowContainer>
|
2021-12-04 15:52:51 +01:00
|
|
|
<div className='mx-auto w-full px-4'>
|
2021-05-08 19:52:04 +02:00
|
|
|
<div className='flex flex-wrap px-4 py-6'>
|
|
|
|
<div className='flex-1'>
|
2021-12-04 15:52:51 +01:00
|
|
|
<div className='mb-8 border-b border-gray-600 dark:border-white dark:border-opacity-10'>
|
|
|
|
<h3 className='my-3 text-xl font-semibold text-yellow dark:text-yellow-dark'>
|
2021-05-08 19:52:04 +02:00
|
|
|
{title}
|
|
|
|
</h3>
|
2021-04-18 01:56:23 +02:00
|
|
|
</div>
|
2021-12-04 15:52:51 +01: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
|
|
|
)
|
|
|
|
}
|