Skip to content

Commit

Permalink
style : 프로젝트 이미지 크기 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Hellol77 committed Jul 8, 2024
1 parent 6015fb8 commit 7b47269
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/project/components/ProjectCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default function ProjectCard({
<p className=" text-sm text-subText">{description}</p>
<div className="mt-4 flex justify-center">
<Image
className=" rounded-md"
className=" rounded-md object-cover w-32 h-32"
alt="project"
src={image!!}
width={150}
Expand Down
8 changes: 8 additions & 0 deletions src/constants/projects.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import WaggleImage from "../../public/projects/waggle.png";
import RotorageImage from "../../public/projects/rotorage.png";
import TataroImage from "../../public/projects/tataro.png";
import MainImage from "../../public/mainImage.jpg";
import { ProjectType } from "@/types/projects";

const PROJECTS: Partial<ProjectType>[] = [
Expand All @@ -24,6 +25,13 @@ const PROJECTS: Partial<ProjectType>[] = [
link: "https://tataro.net/",
image: TataroImage,
},
{
title: "블로그",
description: "nextjs로 만든 개발 블로그",
link: "https://www.hellol.site/",
github: "https://github.com/Hellol77/blog",
image: MainImage,
},
];

export default PROJECTS;

0 comments on commit 7b47269

Please sign in to comment.