import React from "react";
import { Link } from "react-router-dom";
import { List, Segment } from "semantic-ui-react";

const Footer = () => (
  <Segment textAlign="center" color="red" style={{ margin: "0" }}>
    <List bulleted horizontal link>
    <List.Item as={Link} to="/">Caremyway</List.Item>
    <List.Item as={Link} to="/about">About</List.Item>
    </List>
  </Segment>
);

export default Footer;
