-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from vnvyvu/init
Responsive
- Loading branch information
Showing
2 changed files
with
16 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,36 +10,40 @@ import { LabelWithIcon } from '../_components/label-with-icon'; | |
|
||
export default async function Header() { | ||
return ( | ||
<header className='bg-sky-900 px-8 py-4 gap-8 flex text-base'> | ||
<div className='flex flex-wrap text-sm'> | ||
<h1 className='font-semibold text-3xl basis-full'>VU CHI VY</h1> | ||
<h2 className='font-semibold text-base basis-full'> | ||
<header className='bg-sky-900 px-8 py-4 gap-4 flex flex-col text-base'> | ||
<div className='sm:relative flex flex-wrap text-sm'> | ||
<h1 className='font-semibold text-3xl basis-full max-sm:text-center'> | ||
VU CHI VY | ||
</h1> | ||
<h2 className='font-semibold text-base basis-full max-sm:text-center'> | ||
Web Developer | ||
</h2> | ||
<div className='max-sm:mx-auto max-sm:mt-2 sm:absolute sm:right-0 min-w-32 max-w-32 min-h-32 max-h-28 max-md:mt-10 overflow-clip rounded-md ml-auto max-lg:mt-4'> | ||
<Image src={avatar} className='-mt-5' alt='avatar' /> | ||
</div> | ||
</div> | ||
<div className='flex flex-wrap gap-y-2 max-w-[75%] max-sm:max-w-[100%] max-sm:flex-nowrap max-sm:flex-col max-sm:items-center max-sm:gap-y-0.5'> | ||
<LabelWithIcon | ||
icon={<SiMaildotru size={24} className='min-w-7' />} | ||
label='[email protected]' | ||
className='basis-1/2' | ||
className='basis-1/2 max-lg:mb-2' | ||
/> | ||
<LabelWithIcon | ||
icon={<SiLinkedin size={24} className='min-w-7' />} | ||
label='https://www.linkedin.com/in/vyvu99/' | ||
className='basis-1/2' | ||
className='basis-1/2 max-lg:mb-2' | ||
/> | ||
<LabelWithIcon | ||
icon={<SiGithub size={24} className='min-w-7' />} | ||
label='https://github.com/vnvyvu' | ||
className='basis-1/2' | ||
className='basis-1/2 max-lg:mb-2' | ||
/> | ||
<LabelWithIcon | ||
icon={<SiGooglemaps size={24} className='min-w-7' />} | ||
label='Thanh Xuan district' | ||
className='basis-1/2' | ||
className='basis-1/2 max-lg:mb-2' | ||
/> | ||
</div> | ||
<div className='min-w-36 max-w-36 min-h-36 max-h-36 overflow-clip rounded-md mt-5 ml-auto'> | ||
<Image src={avatar} className='-mt-5' alt='avatar' /> | ||
</div> | ||
</header> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters