Skip to content

Commit

Permalink
added link to inventory
Browse files Browse the repository at this point in the history
  • Loading branch information
leopoldch committed Mar 15, 2024
1 parent 2b4776f commit 3e0b74c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
9 changes: 6 additions & 3 deletions src/components/Links.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import "../style/Links.css";
import { motion } from "framer-motion"


function Links() {
Expand All @@ -13,13 +14,15 @@ function Links() {
return (
<>
<div className="links-wrapper">
<div className="link" onClick={handleClickInventory}>
<motion.div className="link" onClick={handleClickInventory} whileHover={{scale: 1.1}}>
<h2>Inventaire</h2>
</div>

</motion.div>
{/*
<div className="link" onClick={handleClickPortfolio}>
<h2>Historique des évennements</h2>
</div>
*/}


</div>
</>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Site.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function Site(){
return(
<>
<Main/>
{/*<Links/>*/}
<Links/>
<Desc/>
<Son/>
<Lights/>
Expand Down
5 changes: 3 additions & 2 deletions src/style/Links.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,17 @@
}

.links-wrapper > div{
color: white;
margin: 2%;
padding: 1%;
border-radius: 7px;
background-color: black;
border-color: white;
border-width: 10px;
height: auto;
}




.link:hover{
cursor: pointer;
}

0 comments on commit 3e0b74c

Please sign in to comment.