Skip to content

Commit

Permalink
Update header layout in layout.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
walnuts1018 committed Jan 18, 2024
1 parent e333c29 commit b77fa09
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 24 deletions.
64 changes: 43 additions & 21 deletions public/lower-decoration.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@ function Header() {
return (
<header>
<div className='flex justify-center w-full '>
<div className='w-10/12 flex items-center justify-left h-12 md:h-16 text-black font-bold font-Nunito text-xl sm:text-2xl px-1'>
<div className='w-10/12 flex items-center justify-left h-12 md:h-16 text-black font-bold font-Nunito text-xl sm:text-2xl px-1 relative'>
<div className='h-full '>
<UpperDecoration className='h-2/3' />
<UpperDecoration className='h-3/4 sm:h-2/3 pr-2 sm:pr-0' />
</div>
<a className='logo' href='#'>
Walnuts.dev
</a>
<div className='h-full items-end flex'>
<div className='h-full items-end flex absolute right-0 sm:static'>
<LowerDecoration className='pl-1 h-3/4' />
</div>
</div>
Expand Down

0 comments on commit b77fa09

Please sign in to comment.