mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 03:32:51 +02:00
style: add highlight hover animation to navigation and footer
- add dynamic accessible labels to heading anchors - update theme toggle button svg
This commit is contained in:
parent
2d80d7effd
commit
610c86db0d
21 changed files with 131 additions and 108 deletions
|
@ -1,7 +1,7 @@
|
|||
import type { CollectionEntry } from 'astro:content'
|
||||
import { getCollection, render } from 'astro:content'
|
||||
import { defaultLocale } from '@/config'
|
||||
import { memoize } from '@/utils/cache'
|
||||
import { getCollection, render } from 'astro:content'
|
||||
|
||||
/**
|
||||
* Core Functions
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import type { CollectionEntry } from 'astro:content'
|
||||
import { defaultLocale } from '@/config'
|
||||
import MarkdownIt from 'markdown-it'
|
||||
import { defaultLocale } from '@/config'
|
||||
|
||||
type ExcerptScene = 'list' | 'meta' | 'og' | 'feed'
|
||||
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
import type { APIContext, ImageMetadata } from 'astro'
|
||||
import type { CollectionEntry } from 'astro:content'
|
||||
import type { Author } from 'feed'
|
||||
import { defaultLocale, themeConfig } from '@/config'
|
||||
import { ui } from '@/i18n/ui'
|
||||
import { memoize } from '@/utils/cache'
|
||||
import { generateDescription } from '@/utils/description'
|
||||
import { getImage } from 'astro:assets'
|
||||
import { getCollection } from 'astro:content'
|
||||
import { Feed } from 'feed'
|
||||
import MarkdownIt from 'markdown-it'
|
||||
import { parse as htmlParser } from 'node-html-parser'
|
||||
import sanitizeHtml from 'sanitize-html'
|
||||
import { defaultLocale, themeConfig } from '@/config'
|
||||
import { ui } from '@/i18n/ui'
|
||||
import { memoize } from '@/utils/cache'
|
||||
import { generateDescription } from '@/utils/description'
|
||||
|
||||
interface GenerateFeedOptions {
|
||||
lang?: string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue