generated from lucien/actix-react-template
modifié : front/src/components/ClickableLink.tsx
modifié : front/src/components/NavBar.tsx C'est très moche (j'aimerais avoir le bouton lien pas une ligne en dessous le logo lien);
This commit is contained in:
parent
265157bbe1
commit
3cdab2e303
2 changed files with 16 additions and 7 deletions
|
@ -1,5 +1,11 @@
|
|||
export default function ClickableLink(){
|
||||
<div>
|
||||
prout
|
||||
</div>
|
||||
function Link ({text}){
|
||||
return(
|
||||
<button className="LinkNavbar">{text}</button>
|
||||
)
|
||||
}
|
||||
|
||||
export default function ClickableLink({url, text}) {
|
||||
return (<div>
|
||||
<a href={url}><Link text={text} /></a>
|
||||
</div>)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue