development
copilot/add-i18n-support-for-english
dependabot/npm_and_yarn/astro-5.16.4
dependabot/npm_and_yarn/katex-0.16.27
dependabot/npm_and_yarn/prettier-3.7.4
dependabot/npm_and_yarn/tailwindcss-4.1.16
dependabot/npm_and_yarn/tailwindcss/vite-4.1.16
dependabot/npm_and_yarn/typescript-eslint-8.46.2
dependabot/npm_and_yarn/typescript-eslint/parser-8.46.2
development
main
| 1 | import type { TOCItem, ReadingTime } from './content.types' |
| 2 | |
| 3 | // TOC component props interface |
| 4 | export interface TOCProps { |
| 5 | toc?: TOCItem[] |
| 6 | } |
| 7 | |
| 8 | // Post layout props interface (generic, not tied to specific data source) |
| 9 | export interface PostLayoutProps { |
| 10 | title: string |
| 11 | pubDate: Date |
| 12 | image?: string |
| 13 | readingTime?: ReadingTime |
| 14 | toc?: TOCItem[] |
| 15 | } |
| 16 | |
| 17 | // Transition props interface |
| 18 | export interface TransitionProps { |
| 19 | type: 'post' | 'page' |
| 20 | class?: string |
| 21 | } |
| 22 | |
| 23 | // Layout props interface |
| 24 | export interface LayoutProps extends TransitionProps { |
| 25 | title?: string |
| 26 | description?: string |
| 27 | } |
| 28 | |
| 29 | // BaseHead component props interface |
| 30 | export interface BaseHeadProps { |
| 31 | title: string |
| 32 | description: string |
| 33 | } |