wip(org): Working on design component
This commit is contained in:
parent
11bfdeaa17
commit
6f6145e78f
4 changed files with 81 additions and 12 deletions
|
@ -4,7 +4,7 @@ import Link from 'next/link'
|
|||
import { getConfig } from 'shared/designs/index.js'
|
||||
import Popout from 'shared/components/popout.js'
|
||||
import { useTranslation } from 'next-i18next'
|
||||
import DesignTeaser from 'site/components/designs/teaser.js'
|
||||
import Design from 'site/components/design.js'
|
||||
import PatternOptions from './pattern-options'
|
||||
import PatternMeasurements from './pattern-measurements'
|
||||
import DocsLink from 'shared/components/docs-link'
|
||||
|
@ -25,7 +25,7 @@ const PatternDocs = ({ pattern=false }) => {
|
|||
<p>
|
||||
{t('weRecommendThingInstead', { thing: capitalize(config.deprecated)})}
|
||||
</p>
|
||||
<DesignTeaser design={pattern} />
|
||||
<Design design={pattern} />
|
||||
</Popout>
|
||||
)}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue