Skip to content

Commit bc5e63e

Browse files
committed
Feat: 메인화면 Hits Image컴포넌트로 변경
1 parent e966c9a commit bc5e63e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/(blog)/page.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { Post } from "@/lib/posts";
99
import { useSearchParams, useRouter } from "next/navigation";
1010
import { Badge } from "@/components/ui/badge";
1111
import { X } from "lucide-react";
12+
import Image from "next/image";
1213

1314
// 페이지당 포스트 수 정의
1415
const POSTS_PER_PAGE = 6;
@@ -220,7 +221,7 @@ function HomeContent() {
220221
🚀
221222
</p>
222223
<a href="https://myhits.vercel.app">
223-
<img
224+
<Image
224225
src="https://myhits.vercel.app/api/hit/https%3A%2F%2Flazy-dinosaur.github.io%2F?color=green&label=Hits&size=medium"
225226
alt="Hits"
226227
/>

0 commit comments

Comments
 (0)