Skip to content

Commit

Permalink
[FE][Chore] 프론트엔드 4주차 배포용 더미 코드 추가 (TODO: 수정 필요)
Browse files Browse the repository at this point in the history
  • Loading branch information
happyhyep committed Nov 21, 2024
1 parent 3f00ff0 commit 6326386
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions frontend/src/component/linedrawer/Linedrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const Linedrawer = () => {
};

return (
<div className="relative h-[600px] w-[800px]">
<div className="relative h-[600px]">
<div className="absolute left-1/2 top-[10px] z-10 flex -translate-x-1/2 transform gap-2">
<button
type="button"
Expand All @@ -102,9 +102,9 @@ export const Linedrawer = () => {
</div>
<canvas
ref={canvasRef}
width="800"
width="400vw"
height="600"
className="cursor-crosshair border border-gray-300"
className="relative left-1/2 -translate-x-1/2 cursor-crosshair border border-gray-300"
onClick={handleCanvasClick}
onMouseMove={handleMouseMove}
onMouseDown={handleMouseDown}
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/pages/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,21 @@ const contentData = [
title: '아들네 집으로',
time: '0시간 34분',
person: 2,
link: '/test1',
link: '/channel/123/guest/456',
},
{
id: '2',
title: '손자네 집으로',
time: '2시간 32분',
person: 0,
link: '/test2',
link: '/channel/123/guest/456',
},
{
id: '3',
title: '마을회관으로',
time: '0시간 12분',
person: 1,
link: '/test3',
link: '/channel/123/guest/456',
},
];

Expand Down

0 comments on commit 6326386

Please sign in to comment.