mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 10:16:27 +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,
|
||||
LandingBannerGrid,
|
||||
LandingBanner,
|
||||
} from '../components/landing'
|
||||
import { H2 } from '../components/typography'
|
||||
import { InlineCode } from '../components/code'
|
||||
import { Ul, Li } from '../components/list'
|
||||
import Button from '../components/button'
|
||||
import Link from '../components/link'
|
||||
} from '../src/components/landing'
|
||||
import { H2 } from '../src/components/typography'
|
||||
import { InlineCode } from '../src/components/code'
|
||||
import { Ul, Li } from '../src/components/list'
|
||||
import Button from '../src/components/button'
|
||||
import Link from '../src/components/link'
|
||||
|
||||
import QuickstartTraining from '../widgets/quickstart-training'
|
||||
import Project from '../widgets/project'
|
||||
import Features from '../widgets/features'
|
||||
import Layout from '../components/layout'
|
||||
import courseImage from '../../public/images/course.jpg'
|
||||
import prodigyImage from '../../public/images/prodigy_overview.jpg'
|
||||
import projectsImage from '../../public/images/projects.png'
|
||||
import tailoredPipelinesImage from '../../public/images/spacy-tailored-pipelines_wide.png'
|
||||
import { nightly, legacy } from '../../meta/dynamicMeta'
|
||||
import QuickstartTraining from '../src/widgets/quickstart-training'
|
||||
import Project from '../src/widgets/project'
|
||||
import Features from '../src/widgets/features'
|
||||
import Layout from '../src/templates'
|
||||
import courseImage from '../public/images/course.jpg'
|
||||
import prodigyImage from '../public/images/prodigy_overview.jpg'
|
||||
import projectsImage from '../public/images/projects.png'
|
||||
import tailoredPipelinesImage from '../public/images/spacy-tailored-pipelines_wide.png'
|
||||
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) {
|
||||
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 Changelog from './widgets/changelog.js'
|
||||
import Features from './widgets/features.js'
|
||||
import Landing from './widgets/landing.js'
|
||||
import Languages from './widgets/languages.js'
|
||||
import QuickstartInstall from './widgets/quickstart-install.js'
|
||||
import QuickstartTraining from './widgets/quickstart-training.js'
|
||||
|
@ -85,7 +84,6 @@ export const remarkComponents = {
|
|||
|
||||
Changelog,
|
||||
Features,
|
||||
Landing,
|
||||
Languages,
|
||||
QuickstartInstall,
|
||||
QuickstartTraining,
|
||||
|
|
Loading…
Reference in New Issue
Block a user