Skip to content

Commit 4504bed

Browse files
committed
fix: ui
1 parent 5495c3c commit 4504bed

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

src/app/(app)/(home)/page.tsx

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export default function Home() {
1414
<div>
1515
<Hero />
1616
<BlogCardList />
17+
<WindVane />
1718
</div>
1819
);
1920
}
@@ -61,7 +62,7 @@ const Hero = () => {
6162
const title = {
6263
template: [
6364
{ type: 'h1', text: `Hi, I'm `, class: ' font-light text-4xl font-900 inline-block' },
64-
{ type: 'h1', text: `zw`, class: ' font-light text-4xl font-bold inline-block' },
65+
{ type: 'h1', text: `zw`, class: ' text-4xl font-bold inline-block' },
6566
{
6667
type: 'h1',
6768
text: `👋`,
@@ -244,11 +245,23 @@ const BlogCardList = () => {
244245
];
245246

246247
return (
247-
<div className=" w-screen mt-10 md:mt-16 flex flex-col gap-y-8 px-8">
248-
<span className="text-2xl font-medium leading-loose ml-4 font-mono hidden md:block">
248+
<div className=" w-full mt-10 md:mt-16 flex flex-col gap-y-8 px-8">
249+
<span className="text-2xl font-medium leading-loose md:ml-4 font-mono hidden gap-x-2 items-center md:flex">
249250
最近文章
251+
<span className=" i-material-symbols-kid-star-outline cursor-pointer hover:rotate-[720deg] animate-ease-out duration-150" />
250252
</span>
251253
<FocusCards cards={cards} />
252254
</div>
253255
);
254256
};
257+
258+
const WindVane = () => {
259+
return (
260+
<div className=" w-full mt-10 md:mt-16 flex flex-col gap-y-8 px-8">
261+
<span className="text-2xl flex justify-center md:justify-start items-center gap-x-2 text-center font-medium leading-loose md:ml-4 font-mono ">
262+
风向标
263+
<span className=" i-mingcute-navigation-line cursor-pointer hover:rotate-[360deg] animate-ease-out duration-200" />
264+
</span>
265+
</div>
266+
);
267+
};

0 commit comments

Comments
 (0)