Untitled

mail@pastecode.io avatar
unknown
javascript
2 years ago
612 B
1
Indexable
Never
import React from 'react'
import { Link } from 'react-router-dom'
import "../styles/Navbar.css"


function Navbar() {

  return <div className="navbar">
    <div className='links'>       
        <Link to="/tvota" onClick={() => {window.location.href="/tvota"}} >Tvota</Link>
        <Link to="/thule" onClick={() => {window.location.href="/thule"}} >Thule</Link>
        <Link to="/chat" onClick={() => {window.location.href="/chat"}} >Chat</Link>
        <Link to="/contact" onClick={() => {window.location.href="/contact"}} >Contact</Link>
    </div>    
  </div>  
}


export default Navbar