Remove feature links on intro page

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2022-08-08 22:41:41 +02:00
parent 61270ba820
commit 1cdfebdb70
3 changed files with 3 additions and 59 deletions

View file

@ -1,49 +0,0 @@
/*
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
*
* SPDX-License-Identifier: AGPL-3.0-only
*/
import Link from 'next/link'
import React from 'react'
import { Col, Row } from 'react-bootstrap'
import { Trans, useTranslation } from 'react-i18next'
import { ForkAwesomeIcon } from '../common/fork-awesome/fork-awesome-icon'
export const FeatureLinks: React.FC = () => {
useTranslation()
return (
<Row className='mb-5 d-flex flex-row justify-content-center'>
<Col md={3}>
<Link href={'/n/features#Share-Notes'}>
<a className='text-light'>
<ForkAwesomeIcon icon='bolt' size='2x' />
<h6>
<Trans i18nKey='landing.intro.features.collaboration' />
</h6>
</a>
</Link>
</Col>
<Col md={3}>
<Link href={'/n/features#MathJax'}>
<a className='text-light'>
<ForkAwesomeIcon icon='bar-chart' size='2x' />
<h6>
<Trans i18nKey='landing.intro.features.katex' />
</h6>
</a>
</Link>
</Col>
<Col md={3}>
<Link href={'/n/features#Slide-Mode'}>
<a className='text-light'>
<ForkAwesomeIcon icon='television' size='2x' />
<h6>
<Trans i18nKey='landing.intro.features.slides' />
</h6>
</a>
</Link>
</Col>
</Row>
)
}