import React, { Component } from "react";
import { Link } from "react-router-dom";
import { Menu } from "semantic-ui-react";

class Navbar extends Component {
  render() {
    return (
      <Menu>
        <Menu.Item as={Link} to="/">
          Caremyway
        </Menu.Item>
        <Menu.Item as={Link} to="/about">
          About
        </Menu.Item>
        <Menu.Item as={Link} to="/topics">
          Topics
        </Menu.Item>
      </Menu>
    );
  }
}

export default Navbar;
