42 lines
1.1 KiB
JavaScript
42 lines
1.1 KiB
JavaScript
![]() |
/*
|
||
|
* This page is auto-generated. Do not edit it by hand.
|
||
|
*/
|
||
|
import { Lily } from 'designs/lily/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('lily', wbNs, pageNs)
|
||
|
|
||
|
const NewLilyPage = ({ page, docs }) => (
|
||
|
<PageWrapper {...page} title="Lily" layout={WorkbenchLayout} header={null}>
|
||
|
<Workbench
|
||
|
{...{
|
||
|
design: 'lily',
|
||
|
Design: Lily,
|
||
|
docs,
|
||
|
}}
|
||
|
/>
|
||
|
</PageWrapper>
|
||
|
)
|
||
|
|
||
|
export default NewLilyPage
|
||
|
|
||
|
export async function getStaticProps({ locale }) {
|
||
|
return {
|
||
|
props: {
|
||
|
...(await serverSideTranslations(locale, ns)),
|
||
|
page: {
|
||
|
locale,
|
||
|
path: ['new', 'lily'],
|
||
|
title: 'Lily',
|
||
|
},
|
||
|
},
|
||
|
}
|
||
|
}
|