1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2025-05-29 22:37:44 +02:00

feat: display age nearby the birth date

This commit is contained in:
Divlo
2022-03-24 11:45:19 +01:00
parent 1152039663
commit a67d6665ea
13 changed files with 3273 additions and 4867 deletions

View File

@ -3,13 +3,19 @@ import { ProfileInformation } from './ProfileInfo'
import { ProfileList } from './ProfileList'
import { ProfileLogo } from './ProfileLogo'
export const Profile: React.FC = () => {
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 />
<ProfileList age={age} />
<ProfileDescriptionBottom />
</div>
</div>