mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-26 09:14:32 +03:00
Replace landing page MDX with page component
This commit is contained in:
parent
aebe52efa7
commit
1bfff8390a
|
@ -1,6 +0,0 @@
|
||||||
---
|
|
||||||
---
|
|
||||||
|
|
||||||
import Landing from 'widgets/landing.js'
|
|
||||||
|
|
||||||
<Landing />
|
|
|
@ -11,24 +11,24 @@ import {
|
||||||
LandingDemo,
|
LandingDemo,
|
||||||
LandingBannerGrid,
|
LandingBannerGrid,
|
||||||
LandingBanner,
|
LandingBanner,
|
||||||
} from '../components/landing'
|
} from '../src/components/landing'
|
||||||
import { H2 } from '../components/typography'
|
import { H2 } from '../src/components/typography'
|
||||||
import { InlineCode } from '../components/code'
|
import { InlineCode } from '../src/components/code'
|
||||||
import { Ul, Li } from '../components/list'
|
import { Ul, Li } from '../src/components/list'
|
||||||
import Button from '../components/button'
|
import Button from '../src/components/button'
|
||||||
import Link from '../components/link'
|
import Link from '../src/components/link'
|
||||||
|
|
||||||
import QuickstartTraining from '../widgets/quickstart-training'
|
import QuickstartTraining from '../src/widgets/quickstart-training'
|
||||||
import Project from '../widgets/project'
|
import Project from '../src/widgets/project'
|
||||||
import Features from '../widgets/features'
|
import Features from '../src/widgets/features'
|
||||||
import Layout from '../components/layout'
|
import Layout from '../src/templates'
|
||||||
import courseImage from '../../public/images/course.jpg'
|
import courseImage from '../public/images/course.jpg'
|
||||||
import prodigyImage from '../../public/images/prodigy_overview.jpg'
|
import prodigyImage from '../public/images/prodigy_overview.jpg'
|
||||||
import projectsImage from '../../public/images/projects.png'
|
import projectsImage from '../public/images/projects.png'
|
||||||
import tailoredPipelinesImage from '../../public/images/spacy-tailored-pipelines_wide.png'
|
import tailoredPipelinesImage from '../public/images/spacy-tailored-pipelines_wide.png'
|
||||||
import { nightly, legacy } from '../../meta/dynamicMeta'
|
import { nightly, legacy } from '../meta/dynamicMeta'
|
||||||
|
|
||||||
import Benchmarks from '../../docs/usage/_benchmarks-models.mdx'
|
import Benchmarks from '../docs/usage/_benchmarks-models.mdx'
|
||||||
|
|
||||||
function getCodeExample(nightly) {
|
function getCodeExample(nightly) {
|
||||||
return `# pip install -U ${nightly ? 'spacy-nightly --pre' : 'spacy'}
|
return `# pip install -U ${nightly ? 'spacy-nightly --pre' : 'spacy'}
|
|
@ -16,7 +16,6 @@ import { Integration, IntegrationLogo } from './widgets/integration.js'
|
||||||
import { Logos, Colors, Patterns } from './widgets/styleguide'
|
import { Logos, Colors, Patterns } from './widgets/styleguide'
|
||||||
import Changelog from './widgets/changelog.js'
|
import Changelog from './widgets/changelog.js'
|
||||||
import Features from './widgets/features.js'
|
import Features from './widgets/features.js'
|
||||||
import Landing from './widgets/landing.js'
|
|
||||||
import Languages from './widgets/languages.js'
|
import Languages from './widgets/languages.js'
|
||||||
import QuickstartInstall from './widgets/quickstart-install.js'
|
import QuickstartInstall from './widgets/quickstart-install.js'
|
||||||
import QuickstartTraining from './widgets/quickstart-training.js'
|
import QuickstartTraining from './widgets/quickstart-training.js'
|
||||||
|
@ -85,7 +84,6 @@ export const remarkComponents = {
|
||||||
|
|
||||||
Changelog,
|
Changelog,
|
||||||
Features,
|
Features,
|
||||||
Landing,
|
|
||||||
Languages,
|
Languages,
|
||||||
QuickstartInstall,
|
QuickstartInstall,
|
||||||
QuickstartTraining,
|
QuickstartTraining,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user