mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-15 07:34:42 -04:00
Remove feature links on intro page
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
61270ba820
commit
1cdfebdb70
3 changed files with 3 additions and 59 deletions
|
@ -60,11 +60,6 @@
|
||||||
"landing": {
|
"landing": {
|
||||||
"intro": {
|
"intro": {
|
||||||
"exploreFeatures": "Explore all features",
|
"exploreFeatures": "Explore all features",
|
||||||
"features": {
|
|
||||||
"collaboration": "Real time collaboration",
|
|
||||||
"katex": "Works with charts and KaTeX",
|
|
||||||
"slides": "Supports slide mode"
|
|
||||||
},
|
|
||||||
"markdownWhileLoading": "Loading...",
|
"markdownWhileLoading": "Loading...",
|
||||||
"markdownLoadingError": "Error while fetching intro content"
|
"markdownLoadingError": "Error while fetching intro content"
|
||||||
},
|
},
|
||||||
|
|
|
@ -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>
|
|
||||||
)
|
|
||||||
}
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
* SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file)
|
||||||
|
*
|
||||||
SPDX-License-Identifier: AGPL-3.0-only
|
* SPDX-License-Identifier: AGPL-3.0-only
|
||||||
*/
|
*/
|
||||||
import type { NextPage } from 'next'
|
import type { NextPage } from 'next'
|
||||||
import { LandingLayout } from '../components/landing-layout/landing-layout'
|
import { LandingLayout } from '../components/landing-layout/landing-layout'
|
||||||
|
@ -14,7 +14,6 @@ import {
|
||||||
import { Trans } from 'react-i18next'
|
import { Trans } from 'react-i18next'
|
||||||
import { Branding } from '../components/common/branding/branding'
|
import { Branding } from '../components/common/branding/branding'
|
||||||
import { CoverButtons } from '../components/intro-page/cover-buttons/cover-buttons'
|
import { CoverButtons } from '../components/intro-page/cover-buttons/cover-buttons'
|
||||||
import { FeatureLinks } from '../components/intro-page/feature-links'
|
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
import { IntroCustomContent } from '../components/intro-page/intro-custom-content'
|
import { IntroCustomContent } from '../components/intro-page/intro-custom-content'
|
||||||
|
|
||||||
|
@ -39,7 +38,6 @@ const IntroPage: NextPage = () => {
|
||||||
<IntroCustomContent />
|
<IntroCustomContent />
|
||||||
<hr className={'mb-5'} />
|
<hr className={'mb-5'} />
|
||||||
</div>
|
</div>
|
||||||
<FeatureLinks />
|
|
||||||
</EditorToRendererCommunicatorContextProvider>
|
</EditorToRendererCommunicatorContextProvider>
|
||||||
</LandingLayout>
|
</LandingLayout>
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue