From 09cfbab00947a1768cf8fd61d4e184ec17428a16 Mon Sep 17 00:00:00 2001 From: nalpari Date: Tue, 13 Aug 2024 13:50:49 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=EC=BB=B4=ED=8F=AC=EB=84=8C=ED=8A=B8?= =?UTF-8?q?=20=EC=A2=85=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/[locale]/community/archive/page.jsx | 6 ++---- src/app/[locale]/community/faq/page.jsx | 6 ++---- src/app/[locale]/community/notice/page.jsx | 6 ++---- src/app/[locale]/management/plan/page.jsx | 6 ++---- src/app/[locale]/management/stuff/page.jsx | 4 +--- src/app/[locale]/master/company/page.jsx | 6 ++---- src/app/[locale]/master/price/page.jsx | 2 -- src/app/[locale]/roof/page.jsx | 2 -- 8 files changed, 11 insertions(+), 27 deletions(-) diff --git a/src/app/[locale]/community/archive/page.jsx b/src/app/[locale]/community/archive/page.jsx index 06971385..4c0cbdb0 100644 --- a/src/app/[locale]/community/archive/page.jsx +++ b/src/app/[locale]/community/archive/page.jsx @@ -1,14 +1,12 @@ -'use client' - import Hero from '@/components/Hero' import Archive from '@/components/community/Archive' export default function CommunityArchivePage() { return ( <> - +
- +
) diff --git a/src/app/[locale]/community/faq/page.jsx b/src/app/[locale]/community/faq/page.jsx index 63992da8..3f764566 100644 --- a/src/app/[locale]/community/faq/page.jsx +++ b/src/app/[locale]/community/faq/page.jsx @@ -1,14 +1,12 @@ -'use client' - import Hero from '@/components/Hero' import Faq from '@/components/community/Faq' export default function CommunityFaqPage() { return ( <> - +
- +
) diff --git a/src/app/[locale]/community/notice/page.jsx b/src/app/[locale]/community/notice/page.jsx index 5c5d0559..5372112e 100644 --- a/src/app/[locale]/community/notice/page.jsx +++ b/src/app/[locale]/community/notice/page.jsx @@ -1,14 +1,12 @@ -'use client' - import Hero from '@/components/Hero' import Notice from '@/components/community/Notice' export default function CommunityNoticePage() { return ( <> - +
- +
) diff --git a/src/app/[locale]/management/plan/page.jsx b/src/app/[locale]/management/plan/page.jsx index 45afb7fa..61937238 100644 --- a/src/app/[locale]/management/plan/page.jsx +++ b/src/app/[locale]/management/plan/page.jsx @@ -1,14 +1,12 @@ -'use client' - import Hero from '@/components/Hero' import Plan from '@/components/management/Plan' export default function ManagementPlanPage() { return ( <> - +
- +
) diff --git a/src/app/[locale]/management/stuff/page.jsx b/src/app/[locale]/management/stuff/page.jsx index a548be92..15131ba6 100644 --- a/src/app/[locale]/management/stuff/page.jsx +++ b/src/app/[locale]/management/stuff/page.jsx @@ -1,5 +1,3 @@ -'use client' - import Hero from '@/components/Hero' import Stuff from '@/components/management/Stuff' @@ -8,7 +6,7 @@ export default function ManagementStuffPage() { <>
- +
) diff --git a/src/app/[locale]/master/company/page.jsx b/src/app/[locale]/master/company/page.jsx index 18be29e2..6ee60f0e 100644 --- a/src/app/[locale]/master/company/page.jsx +++ b/src/app/[locale]/master/company/page.jsx @@ -1,14 +1,12 @@ -'use client' - import Hero from '@/components/Hero' import Company from '@/components/master/Company' export default function MasterCompanyPage() { return ( <> - +
- +
) diff --git a/src/app/[locale]/master/price/page.jsx b/src/app/[locale]/master/price/page.jsx index e60210fb..c0e5a40d 100644 --- a/src/app/[locale]/master/price/page.jsx +++ b/src/app/[locale]/master/price/page.jsx @@ -1,5 +1,3 @@ -'use client' - import Hero from '@/components/Hero' import Price from '@/components/master/Price' diff --git a/src/app/[locale]/roof/page.jsx b/src/app/[locale]/roof/page.jsx index 756199c3..4d9703f3 100644 --- a/src/app/[locale]/roof/page.jsx +++ b/src/app/[locale]/roof/page.jsx @@ -1,5 +1,3 @@ -'use client' - import Hero from '@/components/Hero' import Roof from '@/components/Roof' From bd2331b49db8dcfeb6112ff8161cb4b965cef946 Mon Sep 17 00:00:00 2001 From: yoosangwook Date: Wed, 14 Aug 2024 13:15:40 +0900 Subject: [PATCH 2/2] feat: Add Thumbnail list component --- src/components/Roof2.jsx | 2 ++ src/components/ui/ThumbnailLIst.jsx | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 src/components/ui/ThumbnailLIst.jsx diff --git a/src/components/Roof2.jsx b/src/components/Roof2.jsx index 68303710..9b7030a1 100644 --- a/src/components/Roof2.jsx +++ b/src/components/Roof2.jsx @@ -18,6 +18,7 @@ import { QLine } from '@/components/fabric/QLine' import { getCanvasState, insertCanvasState } from '@/lib/canvas' import { calculateIntersection } from '@/util/canvas-util' import { QPolygon } from '@/components/fabric/QPolygon' +import ThumbnailLIst from './ui/ThumbnailLIst' export default function Roof2() { const { canvas, handleRedo, handleUndo, setCanvasBackgroundWithDots, saveImage, addCanvas } = useCanvas('canvas') @@ -690,6 +691,7 @@ export default function Roof2() { )} +
diff --git a/src/components/ui/ThumbnailLIst.jsx b/src/components/ui/ThumbnailLIst.jsx new file mode 100644 index 00000000..69be84d9 --- /dev/null +++ b/src/components/ui/ThumbnailLIst.jsx @@ -0,0 +1,3 @@ +export default function ThumbnailLIst() { + return
thumbnails
+}