mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 15:14:56 -04:00
Feature/hedgedoc logo (#606)
This commit is contained in:
parent
62d95a5704
commit
42cbb51bfa
27 changed files with 142 additions and 80 deletions
|
@ -1,7 +1,11 @@
|
|||
import React, { Fragment } from 'react'
|
||||
import { Trans, useTranslation } from 'react-i18next'
|
||||
import { Branding } from '../common/branding/branding'
|
||||
import { ForkAwesomeIcon } from '../common/fork-awesome/fork-awesome-icon'
|
||||
import {
|
||||
HedgeDocLogoSize,
|
||||
HedgeDocLogoType,
|
||||
HedgeDocLogoWithText
|
||||
} from '../common/hedge-doc-logo/hedge-doc-logo-with-text'
|
||||
import { CoverButtons } from './cover-buttons/cover-buttons'
|
||||
import { FeatureLinks } from './feature-links'
|
||||
import screenshot from './img/screenshot.png'
|
||||
|
@ -10,17 +14,17 @@ export const IntroPage: React.FC = () => {
|
|||
const { t } = useTranslation()
|
||||
|
||||
return <Fragment>
|
||||
<h1 dir='auto' className={'align-items-center d-flex justify-content-center'}>
|
||||
<ForkAwesomeIcon icon="file-text" className={'mr-2'}/>
|
||||
<span>HedgeDoc</span>
|
||||
<Branding/>
|
||||
<h1 dir='auto' className={'align-items-center d-flex justify-content-center flex-column'}>
|
||||
<HedgeDocLogoWithText logoType={HedgeDocLogoType.COLOR_VERTICAL} size={HedgeDocLogoSize.BIG}/>
|
||||
</h1>
|
||||
<p className="lead mb-5">
|
||||
<p className="lead">
|
||||
<Trans i18nKey="app.slogan"/>
|
||||
</p>
|
||||
<div className={'mb-5'}>
|
||||
<Branding delimiter={false}/>
|
||||
</div>
|
||||
|
||||
<CoverButtons/>
|
||||
|
||||
<img alt={t('landing.intro.screenShotAltText')} src={screenshot} className="img-fluid mb-5"/>
|
||||
<FeatureLinks/>
|
||||
</Fragment>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue