mirror of
https://github.com/jambonz/next-static-site.git
synced 2025-12-19 04:47:44 +00:00
Update readme, fix charSet in layout
This commit is contained in:
57
README.md
57
README.md
@@ -1,44 +1,37 @@
|
||||
jambonz/next-static-site
|
||||
========================
|
||||
jambonz
|
||||
=======
|
||||
|
||||
> The "bring your own everything" CPaaS
|
||||
|
||||
# [Jambonz](https://jambonz.vercel.app)
|
||||
# Jamstack
|
||||
|
||||
## Getting started
|
||||
- [jambonz.vercel.com](https://jambonz.vercel.app)
|
||||
|
||||
# AWS / CircleCI
|
||||
|
||||
- TBD :)
|
||||
|
||||
# Dev
|
||||
|
||||
### Install
|
||||
- `yarn install`
|
||||
|
||||
### Work
|
||||
- `yarn dev`
|
||||
- Served at [localhost:3000](http://localhost:3000)
|
||||
|
||||
## Kit of parts
|
||||
### UI library
|
||||
- [Kit of Parts](http://localhost:3000/kit-of-parts)
|
||||
|
||||
- [Design elements](https://jambonz.vercel.app/kit-of-parts)
|
||||
### Static
|
||||
- Static data with [yamljs](https://www.npmjs.com/package/yamljs)
|
||||
- Static props with [Next.js getStaticProps](https://nextjs.org/docs/basic-features/data-fetching#getstaticprops-static-generation)
|
||||
- Data files in `/data/`
|
||||
- JS data util in `/lib/data.js`
|
||||
|
||||
## Static data
|
||||
|
||||
Static data is being used to power Next.js pages using `yaml` and [getStaticProps](https://nextjs.org/docs/basic-features/data-fetching#getstaticprops-static-generation). Data files are in `/data/` and a simple JS utility for loading the data for static props is in [/lib/data.js](./lib/data.js).
|
||||
### Docs
|
||||
- Using [Nextra](https://nextra.vercel.app)
|
||||
- [Source repository](https://github.com/shuding/nextra/)
|
||||
- Source files in `/pages/docs/`
|
||||
|
||||

|
||||
|
||||
# [Nextra](https://nextra.vercel.app)
|
||||
|
||||
_Warning: this project is not production ready, API might change without notice._
|
||||
|
||||
[](https://vercel.com/import/git?s=https%3A%2F%2Fgithub.com%2Fshuding%2Fnextra&c=1)
|
||||
|
||||
**Nextra** is a [Next.js](https://nextjs.org) and [MDX](https://mdxjs.com) powered, no-code site generator.
|
||||
|
||||

|
||||
|
||||
## Development
|
||||
|
||||
The code of Nextra is under the [`core`](https://github.com/shuding/nextra/tree/core) branch.
|
||||
|
||||
## Themes
|
||||
|
||||
- [nextra-theme-docs](https://github.com/vercel/swr-site) ([demo](https://swr.vercel.app))
|
||||
- [nextra-theme-blog](https://github.com/shuding/site) ([demo](https://shud.in))
|
||||
|
||||
---
|
||||
|
||||
Created by [@shuding](https://github.com/shuding) and [@pacocoursey](https://github.com/pacocoursey) at [Vercel](https://vercel.com). Released under the MIT license.
|
||||
|
||||
@@ -8,7 +8,7 @@ export default function Layout({ children, siteData, title = "jambonz" }) {
|
||||
<Head>
|
||||
<title>{title}</title>
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<meta charset="utf-8" />
|
||||
<meta charSet="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="theme-color" content="#000000" />
|
||||
<meta
|
||||
|
||||
Reference in New Issue
Block a user