Skip to content

Commit

Permalink
Merge pull request #2303 from webkom/contactform-in-footer
Browse files Browse the repository at this point in the history
  • Loading branch information
LudvigHz authored Nov 1, 2021
2 parents dedef83 + 14b5737 commit 2c63d7e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/components/Footer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ import Octocat from 'app/assets/Octocat.png';
import Icon from 'app/components/Icon';
import styles from './Footer.css';
import moment from 'moment-timezone';
import { Link } from 'react-router-dom';

type Props = {
loggedIn: boolean,
};

const Footer = (props: Props) => (
const Footer = ({ loggedIn }: Props) => (
<footer className={styles.footer}>
<div className={styles.footerContent}>
<Flex column>
Expand Down Expand Up @@ -64,6 +65,11 @@ const Footer = (props: Props) => (
/>
<h2>Kontakt</h2>
<a href="mailto:[email protected]">[email protected]</a>
{loggedIn && (
<p>
<Link to="/contact">Anonymt kontaktskjema</Link>
</p>
)}
<p>Abakus</p>
<p>Sem Sælands vei 7-9</p>
<p>7491 Trondheim</p>
Expand Down

0 comments on commit 2c63d7e

Please sign in to comment.