mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-05 07:26:46 +00:00
主题配置文件Notion化
This commit is contained in:
@@ -4,6 +4,7 @@ import { useState, useRef, Fragment } from 'react'
|
||||
import { Dialog, Transition } from '@headlessui/react'
|
||||
import CONFIG from '../config'
|
||||
import LazyImage from '@/components/LazyImage'
|
||||
import { siteConfig } from '@/lib/config'
|
||||
|
||||
export default function ModalVideo({
|
||||
thumb,
|
||||
@@ -59,7 +60,7 @@ export default function ModalVideo({
|
||||
<path d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10zm0 2C5.373 24 0 18.627 0 12S5.373 0 12 0s12 5.373 12 12-5.373 12-12 12z" />
|
||||
<path d="M10 17l6-5-6-5z" />
|
||||
</svg>
|
||||
<span className="ml-3">{CONFIG.HERO_VIDEO_TIPS}</span>
|
||||
<span className="ml-3">{siteConfig('LANDING_HERO_VIDEO_TIPS', null, CONFIG)}</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -100,7 +101,7 @@ export default function ModalVideo({
|
||||
<div>
|
||||
<iframe
|
||||
className="video-iframe aspect-video w-screen md:w-[800px] mx-auto"
|
||||
src={CONFIG.HERO_VIDEO_IFRAME}
|
||||
src={siteConfig('LANDING_HERO_VIDEO_IFRAME', null, CONFIG)}
|
||||
scrolling="no"
|
||||
border="0"
|
||||
frameBorder="no"
|
||||
|
||||
Reference in New Issue
Block a user