mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-22 11:15:23 -04:00
Improve sign in button (#123)
* Improve sign in button Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> * Add missing size attribute Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> * reformat code Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
parent
39b1175850
commit
a62e3857b4
4 changed files with 26 additions and 26 deletions
|
@ -4,6 +4,7 @@ import { Trans, useTranslation } from 'react-i18next'
|
|||
import { useSelector } from 'react-redux'
|
||||
import { Link } from 'react-router-dom'
|
||||
import { ApplicationState } from '../../../../../redux'
|
||||
import { SignInButton } from '../../../layout/navigation/sign-in-button'
|
||||
import './cover-buttons.scss'
|
||||
|
||||
export const CoverButtons: React.FC = () => {
|
||||
|
@ -16,15 +17,11 @@ export const CoverButtons: React.FC = () => {
|
|||
|
||||
return (
|
||||
<div className="mb-5">
|
||||
<Link to="/login">
|
||||
<Button
|
||||
className="cover-button"
|
||||
variant="success"
|
||||
size="lg"
|
||||
>
|
||||
<Trans i18nKey="login.signIn"/>
|
||||
</Button>
|
||||
</Link>
|
||||
<SignInButton
|
||||
className="cover-button"
|
||||
variant="success"
|
||||
size="lg"
|
||||
/>
|
||||
|
||||
<span className="m-2">
|
||||
<Trans i18nKey="common.or"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue