fix(lab): Added section index pages
This commit is contained in:
parent
82fc18aec7
commit
f7f920526a
4 changed files with 64 additions and 0 deletions
16
packages/freesewing.lab/pages/utilities/index.js
Normal file
16
packages/freesewing.lab/pages/utilities/index.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
import { serverSideTranslations } from 'next-i18next/serverSideTranslations'
|
||||
import PageTemplate from 'site/page-templates/pattern-list.js'
|
||||
|
||||
const Page = props => <PageTemplate section='utilities' />
|
||||
|
||||
export default Page
|
||||
|
||||
export async function getStaticProps({ locale }) {
|
||||
return {
|
||||
props: {
|
||||
...(await serverSideTranslations(locale)),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue