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

@ -60,11 +60,6 @@
"landing": {
"intro": {
"exploreFeatures": "Explore all features",
"features": {
"collaboration": "Real time collaboration",
"katex": "Works with charts and KaTeX",
"slides": "Supports slide mode"
},
"markdownWhileLoading": "Loading...",
"markdownLoadingError": "Error while fetching intro content"
},

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>
)
}

View file

@ -1,7 +1,7 @@
/*
SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
SPDX-License-Identifier: AGPL-3.0-only
* SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file)
*
* SPDX-License-Identifier: AGPL-3.0-only
*/
import type { NextPage } from 'next'
import { LandingLayout } from '../components/landing-layout/landing-layout'
@ -14,7 +14,6 @@ import {
import { Trans } from 'react-i18next'
import { Branding } from '../components/common/branding/branding'
import { CoverButtons } from '../components/intro-page/cover-buttons/cover-buttons'
import { FeatureLinks } from '../components/intro-page/feature-links'
import React from 'react'
import { IntroCustomContent } from '../components/intro-page/intro-custom-content'
@ -39,7 +38,6 @@ const IntroPage: NextPage = () => {
<IntroCustomContent />
<hr className={'mb-5'} />
</div>
<FeatureLinks />
</EditorToRendererCommunicatorContextProvider>
</LandingLayout>
)