albert.lol/src/components/SocialLayout.tsx
ekreten 8762566434
Fix incorrect SocialLayout width
Signed-off-by: ekreten <135865390+ekreten@users.noreply.github.com>
2024-01-24 15:22:01 +01:00

22 lines
664 B
TypeScript

import { Socials } from '@/components/data/Socials'
import { Icon } from '@/components/Icon'
import React from 'react'
export const SocialLayout = () => {
return (
<div className='mt-3 grid w-fit grid-flow-col space-x-8 pl-1 text-[1.7rem] leading-none'>
{Socials.map((social) => (
<Icon
key={social.id}
reference={social.ref}
copyValue={social.copyValue}
>
{React.createElement(social.icon, {
className:
'fill-current focus:outline-none transition duration-300 ease-in-out hover:text-[#ad87ed] hover:scale-105',
})}
</Icon>
))}
</div>
)
}