---
import { Footer as BulmaFooter, Container } from 'react-bulma-components';
import { Icon } from 'astro-icon/components'

const currentYear = new Date().getFullYear();

export interface Props {
  noMarginTop?: boolean;
}

const { noMarginTop = false } = Astro.props;
---

<BulmaFooter style={{"marginTop": `${noMarginTop ? "0px" : "3rem"}`}}>
  <Container>
    <p style="text-align: center">
      &copy; { currentYear } MassiveBox<br>
      <a href="https://git.massive.box/massivebox/website" target="_blank" rel="noopener noreferrer">Source Code</a> | <a href="https://status.massive.box" target="_blank" rel="noopener noreferrer">Server Status</a> | <a href="/pages/www-legal">Privacy & Legal</a>
    </p>
  </Container>
</BulmaFooter>

<style>
  a {
      color: grey;
  }
</style>