import Page from 'site/components/wrappers/page.js' import useApp from 'site/hooks/useApp.js' import Link from 'next/link' import { useTranslation } from 'next-i18next' import Layout from 'site/components/layouts/bare' import { PageTitle } from 'shared/components/layouts/default' const DesignLinks = ({ list, prefix='' }) => { const { t } = useTranslation(['patterns']) return ( ) } const PatternListPageTemplate = ({ section=false }) => { const app = useApp() const { t } = useTranslation(['app']) const title = section ? app.navigation[section].__title : t('designs') const sectionDesigns = (section=false) => { if (!section) { const all = [] for (const section in app.designs) all.push(...app.designs[section]) return all } else return app.designs[section] return [] } return (
) } export default PatternListPageTemplate