From 888ba57ddc37f677d809dc8b8e05959e6a5535c8 Mon Sep 17 00:00:00 2001 From: Bill Date: Mon, 7 Mar 2022 02:40:30 -0500 Subject: [PATCH] Move campaign --- src/{views => components}/campaign/CalendarItemView.tsx | 0 src/{views => components}/campaign/CalendarView.tsx | 0 src/{views => components}/campaign/CampaignView.scss | 0 src/{views => components}/campaign/CampaignView.tsx | 0 src/{views => components}/campaign/common/CalendarItemState.ts | 0 src/components/index.scss | 1 + src/components/main/MainView.tsx | 2 +- src/views/Styles.scss | 1 - 8 files changed, 2 insertions(+), 2 deletions(-) rename src/{views => components}/campaign/CalendarItemView.tsx (100%) rename src/{views => components}/campaign/CalendarView.tsx (100%) rename src/{views => components}/campaign/CampaignView.scss (100%) rename src/{views => components}/campaign/CampaignView.tsx (100%) rename src/{views => components}/campaign/common/CalendarItemState.ts (100%) diff --git a/src/views/campaign/CalendarItemView.tsx b/src/components/campaign/CalendarItemView.tsx similarity index 100% rename from src/views/campaign/CalendarItemView.tsx rename to src/components/campaign/CalendarItemView.tsx diff --git a/src/views/campaign/CalendarView.tsx b/src/components/campaign/CalendarView.tsx similarity index 100% rename from src/views/campaign/CalendarView.tsx rename to src/components/campaign/CalendarView.tsx diff --git a/src/views/campaign/CampaignView.scss b/src/components/campaign/CampaignView.scss similarity index 100% rename from src/views/campaign/CampaignView.scss rename to src/components/campaign/CampaignView.scss diff --git a/src/views/campaign/CampaignView.tsx b/src/components/campaign/CampaignView.tsx similarity index 100% rename from src/views/campaign/CampaignView.tsx rename to src/components/campaign/CampaignView.tsx diff --git a/src/views/campaign/common/CalendarItemState.ts b/src/components/campaign/common/CalendarItemState.ts similarity index 100% rename from src/views/campaign/common/CalendarItemState.ts rename to src/components/campaign/common/CalendarItemState.ts diff --git a/src/components/index.scss b/src/components/index.scss index 5130f424..f98c6e87 100644 --- a/src/components/index.scss +++ b/src/components/index.scss @@ -1,6 +1,7 @@ @import './achievements/AchievementsView'; @import './avatar-editor/AvatarEditorView'; @import './camera/CameraWidgetView'; +@import './campaign/CampaignView'; @import './catalog/CatalogView'; @import './chat-history/ChatHistoryView'; @import './floorplan-editor/FloorplanEditorView'; diff --git a/src/components/main/MainView.tsx b/src/components/main/MainView.tsx index 6df9a59b..6951322b 100644 --- a/src/components/main/MainView.tsx +++ b/src/components/main/MainView.tsx @@ -3,7 +3,6 @@ import { FC, useCallback, useEffect, useState } from 'react'; import { AddEventLinkTracker, GetCommunication, RemoveLinkEventTracker } from '../../api'; import { Base, TransitionAnimation, TransitionAnimationTypes } from '../../common'; import { UseRoomSessionManagerEvent } from '../../hooks'; -import { CampaignView } from '../../views/campaign/CampaignView'; import { FriendsView } from '../../views/friends/FriendsView'; import { HcCenterView } from '../../views/hc-center/HcCenterView'; import { HotelView } from '../../views/hotel-view/HotelView'; @@ -11,6 +10,7 @@ import { NitropediaView } from '../../views/nitropedia/NitropediaView'; import { AchievementsView } from '../achievements/AchievementsView'; import { AvatarEditorView } from '../avatar-editor/AvatarEditorView'; import { CameraWidgetView } from '../camera/CameraWidgetView'; +import { CampaignView } from '../campaign/CampaignView'; import { CatalogView } from '../catalog/CatalogView'; import { ChatHistoryView } from '../chat-history/ChatHistoryView'; import { FloorplanEditorView } from '../floorplan-editor/FloorplanEditorView'; diff --git a/src/views/Styles.scss b/src/views/Styles.scss index 44d2540a..63d9e9a6 100644 --- a/src/views/Styles.scss +++ b/src/views/Styles.scss @@ -4,4 +4,3 @@ @import "./notification-center/NotificationCenterView"; @import "./nitropedia/NitropediaView"; @import "./hc-center/HcCenterView.scss"; -@import './campaign/CampaignView';