From 11135d7a68b972d62ef8a6195f46c3fef7422375 Mon Sep 17 00:00:00 2001 From: bullmouse Date: Wed, 15 Nov 2023 17:31:05 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EA=B8=B0=EB=B3=B8=20=EB=94=94=EC=9E=90?= =?UTF-8?q?=EC=9D=B8=20=EB=A7=88=EB=AC=B4=EB=A6=AC=ED=95=98=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Main.tsx | 14 +++---- src/domain/_common/components/Checkbox.tsx | 2 +- src/domain/_common/components/IconButton.tsx | 5 ++- .../_common/components/NoticeBubble.tsx | 5 ++- src/domain/_common/components/Stepper.tsx | 3 +- src/domain/_common/components/TextInput.tsx | 4 +- src/domain/photo/RegisterPhoto/ScanQRCode.tsx | 42 +++++++++++++++++-- src/domain/photo/RegisterPhoto/index.tsx | 3 +- .../components/AddPhotoIntoAlbum.tsx | 32 ++++++++++++++ .../UploadPhoto/components/SelectFrame.tsx | 32 ++++++++++++++ .../UploadPhoto/components/UploadInfo.tsx | 36 ++++++++++++++++ src/domain/photo/UploadPhoto/index.tsx | 42 +++++++++++++++++++ src/routers/PhotoRouters.tsx | 2 + tailwind.config.ts | 3 ++ 14 files changed, 205 insertions(+), 20 deletions(-) create mode 100644 src/domain/photo/UploadPhoto/components/AddPhotoIntoAlbum.tsx create mode 100644 src/domain/photo/UploadPhoto/components/SelectFrame.tsx create mode 100644 src/domain/photo/UploadPhoto/components/UploadInfo.tsx create mode 100644 src/domain/photo/UploadPhoto/index.tsx diff --git a/src/Main.tsx b/src/Main.tsx index 8ce6d85..a4fce0e 100644 --- a/src/Main.tsx +++ b/src/Main.tsx @@ -8,11 +8,11 @@ import App from './App'; import './global.css'; ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render( - - - - - - - + // + + + + + + // ); diff --git a/src/domain/_common/components/Checkbox.tsx b/src/domain/_common/components/Checkbox.tsx index e5d5a77..6e50806 100644 --- a/src/domain/_common/components/Checkbox.tsx +++ b/src/domain/_common/components/Checkbox.tsx @@ -40,7 +40,7 @@ export function Checkbox({ type, control }: CheckboxProps) { return ( + + + + + ); +} diff --git a/src/routers/PhotoRouters.tsx b/src/routers/PhotoRouters.tsx index 0177a74..270d210 100644 --- a/src/routers/PhotoRouters.tsx +++ b/src/routers/PhotoRouters.tsx @@ -2,12 +2,14 @@ import { Route, Routes } from 'react-router-dom'; import PhotoList from '@/domain/photo/PhotoList'; import RegisterPhoto from '@/domain/photo/RegisterPhoto'; +import UploadPhoto from '@/domain/photo/UploadPhoto'; function PhotoRouters() { return ( } /> } /> + } /> ); } diff --git a/tailwind.config.ts b/tailwind.config.ts index 76a3e63..538a2d9 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -4,6 +4,9 @@ module.exports = { content: ['./src/**/*.{js,ts,jsx,tsx}'], theme: { extend: { + heights: { + 'small-h-screen': '100svh', + }, colors: { black: { DEFAULT: '#000000',