diff --git a/packages/freesewing.org/components/designs/teaser.js b/packages/freesewing.org/components/designs/teaser.js new file mode 100644 index 00000000000..74429c61e68 --- /dev/null +++ b/packages/freesewing.org/components/designs/teaser.js @@ -0,0 +1,10 @@ +const DesignTeaser = ({ design=false }) => { + + return ( +
Tease {design} here
+Please specify a pattern prop when using the PatternDocs component
+ + const config = getConfig(pattern) + console.log({pattern, config}) + + return ( + <> + {config.deprecated && ( ++ {t('weRecommendThingInstead', { thing: capitalize(config.deprecated)})} +
+{JSON.stringify(config, null ,2)}+ > + ) + + return ( + <> + {config.deprecated && ( +
+ We recommend{' '} + + {capitalize(info[props.pattern].deprecated)} + {' '} + instead. +
+
+
+
+
- To learn more about FreeSewing and try our platform - go to freesewing.org -
+