From ca679b1301ea31ac9a8b6bd7b403c46535bf4d48 Mon Sep 17 00:00:00 2001 From: SanjeevLakhwani Date: Thu, 21 Nov 2024 14:07:29 -0500 Subject: [PATCH] Reorganized directory structure --- src/js/components/Overview/PublicOverview.tsx | 2 +- src/js/components/Provenance/{ => Catalogue}/Catalogue.tsx | 2 +- src/js/components/Provenance/{ => Catalogue}/CatalogueCard.tsx | 2 +- .../Provenance/{ => Catalogue}/CatalogueCarouselDataset.tsx | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename src/js/components/Provenance/{ => Catalogue}/Catalogue.tsx (84%) rename src/js/components/Provenance/{ => Catalogue}/CatalogueCard.tsx (98%) rename src/js/components/Provenance/{ => Catalogue}/CatalogueCarouselDataset.tsx (100%) diff --git a/src/js/components/Overview/PublicOverview.tsx b/src/js/components/Overview/PublicOverview.tsx index b12333d6..1eb1fccd 100644 --- a/src/js/components/Overview/PublicOverview.tsx +++ b/src/js/components/Overview/PublicOverview.tsx @@ -18,7 +18,7 @@ import { useAppSelector } from '@/hooks'; import { useSelectedProject, useSelectedScope } from '@/features/metadata/hooks'; import { useTranslation } from 'react-i18next'; import { RequestStatus } from '@/types/requests'; -import Catalogue from '@/components/Provenance/Catalogue'; +import Catalogue from '@/components/Provenance/Catalogue/Catalogue'; const ABOUT_CARD_STYLE = { width: '100%', maxWidth: '1390px', borderRadius: '11pX', ...BOX_SHADOW }; const MANAGE_CHARTS_BUTTON_STYLE = { right: '5em', bottom: '1.5em', transform: 'scale(125%)' }; diff --git a/src/js/components/Provenance/Catalogue.tsx b/src/js/components/Provenance/Catalogue/Catalogue.tsx similarity index 84% rename from src/js/components/Provenance/Catalogue.tsx rename to src/js/components/Provenance/Catalogue/Catalogue.tsx index a176c644..65c9e483 100644 --- a/src/js/components/Provenance/Catalogue.tsx +++ b/src/js/components/Provenance/Catalogue/Catalogue.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { Space } from 'antd'; -import CatalogueCard from '@/components/Provenance/CatalogueCard'; +import CatalogueCard from '@/components/Provenance/Catalogue/CatalogueCard'; import { useMetadata } from '@/features/metadata/hooks'; const Catalogue = () => { diff --git a/src/js/components/Provenance/CatalogueCard.tsx b/src/js/components/Provenance/Catalogue/CatalogueCard.tsx similarity index 98% rename from src/js/components/Provenance/CatalogueCard.tsx rename to src/js/components/Provenance/Catalogue/CatalogueCard.tsx index 06c5d488..c03484b6 100644 --- a/src/js/components/Provenance/CatalogueCard.tsx +++ b/src/js/components/Provenance/Catalogue/CatalogueCard.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { Card, Carousel, Descriptions, Flex, Space, Tag, Typography } from 'antd'; -import CatalogueCarouselDataset from '@/components/Provenance/CatalogueCarouselDataset'; +import CatalogueCarouselDataset from '@/components/Provenance/Catalogue/CatalogueCarouselDataset'; import type { Project } from '@/types/metadata'; import { ISODateToString } from '@/utils/strings'; diff --git a/src/js/components/Provenance/CatalogueCarouselDataset.tsx b/src/js/components/Provenance/Catalogue/CatalogueCarouselDataset.tsx similarity index 100% rename from src/js/components/Provenance/CatalogueCarouselDataset.tsx rename to src/js/components/Provenance/Catalogue/CatalogueCarouselDataset.tsx