Community Plugin
View plugin on GitHub@fast-ai/gatsby-theme-fast-ai
Quick Start
mkdir my-site
cd my-site
yarn init
# install gatsby-theme and it's dependencies
yarn add gatsby react react-dom gatsby-theme-fast-aiThen add the theme to your gatsby-config.js. We’ll use the long form
here for education purposes.
module.exports = {
	siteMetadata,
	plugins: [
		{
			resolve: 'gatsby-theme-fast-ai',
			options: {
				intlOptions: {
					languages: ['en', 'cs'],
					path: `${__dirname}/src/intl`,
					defaultLanguage: 'cs',
				},
				siteMetadata: {
					author: 'Jerry Lundegaard',
					description: 'Beautiful site',
					title: 'FastAI Docs examples',
				}
			},
		},
	],
};That’s it, you can now run your gatsby site using
yarn gatsby developNote that this site doesn’t do anything, so you’re see a missing
resources error. Create a simple page in src/pages/index.mdx to see a
page on the root url.
# Welcome!
<Section>
	...to my MDX-powered site!
</Section>Options
intlOptions
- Options of gatsby-plugin-intl
siteMetadata
- title- Page title
- author- SEO metadata
- description- SEO metadata
See our related projects
- Zoe s-analytics demo - React Web application with S-Analytics
- @fast-ai/ui-components - React UI component library
- @fast-ai/gatsby-plugin-staged-fonts - Implementation of Critical FOFT with Data URI font loading strategy
- gatsby-theme-fast-ai - Gatsby theme for Zoe applications
- @redux-tools - Modular Redux is possible!
- react-union - Intergrate React apps into various CMSs seamlessly.
- validarium - Validations done right.
License
All packages are distributed under the MIT license. See the license here.
© 2021 Lundegaard a.s.