mirror of
https://github.com/LiuYuYang01/ThriveX-Blog.git
synced 2026-05-07 06:07:34 +08:00
移除 HotArticle 组件的样式文件,优化 index.tsx 文件,提升代码整洁性和可读性。
This commit is contained in:
@@ -96,7 +96,7 @@ export default function FishpondPage() {
|
||||
>
|
||||
{rssData.map((item, index) => {
|
||||
return (
|
||||
<div key={`${item.url}-${index}`} className="border border-[#eee] dark:border-black-b rounded-md transition-shadow hover:shadow-[0_2px_8px_rgba(186,186,186,0.15)] bg-white dark:bg-black-b p-5 pb-3 hover:-translate-y-0.5 mb-3 break-inside-avoid">
|
||||
<div key={`${item.url}-${index}`} className="border border-[#eee] dark:border-black-b rounded-md transition-shadow hover:shadow-[0_2px_8px_rgba(186,186,186,0.15)] bg-white dark:bg-black-b p-5 pb-3 hover:-translate-y-0.5 transition-transform mb-3 break-inside-avoid">
|
||||
<div className="flex justify-between items-center mb-3.75">
|
||||
<div className="flex items-center gap-3">
|
||||
<div className="w-10 h-10 rounded-full overflow-hidden border-2 border-[#eee] dark:border-black-b">
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
.hotArticleComponent {
|
||||
|
||||
}
|
||||
@@ -4,7 +4,6 @@ import { getWebConfigDataAPI } from '@/api/config'
|
||||
import { getArticleListAPI } from '@/api/article';
|
||||
import { IoIosArrowForward } from "react-icons/io";
|
||||
import fire from '@/assets/svg/other/fire.svg';
|
||||
import "./index.scss";
|
||||
import { Theme } from '@/types/app/config';
|
||||
import { Article } from '@/types/app/article';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user