create-next-mdx-blog-app 2.2.6 → 2.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -43,7 +43,7 @@ Scaffold the blog into an empty directory:
43
43
  npx create-next-mdx-blog-app .
44
44
  ```
45
45
 
46
- The installer ([`create-next-mdx-blog-app`](https://www.npmjs.com/package/create-next-mdx-blog-app/), v2.2.6, MIT) clones the app, installs dependencies, and prints the environment setup steps.
46
+ The installer ([`create-next-mdx-blog-app`](https://www.npmjs.com/package/create-next-mdx-blog-app/), v2.2.8, MIT) clones the app, installs dependencies, and prints the environment setup steps.
47
47
 
48
48
  ### Option 2 — Manual clone
49
49
 
@@ -210,6 +210,8 @@ Wraps the Next.js `<Image>` component with `<figure>`/`<figcaption>` for seamles
210
210
  | **Social share** | `src/components/SocialShareButtons.tsx` | Pre-filled share dialogs for X (Twitter), LinkedIn, and Reddit using the article title and URL |
211
211
  | **View counter** | `src/components/ViewCounter.tsx` | Live per-article view count in a Supabase `view_counts` table, incremented atomically via the `increment_view_count` RPC. Dynamic pages increment server-side; static pages call the `/api/views/[slug]` route after hydration |
212
212
  | **Related articles** | `src/components/RelatedArticles.tsx` | Shown at the bottom of every dynamic article; surfaces up to 5 other articles ranked by shared tags (then publish date) via `fetchRelatedArticles()` |
213
+ | **Skip to content** | `src/components/SkipToContent.tsx` | Visually-hidden link at the very top of every page, revealed on keyboard focus, that jumps straight to `<main id="main-content">` — lets keyboard and screen-reader users bypass repeated header/nav on every route |
214
+ | **High contrast mode** | `src/components/ContrastToggle.tsx` | Header toggle next to the theme switch; sets `data-contrast="high"` on `<html>` for solid, higher-contrast colours in both themes. Persisted in `localStorage`, applied before first paint (`ContrastScript.tsx`), and defaults to the OS `prefers-contrast: more` setting |
213
215
 
214
216
  ## 🤖 AI Features
215
217
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-next-mdx-blog-app",
3
- "version": "2.2.6",
3
+ "version": "2.2.8",
4
4
  "description": "A production-ready technical blog starter kit built with Next.js, MDX, Supabase, and TypeScript.",
5
5
  "author": {
6
6
  "name": "Abdullah Muhammad",