-
Notifications
You must be signed in to change notification settings - Fork 11
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 #147 from Web-Dev-Path/chore/release-1.2.0
Release 1.2.0
- Loading branch information
Showing
15 changed files
with
192 additions
and
191 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
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
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
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
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
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
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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
import { useState, useEffect, useRef } from 'react'; | ||
import Link from 'next/link'; | ||
import Image from 'next/image'; | ||
import Image from 'next/legacy/image'; | ||
import { useRouter } from 'next/router'; | ||
import Container from '@/components/containers/Container'; | ||
import styles from '@/styles/Nav.module.scss'; | ||
|
@@ -57,48 +56,44 @@ export default function Nav() { | |
<div ref={containerRef}> | ||
<nav className={styles.nav}> | ||
<div className={styles.nav__logo}> | ||
<Link href='/' passHref> | ||
<a> | ||
<Image | ||
src='/images/svg/logo.svg' | ||
height={115} | ||
width={180} | ||
alt='Logo' | ||
title='Go to the Homepage' | ||
/> | ||
</a> | ||
</Link> | ||
<a href='/' passhref='true'> | ||
<Image | ||
src='/images/svg/logo.svg' | ||
height={115} | ||
width={180} | ||
alt='Logo' | ||
title='Go to the Homepage' | ||
/> | ||
</a> | ||
</div> | ||
<ul | ||
className={`${styles.nav__links} ${active ? styles.active : ''}`} | ||
> | ||
{linksNav.map(({ text, href, id }) => { | ||
return ( | ||
<li className={styles.nav__item} key={id}> | ||
<Link href={href}> | ||
<a | ||
className={`${styles.nav__link} ${ | ||
router.pathname == href ? `${styles.current}` : '' | ||
}`} | ||
title={text} | ||
> | ||
{text} | ||
</a> | ||
</Link> | ||
<a | ||
href={href} | ||
className={`${styles.nav__link} ${ | ||
router.pathname == href ? `${styles.current}` : '' | ||
}`} | ||
title={text} | ||
> | ||
{text} | ||
</a> | ||
</li> | ||
); | ||
})} | ||
<li className={styles.nav__item}> | ||
<Link href='mailto:[email protected]?subject=Project collaborator application'> | ||
<a | ||
className={`${styles.nav__button} ${ | ||
active ? styles.active : '' | ||
}`} | ||
title='Join us' | ||
> | ||
Join us | ||
</a> | ||
</Link> | ||
<a | ||
href='mailto:[email protected]?subject=Project collaborator application' | ||
className={`${styles.nav__button} ${ | ||
active ? styles.active : '' | ||
}`} | ||
title='Join us' | ||
> | ||
Join us | ||
</a> | ||
</li> | ||
</ul> | ||
<button | ||
|
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
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
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
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
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
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
Oops, something went wrong.