Skip to content

Commit

Permalink
feat(config): add banner, footer and navigation params
Browse files Browse the repository at this point in the history
Signed-off-by: iverly <github@iverly.net>
  • Loading branch information
iverly committed Oct 24, 2023
1 parent 2bc83f0 commit 0cea2f8
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions theme.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,33 @@ const config: DocsThemeConfig = {
};
}
},
banner: {
key: '1.0-release-in-progress',
text: (
<p>
⚠️ This website is still in construction, you may find incorrect
information.
</p>
),
},
navigation: {
prev: true,
next: true,
},
footer: {
text: (
<div className="flex flex-col">
<span>Apache-2.0 {new Date().getFullYear()} © Faast.</span>
<a href="https://www.netlify.com">
{' '}
<img
src="https://www.netlify.com/v3/img/components/netlify-dark.svg"
alt="Deploys by Netlify"
/>{' '}
</a>
</div>
),
},
};

export default config;

0 comments on commit 0cea2f8

Please sign in to comment.