diff --git a/app/routes/business/campaign/campaign-content.tsx b/app/routes/business/campaign/campaign-content.tsx deleted file mode 100644 index 3e87775..0000000 --- a/app/routes/business/campaign/campaign-content.tsx +++ /dev/null @@ -1,159 +0,0 @@ -import { useState } from "react"; -//import { useCreateCampaignMutation } from "../../../hooks/queries/useCampaign"; - -import RealmatchHeader from "../../../components/layout/RealmatchHeader"; -import CampaignBrandCard from "../components/CampaignBrandCard"; -import CampaignInfoGroup from "../components/CampaignInfoGroup"; - -import editIcon from "../../../assets/icon-edit.svg"; -import dropdownIcon from "../../../assets/arrow-down.svg"; -import dropupIcon from "../../../assets/arrow-up.svg"; -import arrowRightIcon from "../../../assets/icon/arrow-right.svg"; -import calendarIcon from "../../../assets/icon-calender.svg"; - -export default function CampaignContent() { - const [isContentOpen, setIsContentOpen] = useState(false); - - const [campaignData, setCampaignData] = useState({ - brandId: 1, - campaignId: null, - campaignName: "비플레인 클렌징 및 세럼 리뷰 콘텐츠", - description: "안녕하세요 크리에이터 비비 입니다! 비플레인의 가치가 제 채널에서 소개하는 뷰티 콘텐츠와 잘 맞닿아 있다고 생각되어 협찬을 제안드립니다.", - rewardAmount: 200000, - startDate: "2025-01-20", - endDate: "2025-01-30", - formats: [{ id: "32000000-0000-0000-0000-000000000000" }], - categories: [{ id: "31310000-0000-0000-0000-000000000000", customValue: "성분 분석 리뷰" }], - tones: [ - { id: "31360000-0000-0000-0000-000000000000" }, - { id: "31330000-0000-0000-0000-000000000000" } - ], - involvements: [{ id: "32320000-0000-0000-0000-000000000000" }], - usageRanges: [{ id: "32350000-0000-0000-0000-000000000000" }], - productId: 5 - }); - - return ( - // 전체 컨테이너를 흰색 배경으로 설정 -
- - - {/* 기타 협의 사항까지만 회색 배경을 씌움 */} -
- - -
- {/* 캠페인명 */} - } - > - setCampaignData({ ...campaignData, campaignName: e.target.value })} - className="w-full h-[36px] px-4 py-[10px] bg-[var(--color-bg-w)] border border-[var(--color-text-gray5)] rounded-[6px] text-callout1 text-[var(--color-text-gray1)] focus:outline-none focus:border-blue-400 box-border" - /> - - - {/* 캠페인 내용 */} - setIsContentOpen((prev) => !prev)}> - toggle - - } - > -
-
-

설명

-