Skip to content

Commit

Permalink
Merge pull request #152 from bsideproject/moon
Browse files Browse the repository at this point in the history
[feat] Step3 잘못된 부분 수정
  • Loading branch information
KinDDoGGang authored Sep 19, 2023
2 parents 4361b4f + 318609d commit 4fab495
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pages/room/addRoom/step3.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { FieldValues, SubmitHandler, useForm } from 'react-hook-form';
import { Option } from '@/components/Select/Select';
import { GuDong } from '../addRoom';
import Rectangle from '@/public/icons/rectangle.svg';
import RectanglePlus from '@/public/icons/rectanglePlus.svg';
import RectangleCamera from '@/public/icons/rectangleCamera.svg';

export const getStaticProps = async ({ locale }: GetStaticPropsContext) => ({
props: {
Expand Down Expand Up @@ -91,8 +91,8 @@ export default function Step1() {
{/* 업로드 버튼으로 사용될 SVG */}
<div className="relative w-[120px] h-[110px] mt-[8px]">
<Rectangle className="z-0" />
<RectanglePlus className="absolute z-10 top-[35px] left-[55px] transform -translate-x-1/2 -translate-y-1/2" />
<span className="absolute z-10 top-[67px] left-[55px] transform -translate-x-1/2 -translate-y-1/2 text-r1 semibold text-[12px]">Add photos</span>
<RectangleCamera className="absolute z-10 top-[45px] left-[55px] transform -translate-x-1/2 -translate-y-1/2" />
<span className="absolute z-10 top-[67px] left-[55px] transform -translate-x-1/2 -translate-y-1/2 text-g4 semibold text-[12px]">3/5</span>
</div>

<div className="mt-[30px]">
Expand All @@ -107,7 +107,7 @@ export default function Step1() {
<div className="w-full">
<div className="mb-[13px]">
<Button size="lg" type="submit" disabled={false}>
{filterTranslation.t('Complete')}
{filterTranslation.t('Next')}
</Button>
</div>
</div>
Expand Down
5 changes: 5 additions & 0 deletions public/icons/rectangleCamera.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4fab495

Please sign in to comment.