This commit is contained in:
DaleChu
2024-12-29 18:03:29 +08:00
parent 9b80c149bf
commit eb9d757a91
2 changed files with 11 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
const Card = ({ children, headerSlot, className }) => {
return <div className={className}>
<>{headerSlot}</>
<section className="card shadow-md hover:shadow-md dark:text-gray-300 border dark:border-black rounded-xl lg:p-6 p-4 bg-white dark:bg-hexo-black-gray lg:duration-100">
{children}
</section>
</div>
}
export default Card

View File

@@ -1,4 +1,4 @@
import Card from '@/themes/hexo/components/Card'
import Card from '@./HexoCard'
import { useGlobal } from '@/lib/global'
import Link from 'next/link'
import { RecentComments } from '@waline/client'