Skip to content

Instantly share code, notes, and snippets.

@igorasilveira
Created February 19, 2022 09:38
Show Gist options
  • Save igorasilveira/380be2c5267a67231dfb0b740bf970bc to your computer and use it in GitHub Desktop.
Save igorasilveira/380be2c5267a67231dfb0b740bf970bc to your computer and use it in GitHub Desktop.
Navbar component
import React from "react";
import styles from "../styles/Navbar.module.css";
export default function Navbar() {
return (
<nav className={styles.nav}>
<a href="/">Navbar</a>
<div>
<button>
<a href="/login">Login</a>
</button>
</div>
</nav>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment