Skip to content

Commit

Permalink
free heo
Browse files Browse the repository at this point in the history
  • Loading branch information
Daleveral committed Dec 29, 2024
1 parent 9b80c14 commit eb9d757
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions themes/heo/components/HexoCard.js
Original file line number Diff line number Diff line change
@@ -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

2 changes: 1 addition & 1 deletion themes/heo/components/HexoRecentComments.js
Original file line number Diff line number Diff line change
@@ -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'
Expand Down

0 comments on commit eb9d757

Please sign in to comment.