1
0
Fork 0

wip(shared): Started working on jargon overhaul

See #6017
This commit is contained in:
joostdecock 2024-02-17 19:55:56 +01:00
parent 43c069719c
commit e87e889a87
12 changed files with 331 additions and 20 deletions

View file

@ -16,6 +16,8 @@ import { collection } from 'site/hooks/use-design.mjs'
import { DesignMeasurements } from './design-measurements.mjs'
import { DesignOptions } from './design-options.mjs'
import { MeasieImage } from 'shared/components/measurements/image.mjs'
// Dev/Org jargon
import { Term } from 'site/components/jargon.mjs'
export const components = (site = 'org', slug = []) => {
const base = {
@ -30,6 +32,7 @@ export const components = (site = 'org', slug = []) => {
Tip: (props) => <Popout {...props} tip />,
Tldr: (props) => <Popout {...props} tldr />,
Warning: (props) => <Popout {...props} warning />,
em: (props) => <Term {...props} />,
}
const extra = {
pre: (props) => <Highlight {...props} />,