42 lines
1.1 KiB
JavaScript
42 lines
1.1 KiB
JavaScript
![]() |
/*
|
||
|
* This page is auto-generated. Do not edit it by hand.
|
||
|
*/
|
||
|
import { Umbra } from 'designs/umbra/src/index.mjs'
|
||
|
// Dependencies
|
||
|
import { serverSideTranslations } from 'next-i18next/serverSideTranslations'
|
||
|
import { nsMerge } from 'shared/utils.mjs'
|
||
|
// Components
|
||
|
import { PageWrapper, ns as pageNs } from 'shared/components/wrappers/page.mjs'
|
||
|
import { Workbench, ns as wbNs } from 'shared/components/workbench/new.mjs'
|
||
|
import { WorkbenchLayout } from 'site/components/layouts/workbench.mjs'
|
||
|
|
||
|
// Translation namespaces used on this page
|
||
|
const ns = nsMerge('umbra', wbNs, pageNs)
|
||
|
|
||
|
const NewUmbraPage = ({ page, docs }) => (
|
||
|
<PageWrapper {...page} title="Umbra" layout={WorkbenchLayout} header={null}>
|
||
|
<Workbench
|
||
|
{...{
|
||
|
design: 'umbra',
|
||
|
Design: Umbra,
|
||
|
docs,
|
||
|
}}
|
||
|
/>
|
||
|
</PageWrapper>
|
||
|
)
|
||
|
|
||
|
export default NewUmbraPage
|
||
|
|
||
|
export async function getStaticProps({ locale }) {
|
||
|
return {
|
||
|
props: {
|
||
|
...(await serverSideTranslations(locale, ns)),
|
||
|
page: {
|
||
|
locale,
|
||
|
path: ['new', 'umbra'],
|
||
|
title: 'Umbra',
|
||
|
},
|
||
|
},
|
||
|
}
|
||
|
}
|