Commit Graph

11 Commits

Author SHA1 Message Date
khalilcodes d04ee80ea6 [site/components]: replace youtube embed with lite-youtube component 2022-06-01 18:29:38 +03:00
khalilcodes 09290d96e8 [site,title,#94]: fix incorrect page titles
Remove next seo from layout and to pages directly.
2022-03-24 13:16:54 +03:00
khalilcodes 13c2234a91 [site/pages,#94]: fix titles 2022-03-24 02:11:16 +03:00
Rufus Pollock 604708f165 [site/infra,#94][l]: switch from next/mdx to contentlayerfor rendering markdown files.
* Move all markdown into a dedicated `content/` directory
* use contentlayer (https://github.com/contentlayerdev/contentlayer) for loading markdown
* add catch all route pages/[...slug].js to generate all markdown routes using contentlayer to find pages

frontmatter now properly supported

NB: some nice side benefits like removing the hack in _app.js to render markdown template vs the general layout template

TODO: page titles need fixing
2022-03-23 14:37:53 +01:00
Khalil Ali 0b5b688ece
[site/theme]: Added page titles fixes #82.
Note this works by getting the page path (slug) and unparsing it e.g. '/claims' => Claims. 'notes-on-neometallism' => 'Notes on neometallism'.

In future, we may have title explicitly set in the front matter (or otherwise) and we can use that.
2022-03-21 16:12:59 +01:00
khalilcodes 7b7d12335a Resolves #73 - fix invalid value for twitter card title 2022-03-18 18:31:08 +03:00
sdiehl 46267a08d9 Fix site build, add yarn. 2022-03-13 11:10:39 +00:00
sdiehl 4a7eecef49 Attempt at rewriting .md file in Next router 2022-03-12 09:55:56 +00:00
Rufus Pollock 6c2342967c [site/home][m]: solid hero section for home page with colors, fonts.
* font: inter
* colors: from standard tailwind using life itself yellow as primary
2022-03-07 17:58:42 +01:00
Rufus Pollock 7538c4f26b [site/theme][m]: implement dark mode and default to it (purple background).
* upgraded tailwind to >= 3.0.0 and typography to >= 0.5.
* (accidental): move web3.html to public so it works
2022-03-04 16:00:56 +01:00
Rufus Pollock cfd151fe5c [site,#53][l]: skeleton website based off nextjs template https://github.com/datopian/nextjs-tailwind-mdx.
No real content yet. Just a skeleton.
2022-03-03 10:53:31 +01:00