MCPcopy Create free account

hub / github.com/cosZone/astro-koharu / functions

Functions813 in github.com/cosZone/astro-koharu

FunctionQuizGap
({ answer, revealed, onClick, isMistake }: QuizGapProps)
src/components/markdown/quiz/QuizGap.tsx:12
FunctionQuizOption
({ index, html, isCorrect, isSelected, revealed, disabled, onClick }: QuizOptionProps)
src/components/markdown/quiz/QuizOption.tsx:13
FunctionRandomPostList
({ postsPool, count, locale }: Props)
src/components/post/RandomPostList.tsx:15
FunctionRecentUpdates
({ posts, maxDisplay = 5, onEdit }: RecentUpdatesProps)
cms/src/components/RecentUpdates.tsx:19
FunctionRelatedPostList
({ posts, fallbackPool, fallbackCount, startIndex = 6, locale }: Props)
src/components/post/RelatedPostList.tsx:16
FunctionRestoreApp
({ initialBackupFile, dryRun = false, force = false, showReturnHint = false, onComplete, }: RestoreA
scripts/koharu/restore.tsx:29
FunctionSakuraSVG
({ className }: { className?: string })
src/components/svg/SakuraSvg.tsx:1
FunctionScrollProgress
({ className }: ScrollProgressProps)
src/components/layout/ScrollProgress.tsx:7
FunctionScrollableRow
({ children, className, innerClassName, fadeWidth = 24 }: ScrollableRowProps)
src/components/ui/ScrollableRow.tsx:14
FunctionSearchDialog
()
src/components/layout/SearchDialog.tsx:38
FunctionSearchIcon
({ className }: { className?: string })
src/components/layout/SearchDialog.tsx:20
FunctionSearchTrigger
({ className }: { className?: string })
src/components/layout/SearchDialog.tsx:177
FunctionSegmented
({ options, defaultValue, onChange, className, id, indicateClass, itemClass, value, }: Segment
src/components/ui/segmented.tsx:23
FunctionSeriesNavigation
({ prevPost, nextPost, className, locale }: SeriesNavigationProps)
src/components/post/SeriesNavigation.tsx:20
FunctionSeriesPostList
({ posts, currentPostSlug, className, locale }: SeriesPostListProps)
src/components/post/SeriesPostList.tsx:19
FunctionSingleChoiceQuiz
({ quiz }: { quiz: ParsedQuiz })
src/components/markdown/quiz/SingleChoiceQuiz.tsx:9
FunctionSnowParticles
({ speed = 1, intensity = 0.6, parallaxRef, layerRange = [0, 5], maxLayers = 3, maxIterations = 4,
src/components/christmas/SnowParticles.tsx:107
FunctionSnowParticlesWithParallax
内部组件:桥接 Motion spring 值和 R3F useFrame
src/components/christmas/SnowfallCanvas.tsx:166
FunctionSnowfallCanvas
({ speed = 1, intensity = 0.6, mobileIntensity = 0.4, parallaxStrength = 0.15, zIndex = 50, layerP
src/components/christmas/SnowfallCanvas.tsx:30
FunctionSnowflakePattern
()
src/components/christmas/ChristmasOrnamentToggle.tsx:51
FunctionSortableHeader
({ label, field, sortField, sortOrder, onSort }: SortableHeaderProps)
cms/src/components/PostTable.tsx:21
FunctionStepItem
({ label, status, completedValue, children, error }: StepItemProps)
scripts/koharu/components/step-flow/StepItem.tsx:12
FunctionSummaryPanel
({ summary, source = 'ai', typingSpeed = 25, className }: SummaryPanelProps)
src/components/post/SummaryPanel.tsx:88
FunctionTableOfContents
({ defaultExpanded = false, enableNumbering = true }: TableOfContentsProps = {})
src/components/layout/TableOfContents/index.tsx:28
FunctionTagItem
({ tag, count, colorIndex, locale }: TagItemProps)
src/components/tag/TagItem.tsx:19
FunctionThemeToggle
({ className }: ThemeToggleProps)
src/components/theme/ThemeToggle.tsx:90
FunctionTimelineItem
({ announcement, isRead, isLast, nextColor, }: { announcement: Announcement; isRead: boolean; is
src/components/announcement/AnnouncementListPopup.tsx:35
FunctionToaster
({ ...props }: ToasterProps)
src/components/ui/sonner.tsx:12
FunctionToolbarButton
({ icon, label, onClick, disabled, }: { icon: string; label: string; onClick: () => void; disa
src/components/markdown/ImageLightbox.tsx:252
FunctionTopDecoration
()
src/components/christmas/ChristmasOrnamentToggle.tsx:15
FunctionTrackTimeDisplay
Isolated time display — re-renders at most 1/s via useSyncExternalStore.
src/components/markdown/video-player/VideoPlaylist.tsx:25
FunctionTrackTimeDisplay
Isolated time display — re-renders at most 1/s via useSyncExternalStore.
src/components/markdown/audio-player/PlayerPlaylist.tsx:35
FunctionTrafficDot
({ color, onClick, 'aria-label': ariaLabel, icon, }: { color: string; onClick?: () => void; 'ari
src/components/markdown/shared/TrafficLights.tsx:37
FunctionTrafficLights
({ onClose, onFullscreen }: TrafficLightsProps)
src/components/markdown/shared/TrafficLights.tsx:15
FunctionTrueFalseQuiz
({ quiz }: { quiz: ParsedQuiz })
src/components/markdown/quiz/TrueFalseQuiz.tsx:8
FunctionTweetEmbed
({ tweetId }: TweetEmbedProps)
cms/src/components/embed/TweetEmbed.tsx:14
FunctionTweetEmbed
({ tweetId }: TweetEmbedProps)
src/components/embed/TweetEmbed.tsx:15
FunctionTwikoo
()
src/components/comment/providers/Twikoo.tsx:36
FunctionTwikooSkeleton
()
src/components/comment/providers/Twikoo.tsx:10
FunctionUmamiPVSpan
({ statsConfig, compact = true }: Props)
src/components/umami/UmamiPVSpan.tsx:11
FunctionUpdateApp
({ checkOnly = false, skipBackup = false, force = false, targetTag, rebase = false, dryRun = false
scripts/koharu/update.tsx:43
FunctionVideoControls
({ showTrackButtons, videoRef, ...controlProps }: VideoControlsProps)
src/components/markdown/video-player/VideoControls.tsx:30
FunctionVideoPlayer
({ element }: VideoPlayerProps)
src/components/markdown/VideoPlayer.tsx:19
FunctionViewSourceToggle
({ isSourceView, onToggle, disabled, className }: ViewSourceToggleProps)
src/components/markdown/shared/ViewSourceToggle.tsx:17
FunctionWaline
()
src/components/comment/providers/Waline.tsx:11
FunctionWaveSvg
()
src/components/ui/cover/wave.tsx:1
FunctionZoomHint
()
src/components/markdown/ImageLightbox.tsx:304
Functionanimate
(currentTime: number)
src/components/post/SummaryPanel.tsx:127
FunctionbatchLoadOGData
(urls: string[])
cms/src/lib/og-service.ts:115
FunctionclearSelection
()
src/hooks/useSearchKeyboardNav.ts:38
Functionclose
()
src/components/markdown/ImageLightbox.tsx:107
Functionclose
()
src/components/markdown/CodeBlockFullscreen.tsx:66
Functionclose
()
src/components/markdown/DiagramFullscreen.tsx:38
FunctioncloseAnnouncementList
()
src/store/announcement.ts:120
FunctioncloseCodeFullscreen
()
src/store/modal.ts:123
FunctioncloseDrawer
()
src/store/modal.ts:115
FunctioncloseSearch
()
src/store/modal.ts:119
Functioncode
({ text, lang, escaped })
cms/src/lib/markdown-render.ts:91
FunctioncreateArticleStatsConfig
(href: string)
src/constants/site-config.ts:283
FunctioncreateHandler
(c: Context)
cms/src/api/create.ts:121
FunctioncreateInitialState
(options: UpdateOptions)
scripts/koharu/utils/update-reducer.ts:127
FunctioncreatePost
(params: CreatePostParams)
cms/src/lib/api.ts:191
FunctioncycleMode
()
src/components/markdown/shared/MediaControls.tsx:86
FunctioncycleSelectReducer
* Reducer for CycleSelect state * Implements cyclic navigation: wraps from last to first and vice versa
scripts/koharu/components/cycle-select/useCycleSelectState.ts:68
FunctionenhanceImages
(container: Element)
src/lib/image-enhancer.ts:86
FunctionenhanceLinkPreviews
(container: Element)
src/lib/link-preview-enhancer.ts:54
FunctionformatForSeo
(date: Date | string)
src/lib/date.ts:74
FunctiongetAdjacentSeriesPosts
( currentPost: BlogPost, locale?: string, )
src/lib/content/posts.ts:252
FunctiongetAllTags
(posts: BlogPost[])
src/lib/content/tags.ts:32
FunctiongetCategoryByLink
(categories: Category[], link?: string)
src/lib/content/categories.ts:139
FunctiongetCategoryLinks
(categories?: Category[], parentLink?: string)
src/lib/content/categories.ts:102
FunctiongetCategoryList
(locale?: string)
src/lib/content/categories.ts:28
FunctiongetHomeHighlightedPosts
(locale?: string)
src/lib/content/posts.ts:384
FunctiongetHomePagePosts
(locale?: string)
src/lib/content/posts.ts:402
FunctiongetInitialState
()
src/components/christmas/ChristmasOrnamentToggle.tsx:151
FunctiongetLocaleLabel
(code: string)
src/i18n/config.ts:52
FunctiongetLocaleStaticPaths
()
src/pages/_shared/utils.ts:18
FunctiongetLqipProps
(imagePath: string)
src/lib/lqip.ts:66
FunctiongetNonFeaturedPostsBySticky
(locale?: string)
src/lib/content/posts.ts:360
FunctiongetOgImageUrl
(cover: string | undefined, site: URL | undefined)
src/lib/seo/og-image.ts:11
FunctiongetParentCategory
(category: Category | null, categories: Category[])
src/lib/content/categories.ts:158
FunctiongetPathname
()
src/components/layout/LanguageSwitcher.tsx:24
FunctiongetPostById
(id: string, locale?: string)
src/lib/content/posts.ts:118
FunctiongetPostCount
(locale?: string)
src/lib/content/posts.ts:154
FunctiongetPostDescription
(post: BlogPost, locale: string = defaultLocale, maxLength: number = 150)
src/lib/content/posts.ts:51
FunctiongetPostsBySeriesSlug
(slug: string, locale?: string)
src/lib/content/posts.ts:327
FunctiongetPostsBySticky
(locale?: string)
src/lib/content/posts.ts:130
FunctiongetRandomPosts
(count: number = 10, locale?: string)
src/lib/content/posts.ts:227
FunctiongetRelatedPosts
(currentPost: BlogPost, allPosts: BlogPost[], count: number = 5)
src/lib/content/similarities.ts:76
FunctiongetSeriesPath
(slug: string)
src/constants/router.ts:49
FunctiongetServerPathname
()
src/components/layout/LanguageSwitcher.tsx:28
FunctiongetSiteStats
()
src/lib/stats.ts:13
FunctiongetStaticPaths
()
src/pages/[lang]/rss.xml.ts:10
FunctionhandleBeforePreparation
()
src/components/layout/SearchDialog.tsx:71
FunctionhandleBeforeUnload
(e: BeforeUnloadEvent)
cms/src/components/PostEditor.tsx:307
FunctionhandleChange
()
src/components/theme/ThemeToggle.tsx:93
FunctionhandleClick
()
src/components/announcement/AnnouncementListPopup.tsx:51
FunctionhandleClick
()
src/components/christmas/ChristmasOrnamentToggle.tsx:190
FunctionhandleCreatorComplete
(_success: boolean)
scripts/koharu/new.tsx:30
FunctionhandleDecrypted
()
src/components/markdown/ContentEnhancer.tsx:89
← previousnext →601–700 of 813, ranked by callers