mirror of
https://github.com/theoludwig/theoludwig.git
synced 2024-11-09 22:09:07 +01:00
24 lines
617 B
TypeScript
24 lines
617 B
TypeScript
import { ProfileDescriptionBottom } from './ProfileDescriptionBottom'
|
|
import { ProfileInformation } from './ProfileInfo'
|
|
import { ProfileList } from './ProfileList'
|
|
import { ProfileLogo } from './ProfileLogo'
|
|
|
|
export interface ProfileProps {
|
|
age: number
|
|
}
|
|
|
|
export const Profile: React.FC<ProfileProps> = (props) => {
|
|
const { age } = props
|
|
|
|
return (
|
|
<div className='flex flex-col items-center justify-center px-10 pt-2 md:flex-row md:pt-10'>
|
|
<ProfileLogo />
|
|
<div>
|
|
<ProfileInformation />
|
|
<ProfileList age={age} />
|
|
<ProfileDescriptionBottom />
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|