diff --git a/site/.gitignore b/site/.gitignore new file mode 100644 index 0000000..1437c53 --- /dev/null +++ b/site/.gitignore @@ -0,0 +1,34 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js + +# testing +/coverage + +# next.js +/.next/ +/out/ + +# production +/build + +# misc +.DS_Store +*.pem + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# local env files +.env.local +.env.development.local +.env.test.local +.env.production.local + +# vercel +.vercel diff --git a/site/README.md b/site/README.md new file mode 100644 index 0000000..be77477 --- /dev/null +++ b/site/README.md @@ -0,0 +1,19 @@ +Life Itself Web3 Website. + +Templated off: https://github.com/datopian/nextjs-tailwind-mdx + +## Usage + +Then run the app: + +```bash +cd myapp +npm run dev +``` + +## Configuration + +See `config` directory: + +* `config/siteConfig.js` for site wide configuration especially for general theme (e.g. title) and SEO +* `config/navLinks.js` for configuration of navigation links diff --git a/site/components/Layout.js b/site/components/Layout.js new file mode 100644 index 0000000..85762f1 --- /dev/null +++ b/site/components/Layout.js @@ -0,0 +1,37 @@ +import Link from 'next/link' +import Head from 'next/head' +import { NextSeo } from 'next-seo' + +import Nav from './Nav' +import siteConfig from '../config/siteConfig' + +export default function Layout({ children, title='' }) { + return ( + <> + + + + + + +