diff options
Diffstat (limited to 'src/content/dependencies/generateFlashIndexPage.js')
-rw-r--r-- | src/content/dependencies/generateFlashIndexPage.js | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/content/dependencies/generateFlashIndexPage.js b/src/content/dependencies/generateFlashIndexPage.js new file mode 100644 index 00000000..24f9c861 --- /dev/null +++ b/src/content/dependencies/generateFlashIndexPage.js @@ -0,0 +1,29 @@ +export default { + contentDependencies: ['generatePageLayout'], + extraDependencies: ['html', 'language'], + + relations(relation) { + const relations = {}; + + relations.layout = + relation('generatePageLayout'); + + return relations; + }, + + generate(relations, {html, language}) { + return relations.layout.slots({ + title: language.$('flashIndex.title'), + + mainContent: [ + html.tag('p', `Alright alright, this is a stub page! Coming soon!`), + ], + + navLinkStyle: 'hierarchical', + navLinks: [ + {auto: 'home'}, + {auto: 'current'}, + ], + }); + }, +}; |