From 30eac7e6fcff74ae82aae288240cef9a5145fa31 Mon Sep 17 00:00:00 2001 From: biometricPsychography Date: Thu, 20 Jun 2024 13:14:59 -0500 Subject: [PATCH] refactor: keep deps w/ IdeationComponentWrapper That is, keep them as file siblings and not in a sub folder --- .../{dependencies => }/AddProjectIdeaButton.tsx | 0 .../{dependencies => }/ContributionCard.tsx | 0 .../{dependencies => }/CreateIdeationContainer.tsx | 0 .../{dependencies => }/FinalizeIdeationButton.tsx | 0 .../{dependencies => }/FinalizedIdeationCard.tsx | 0 .../ideation/components/IdeationComponentWrapper.tsx | 12 ++++++------ .../{dependencies => }/IdeationContainer.tsx | 0 .../{dependencies => }/IdeationProvider.tsx | 0 .../components/{dependencies => }/VoteCard.tsx | 0 .../{dependencies => }/VoteDescriptionCard.tsx | 0 10 files changed, 6 insertions(+), 6 deletions(-) rename src/app/(main)/my-voyage/[teamId]/ideation/components/{dependencies => }/AddProjectIdeaButton.tsx (100%) rename src/app/(main)/my-voyage/[teamId]/ideation/components/{dependencies => }/ContributionCard.tsx (100%) rename src/app/(main)/my-voyage/[teamId]/ideation/components/{dependencies => }/CreateIdeationContainer.tsx (100%) rename src/app/(main)/my-voyage/[teamId]/ideation/components/{dependencies => }/FinalizeIdeationButton.tsx (100%) rename src/app/(main)/my-voyage/[teamId]/ideation/components/{dependencies => }/FinalizedIdeationCard.tsx (100%) rename src/app/(main)/my-voyage/[teamId]/ideation/components/{dependencies => }/IdeationContainer.tsx (100%) rename src/app/(main)/my-voyage/[teamId]/ideation/components/{dependencies => }/IdeationProvider.tsx (100%) rename src/app/(main)/my-voyage/[teamId]/ideation/components/{dependencies => }/VoteCard.tsx (100%) rename src/app/(main)/my-voyage/[teamId]/ideation/components/{dependencies => }/VoteDescriptionCard.tsx (100%) diff --git a/src/app/(main)/my-voyage/[teamId]/ideation/components/dependencies/AddProjectIdeaButton.tsx b/src/app/(main)/my-voyage/[teamId]/ideation/components/AddProjectIdeaButton.tsx similarity index 100% rename from src/app/(main)/my-voyage/[teamId]/ideation/components/dependencies/AddProjectIdeaButton.tsx rename to src/app/(main)/my-voyage/[teamId]/ideation/components/AddProjectIdeaButton.tsx diff --git a/src/app/(main)/my-voyage/[teamId]/ideation/components/dependencies/ContributionCard.tsx b/src/app/(main)/my-voyage/[teamId]/ideation/components/ContributionCard.tsx similarity index 100% rename from src/app/(main)/my-voyage/[teamId]/ideation/components/dependencies/ContributionCard.tsx rename to src/app/(main)/my-voyage/[teamId]/ideation/components/ContributionCard.tsx diff --git a/src/app/(main)/my-voyage/[teamId]/ideation/components/dependencies/CreateIdeationContainer.tsx b/src/app/(main)/my-voyage/[teamId]/ideation/components/CreateIdeationContainer.tsx similarity index 100% rename from src/app/(main)/my-voyage/[teamId]/ideation/components/dependencies/CreateIdeationContainer.tsx rename to src/app/(main)/my-voyage/[teamId]/ideation/components/CreateIdeationContainer.tsx diff --git a/src/app/(main)/my-voyage/[teamId]/ideation/components/dependencies/FinalizeIdeationButton.tsx b/src/app/(main)/my-voyage/[teamId]/ideation/components/FinalizeIdeationButton.tsx similarity index 100% rename from src/app/(main)/my-voyage/[teamId]/ideation/components/dependencies/FinalizeIdeationButton.tsx rename to src/app/(main)/my-voyage/[teamId]/ideation/components/FinalizeIdeationButton.tsx diff --git a/src/app/(main)/my-voyage/[teamId]/ideation/components/dependencies/FinalizedIdeationCard.tsx b/src/app/(main)/my-voyage/[teamId]/ideation/components/FinalizedIdeationCard.tsx similarity index 100% rename from src/app/(main)/my-voyage/[teamId]/ideation/components/dependencies/FinalizedIdeationCard.tsx rename to src/app/(main)/my-voyage/[teamId]/ideation/components/FinalizedIdeationCard.tsx diff --git a/src/app/(main)/my-voyage/[teamId]/ideation/components/IdeationComponentWrapper.tsx b/src/app/(main)/my-voyage/[teamId]/ideation/components/IdeationComponentWrapper.tsx index 75eccd3d..afe67bc7 100644 --- a/src/app/(main)/my-voyage/[teamId]/ideation/components/IdeationComponentWrapper.tsx +++ b/src/app/(main)/my-voyage/[teamId]/ideation/components/IdeationComponentWrapper.tsx @@ -1,10 +1,10 @@ import { redirect } from "next/navigation"; -import ContributionCard from "./dependencies/ContributionCard"; -import CreateIdeationContainer from "./dependencies/CreateIdeationContainer"; -import FinalizedIdeationCard from "./dependencies/FinalizedIdeationCard"; -import IdeationContainer from "./dependencies/IdeationContainer"; -import IdeationProvider from "./dependencies/IdeationProvider"; -import VoteCard from "./dependencies/VoteCard"; +import ContributionCard from "./ContributionCard"; +import CreateIdeationContainer from "./CreateIdeationContainer"; +import FinalizedIdeationCard from "./FinalizedIdeationCard"; +import IdeationContainer from "./IdeationContainer"; +import IdeationProvider from "./IdeationProvider"; +import VoteCard from "./VoteCard"; import { type FetchIdeationsProps } from "@/app/(main)/my-voyage/[teamId]/ideation/ideationService"; import Banner from "@/components/banner/Banner"; import VoyagePageBannerContainer from "@/components/banner/VoyagePageBannerContainer"; diff --git a/src/app/(main)/my-voyage/[teamId]/ideation/components/dependencies/IdeationContainer.tsx b/src/app/(main)/my-voyage/[teamId]/ideation/components/IdeationContainer.tsx similarity index 100% rename from src/app/(main)/my-voyage/[teamId]/ideation/components/dependencies/IdeationContainer.tsx rename to src/app/(main)/my-voyage/[teamId]/ideation/components/IdeationContainer.tsx diff --git a/src/app/(main)/my-voyage/[teamId]/ideation/components/dependencies/IdeationProvider.tsx b/src/app/(main)/my-voyage/[teamId]/ideation/components/IdeationProvider.tsx similarity index 100% rename from src/app/(main)/my-voyage/[teamId]/ideation/components/dependencies/IdeationProvider.tsx rename to src/app/(main)/my-voyage/[teamId]/ideation/components/IdeationProvider.tsx diff --git a/src/app/(main)/my-voyage/[teamId]/ideation/components/dependencies/VoteCard.tsx b/src/app/(main)/my-voyage/[teamId]/ideation/components/VoteCard.tsx similarity index 100% rename from src/app/(main)/my-voyage/[teamId]/ideation/components/dependencies/VoteCard.tsx rename to src/app/(main)/my-voyage/[teamId]/ideation/components/VoteCard.tsx diff --git a/src/app/(main)/my-voyage/[teamId]/ideation/components/dependencies/VoteDescriptionCard.tsx b/src/app/(main)/my-voyage/[teamId]/ideation/components/VoteDescriptionCard.tsx similarity index 100% rename from src/app/(main)/my-voyage/[teamId]/ideation/components/dependencies/VoteDescriptionCard.tsx rename to src/app/(main)/my-voyage/[teamId]/ideation/components/VoteDescriptionCard.tsx