update alt tag
This commit is contained in:
parent
6711797f99
commit
3e7bbed210
1 changed files with 6 additions and 2 deletions
|
@ -115,7 +115,11 @@ export default function Page({
|
||||||
const { demonym, flag } = nationalityData
|
const { demonym, flag } = nationalityData
|
||||||
return (
|
return (
|
||||||
<div className='flex items-center'>
|
<div className='flex items-center'>
|
||||||
<img src={flag} className='w-10 border-2 border-slate-200' />
|
<img
|
||||||
|
src={flag}
|
||||||
|
className='w-10 border-2 border-slate-200'
|
||||||
|
alt={`${demonym} flag`}
|
||||||
|
/>
|
||||||
<span className='mx-3 font-semibold'>{demonym}</span>
|
<span className='mx-3 font-semibold'>{demonym}</span>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
@ -138,7 +142,7 @@ export default function Page({
|
||||||
<div className='grid grid-cols-1 md:grid-cols-2 items-center max-w-3xl mx-auto'>
|
<div className='grid grid-cols-1 md:grid-cols-2 items-center max-w-3xl mx-auto'>
|
||||||
<div className='aspect-square w-[60vw] md:w-[30vw] lg:w-[20vw] 2xl:w-[15vw] overflow-hidden mx-auto mb-4'>
|
<div className='aspect-square w-[60vw] md:w-[30vw] lg:w-[20vw] 2xl:w-[15vw] overflow-hidden mx-auto mb-4'>
|
||||||
<img
|
<img
|
||||||
alt='profile picture'
|
alt='profile'
|
||||||
className='rounded-full mx-auto object-cover w-full h-full border-slate-800 border-4'
|
className='rounded-full mx-auto object-cover w-full h-full border-slate-800 border-4'
|
||||||
src={image}
|
src={image}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in a new issue