refactor: rename functions

This commit is contained in:
radishzzz 2025-03-14 14:23:35 +00:00
parent ca1abd28c1
commit f5526f8622
17 changed files with 46 additions and 49 deletions

View file

@ -1,11 +1,10 @@
---
import themeConfig from '@/config'
import { getPagePath } from '@/i18n/path'
import { getPageInfo } from '@/i18n/path'
const { title, subtitle } = themeConfig.site
const { titleSpace } = themeConfig.global
const currentPath = Astro.url.pathname
const { getLocalizedPath } = getPagePath(currentPath)
const { getLocalizedPath } = getPageInfo(Astro.url.pathname)
const marginBottom = {
1: 'mb-1.625',