微调小bug

This commit is contained in:
tangly1024.com
2024-11-21 12:56:38 +08:00
parent 5b5f7bc588
commit 3264d4fb9e
2 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,6 @@ import CONFIG from '../config'
export default function BannerItem() {
// 首屏信息栏按钮文字
const banner = siteConfig('MAGZINE_HOME_BANNER_ENABLE', null, CONFIG)
const button = siteConfig('MAGZINE_HOME_BUTTON', null, CONFIG)
const text = siteConfig('MAGZINE_HOME_BUTTON_TEXT', null, CONFIG)
const url = siteConfig('MAGZINE_HOME_BUTTON_URL', null, CONFIG)

View File

@@ -1,6 +1,7 @@
import FlipCard from '@/components/FlipCard'
import { siteConfig } from '@/lib/config'
import Link from 'next/link'
import CONFIG from '../config'
/**
* 交流频道
@@ -8,7 +9,7 @@ import Link from 'next/link'
*/
export default function TouchMeCard() {
// 开关
if (!siteConfig('MAGZINE_SOCIAL_CARD', null)) {
if (!siteConfig('MAGZINE_SOCIAL_CARD', null, CONFIG)) {
return <></>
}
@@ -27,7 +28,7 @@ export default function TouchMeCard() {
</div>
}
backContent={
<Link href={siteConfig('MAGZINE_SOCIAL_CARD_URL')}>
<Link href={siteConfig('MAGZINE_SOCIAL_CARD_URL', '#', CONFIG)}>
<div className='font-[1000] text-xl h-full'>
{siteConfig('MAGZINE_SOCIAL_CARD_TITLE_3')}
</div>