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>
|
|
|
|
<div className='w-full px-4 mx-auto'>
|
|
|
|
<div className='flex flex-wrap px-4 py-6'>
|
|
|
|
<div className='flex-1'>
|
|
|
|
<div className='mb-8 border-b border-gray-600 dark:border-opacity-10 dark:border-white'>
|
|
|
|
<h3 className='text-yellow font-semibold text-xl my-3 dark:text-yellow-dark'>
|
|
|
|
{title}
|
|
|
|
</h3>
|
2021-04-18 01:56:23 +02:00
|
|
|
</div>
|
2021-05-08 19:52:04 +02:00
|
|
|
<div className='flex justify-around flex-wrap'>{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
|
|
|
)
|
|
|
|
}
|