Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interface LinkI {

const LINKS: LinkI[] = [
{
name: 'Home',
name: 'Inicio',
url: '/',
color: 'red'
},
Expand Down Expand Up @@ -63,17 +63,19 @@ export default function Header (): JSX.Element {

return (
<header>
<div className='relative z-20 flex items-center gap-4 bg-white p-4'>
<h1 className='select-none text-2xl font-light md:text-8xl'>
<Link href='/'>PointWall</Link>
<div className='container mx-auto'>
<div className='relative z-20 flex items-center gap-4 p-4' style={{backgroundColor:'#2a9d8f'}}>
<h1 className='select-none text-white font-back text-3xl' style={{fontWeight:'900',fontFamily:'Poppins'}}>
<Link href='/'>PointWall<b className='text-xl'>.com.ar</b></Link>
</h1>
<LoginButton />
<span onClick={handleHambMenuClick} className='md:hidden'>
<HambMenu isOpen={isMenuVisible} />
</span>
</div>
<nav>
<ul className='css-desktop-header flex w-full justify-around bg-black text-white'>

<nav className='justify-items-center '>
<ul className='css-desktop-header justify-center text-center flex px-2 text-white' style={{fontFamily:'Poppins',fontWeight:'500',backgroundColor:'#2a9d8f'}}>
{LINKS.map((link) => (
<li
key={link.name}
Expand Down Expand Up @@ -101,6 +103,7 @@ export default function Header (): JSX.Element {
))}
</ul>
</nav>
</div>
</header>
)
}
4 changes: 2 additions & 2 deletions components/LoginButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ export default function Component (): JSX.Element {
height={30}
className='md:hidden'
/>
<span className='hidden rounded-md bg-black p-2 text-white transition hover:underline md:block'>
Iniciar sesión
<span className='hidden rounded-md p-3 text-white transition hover:none md:block' style={{fontFamily:'Poppins',fontWeight:'900',backgroundColor:'#f4a261'}}>
Ingresar
</span>
</button>
)
Expand Down
Loading