imported current state of the mockup into the public repo

Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
Philip Molares 2020-05-14 15:41:38 +02:00
commit 93ce059577
161 changed files with 17419 additions and 0 deletions

View file

@ -0,0 +1,22 @@
import {LinkContainer} from "react-router-bootstrap";
import {Button} from "react-bootstrap";
import {FontAwesomeIcon} from "@fortawesome/react-fontawesome";
import React from "react";
import {Trans, useTranslation} from "react-i18next";
export const NewUserNoteButton: React.FC = () => {
const {i18n} = useTranslation()
return (
<LinkContainer to={'/new'} title={i18n.t("newNote")}>
<Button
variant="primary"
size="sm"
className="d-inline-flex align-items-center">
<FontAwesomeIcon icon="plus" className="mr-1"/>
<span>
<Trans i18nKey='newNote'/>
</span>
</Button>
</LinkContainer>
)
}