Skip to content

Commit

Permalink
๐Ÿšจ Fix(#47): ๋นŒ๋“œ ์ „ ์—๋Ÿฌ ์ˆ˜์ •
Browse files Browse the repository at this point in the history
  • Loading branch information
sscoderati committed Nov 3, 2023
1 parent 0643018 commit 363c4ea
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 35 deletions.
5 changes: 0 additions & 5 deletions src/app/(steady)/steady/create/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import {
STEADY_RECRUITMENT_EXAMPLE,
STEADY_SECTION_INTRO,
steadyCategories,
steadyExpectedParticipants,
steadyExpectedPeriods,
steadyExpectedTechStacks,
steadyParticipantsLimit,
Expand Down Expand Up @@ -91,10 +90,6 @@ const CreateSteadyPage = () => {
items={steadyExpectedTechStacks}
className={cn("w-280")}
/>
<SingleSelector
initialLabel={"๋ชจ์ง‘ ์ธ์›"}
items={steadyExpectedParticipants}
/>
</div>

<Separator
Expand Down
12 changes: 1 addition & 11 deletions src/app/(steady)/steady/edit/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import {
STEADY_RESPONSE_MOCK_DATA,
STEADY_SECTION_INTRO,
steadyCategories,
steadyExpectedParticipants,
steadyExpectedPeriods,
steadyExpectedTechStacks,
steadyParticipantsLimit,
Expand All @@ -31,9 +30,8 @@ const SteadyEditPage = () => {
expectedPeriod: steadyExpectedPeriod,
stacks: steadyTechStacks,
deadline: steadyDeadline,
numberOfParticipants,
participantLimit: numberOfParticipants,
status: steadyStatus,
recruitCount: steadyRecruitCount,
recruitCategory: steadyRecruitmentCategory,
method: steadyMethod,
recruitTitle: steadyRecruitmentTitle,
Expand Down Expand Up @@ -124,14 +122,6 @@ const SteadyEditPage = () => {
items={steadyExpectedTechStacks}
className={cn("w-280")}
/>
<SingleSelector
initialLabel={"๋ชจ์ง‘ ์ธ์›"}
initialData={{
value: steadyRecruitCount,
label: steadyRecruitCount,
}}
items={steadyExpectedParticipants}
/>
<SingleSelector
initialLabel={"๋ชจ์ง‘ ์ƒํƒœ"}
initialData={steadyStatus}
Expand Down
6 changes: 1 addition & 5 deletions src/app/(user-menu)/mypage/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@ import Button, { buttonSize } from "@/components/_common/Button";
import Icon from "@/components/_common/Icon";
import Input from "@/components/_common/Input";
import { AlertModal } from "@/components/_common/Modal";

export const subMyPageTextStyles = {
title: "text-23 font-bold",
content: "text-lg font-bold",
};
import { subMyPageTextStyles } from "@/constants/commonStyle";

const subContentStyles = "flex flex-col gap-30";
const subBoxStyles =
Expand Down
2 changes: 1 addition & 1 deletion src/app/(user-menu)/mypage/reviews/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import Image from "next/image";
import SteadyTurtle from "@/images/steadyturtle.png";
import { cn } from "@/lib/utils";
import { subMyPageTextStyles } from "../page";
import { subMyPageTextStyles } from "@/constants/commonStyle";

const UserCards = [
{
Expand Down
4 changes: 4 additions & 0 deletions src/constants/commonStyle.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export const subMyPageTextStyles = {
title: "text-23 font-bold",
content: "text-lg font-bold",
};
13 changes: 0 additions & 13 deletions src/constants/create-steady.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,19 +90,6 @@ export const steadyExpectedPeriods = [
{ value: "LONG_TERM", label: "์žฅ๊ธฐ" },
];

export const steadyExpectedParticipants = [
{ value: "1", label: "1๋ช…" },
{ value: "2", label: "2๋ช…" },
{ value: "3", label: "3๋ช…" },
{ value: "4", label: "4๋ช…" },
{ value: "5", label: "5๋ช…" },
{ value: "6", label: "6๋ช…" },
{ value: "7", label: "7๋ช…" },
{ value: "8", label: "8๋ช…" },
{ value: "9", label: "9๋ช…" },
{ value: "10", label: "10๋ช…" },
];

export const steadyExpectedTechStacks = [
{ value: "react", label: "React" },
{ value: "nextjs", label: "Next.js" },
Expand Down

0 comments on commit 363c4ea

Please sign in to comment.