mirror of
https://github.com/kremalicious/blog.git
synced 2024-12-22 17:23:50 +01:00
mention theme switch in readme
This commit is contained in:
parent
8a0f3fc02e
commit
8f0881853d
@ -22,6 +22,7 @@
|
|||||||
- [🔍 Search](#-search)
|
- [🔍 Search](#-search)
|
||||||
- [🕸 Related Posts](#-related-posts)
|
- [🕸 Related Posts](#-related-posts)
|
||||||
- [📝 GitHub changelog rendering](#-github-changelog-rendering)
|
- [📝 GitHub changelog rendering](#-github-changelog-rendering)
|
||||||
|
- [🌗 Theme Switcher](#-theme-switcher)
|
||||||
- [🏆 SEO component](#-seo-component)
|
- [🏆 SEO component](#-seo-component)
|
||||||
- [📈 Matomo (formerly Piwik) analytics tracking](#-matomo-formerly-piwik-analytics-tracking)
|
- [📈 Matomo (formerly Piwik) analytics tracking](#-matomo-formerly-piwik-analytics-tracking)
|
||||||
- [gatsby-redirect-from](#gatsby-redirect-from)
|
- [gatsby-redirect-from](#gatsby-redirect-from)
|
||||||
@ -117,6 +118,14 @@ If you want to know how this works, have a look at the respective component unde
|
|||||||
|
|
||||||
- [`src/components/atoms/Changelog.jsx`](src/components/atoms/Changelog.jsx)
|
- [`src/components/atoms/Changelog.jsx`](src/components/atoms/Changelog.jsx)
|
||||||
|
|
||||||
|
### 🌗 Theme Switcher
|
||||||
|
|
||||||
|
Includes a theme switcher which allows user to toggle between a light and a dark theme. Switching between them also happens automatically based on user's system preferences utilizing [use-dark-mode](https://github.com/donavon/use-dark-mode).
|
||||||
|
|
||||||
|
If you want to know how, have a look at the respective components:
|
||||||
|
|
||||||
|
- [`src/components/molecules/ThemeSwitch.jsx`](src/components/molecules/ThemeSwitch.jsx)
|
||||||
|
|
||||||
### 🏆 SEO component
|
### 🏆 SEO component
|
||||||
|
|
||||||
Includes a SEO component which automatically switches all required `meta` tags for search engines, Twitter Cards, and Facebook OpenGraph tags based on the browsed route/page.
|
Includes a SEO component which automatically switches all required `meta` tags for search engines, Twitter Cards, and Facebook OpenGraph tags based on the browsed route/page.
|
||||||
|
Loading…
Reference in New Issue
Block a user