summaryrefslogtreecommitdiff
path: root/client/src/Header/Header.tsx
blob: 9f96d0c0e34a7ac07e5aec0832e3de30adb6e281 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import React from "react";
import { Link } from "react-router-dom";
import "./Header.css";
import urlLogo from "./logo.jpg";

/**
 * A Header component with a Sogyo logo, the name of the application and several links to different pages
 */
export function Header() {
    return <header className="main-header">
        <div>
            <img src={urlLogo} /> 
            Mancala
        </div>
        <div className="main-navigation">
            <Link to="/">Play</Link>
            <Link to="/about">About</Link>
        </div>
    </header>
}