Tags page (#298)

* Add spec for tag pages and tags index

* button no underscore

* Add implementation plan for tag pages and tags index

* Add TagListing type

* Extract createTag factory

* Add createTagPageCards factory

* Add getAllTagSlugs API

* Add getPagesByTag API

* Add getAllTagsWithCounts API

* Parallelize tag and page fetches in getAllTagsWithCounts

* Add Pagination component

* Use cx for Pagination class composition

* Add TagsIndex component

* Add /tags/[slug] route

* Parallelize params/searchParams awaits in /tags/[slug]

* Add /tags index route

* Activate tag buttons

* Add tag URLs to sitemap

* Mark PageGrid and Overlay as client components

* Filter zero-count tags from getAllTagSlugs

* Fix tag filter operator and draft filter for nullable field
This commit is contained in:
tmshv authored and GitHub committed 2026-04-25 17:16:46 +03:00
1 parent 467a218d00
commit 285527f43c
20 files changed
+1990 -15

No files matched your search

+1
View File
@@ -5,6 +5,7 @@
font-size: var(--font-size-default);
text-align: center;
text-decoration: none;
border-radius: var(--size-s);
border: 1px solid var(--color-shadow);
+2
View File
@@ -1,3 +1,5 @@
"use client"
import { useCallback, useEffect, useMemo, useRef, useState } from "react"
export type TransitionProps = {
+2
View File
@@ -1,3 +1,5 @@
"use client"
import { useLockBodyScroll, useReducedMotion } from "@hudozka/hooks"
import s from "./styles.module.css"
import { Transition } from "./Transition"