mirror of
https://gitea.smigz.com/smiggiddy/odin-codeprojects.git
synced 2025-07-15 05:40:36 -04:00
feat: navbar and main components added
This commit is contained in:
parent
d581ed19e6
commit
aa7d7e8656
20 changed files with 4629 additions and 0 deletions
20
shopping-cart/src/components/navbar.jsx
Normal file
20
shopping-cart/src/components/navbar.jsx
Normal file
|
@ -0,0 +1,20 @@
|
|||
import styles from "./navbar.module.css";
|
||||
|
||||
export default function Navbar(props) {
|
||||
return (
|
||||
<nav className={styles.nav}>
|
||||
<h1>Smig.Tech</h1>
|
||||
<Nav />
|
||||
<button>I'm Ready</button>
|
||||
</nav>
|
||||
);
|
||||
}
|
||||
|
||||
function Nav() {
|
||||
return (
|
||||
<ul className={styles.nav}>
|
||||
<li>home</li>
|
||||
<li>shop</li>
|
||||
</ul>
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue