mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 15:09:22 +00:00
free heo
This commit is contained in:
10
themes/heo/components/HexoCard.js
Normal file
10
themes/heo/components/HexoCard.js
Normal 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
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user