diff --git a/src/app/(front)/[slug]/page.tsx b/src/app/(front)/[slug]/page.tsx index c15900b..2146b55 100644 --- a/src/app/(front)/[slug]/page.tsx +++ b/src/app/(front)/[slug]/page.tsx @@ -6,9 +6,9 @@ import { toPlainText } from 'next-sanity' import { generateStaticSlugs } from '@/sanity/loader/generateStaticSlugs' import { loadLanding, loadPage } from '@/sanity/loader/loadQuery' -import Page from '@/components/here_reusable_components_lets_decide_the_folders_name/pages/landing/Page' +import Page from '@/components/cms-kit-components-set/pages/landing/Page' const PagePreview = dynamic( - () => import('@/components/here_reusable_components_lets_decide_the_folders_name/cms/pages/landing/PagePreview'), + () => import('@/components/cms-kit-components-set/content-blocks/sanity/pages/landing/PagePreview'), ) type Props = { diff --git a/src/app/(front)/blog/[slug]/page.tsx b/src/app/(front)/blog/[slug]/page.tsx index d9dd00e..76b79de 100644 --- a/src/app/(front)/blog/[slug]/page.tsx +++ b/src/app/(front)/blog/[slug]/page.tsx @@ -7,9 +7,9 @@ import { toPlainText } from 'next-sanity' import { urlForOpenGraphImage } from '@/sanity/lib/utils' import { generateStaticSlugs } from '@/sanity/loader/generateStaticSlugs' import { loadBlogPost } from '@/sanity/loader/loadQuery' -import BlogPost from '@/components/here_reusable_components_lets_decide_the_folders_name/pages/blog/BlogPost' +import BlogPost from '@/components/cms-kit-components-set/pages/blog/BlogPost' const BlogPostPreview = dynamic( - () => import('@/components/here_reusable_components_lets_decide_the_folders_name/cms/pages/blog/BlogPostPreview'), + () => import('@/components/cms-kit-components-set/content-blocks/sanity/pages/blog/BlogPostPreview'), ) type Props = { diff --git a/src/app/(front)/page.tsx b/src/app/(front)/page.tsx index dde671f..890c15a 100644 --- a/src/app/(front)/page.tsx +++ b/src/app/(front)/page.tsx @@ -4,9 +4,9 @@ import Link from 'next/link' import { studioUrl } from '@/sanity/lib/api' import { loadHomePage } from '@/sanity/loader/loadQuery' -import Page from '@/components/here_reusable_components_lets_decide_the_folders_name/pages/landing/Page' +import Page from '@/components/cms-kit-components-set/pages/landing/Page' const PagePreview = dynamic( - () => import('@/components/here_reusable_components_lets_decide_the_folders_name/cms/pages/landing/PagePreview'), + () => import('@/components/cms-kit-components-set/content-blocks/sanity/pages/landing/PagePreview'), ) export default async function IndexRoute() { diff --git a/src/app/(preview)/single-template/page.tsx b/src/app/(preview)/single-template/page.tsx index 0763f7c..7b2e1bd 100644 --- a/src/app/(preview)/single-template/page.tsx +++ b/src/app/(preview)/single-template/page.tsx @@ -1,6 +1,6 @@ 'use client'; -import { sets } from '@/components/here_reusable_components_lets_decide_the_folders_name/config'; +import { sets } from '@/components/cms-kit-components-set/config'; import { renderSanityComponent } from '@focus-reactive/cms-kit-sanity/sanity-next'; export default function SingleTemplatePage({ diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/_templates/ContentBlock/new/ContentBlocks_BlockTemplate_Component.tsx.ejs.t b/src/components/cms-kit-components-set/_templates/ContentBlock/new/ContentBlocks_BlockTemplate_Component.tsx.ejs.t similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/_templates/ContentBlock/new/ContentBlocks_BlockTemplate_Component.tsx.ejs.t rename to src/components/cms-kit-components-set/_templates/ContentBlock/new/ContentBlocks_BlockTemplate_Component.tsx.ejs.t diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/_templates/ContentBlock/new/ContentBlocks_BlockTemplate_index.ts.ejs.t b/src/components/cms-kit-components-set/_templates/ContentBlock/new/ContentBlocks_BlockTemplate_index.ts.ejs.t similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/_templates/ContentBlock/new/ContentBlocks_BlockTemplate_index.ts.ejs.t rename to src/components/cms-kit-components-set/_templates/ContentBlock/new/ContentBlocks_BlockTemplate_index.ts.ejs.t diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/_templates/ContentBlock/new/ContentBlocks_BlockTemplate_sa-adapters.ts.ejs.t b/src/components/cms-kit-components-set/_templates/ContentBlock/new/ContentBlocks_BlockTemplate_sa-adapters.ts.ejs.t similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/_templates/ContentBlock/new/ContentBlocks_BlockTemplate_sa-adapters.ts.ejs.t rename to src/components/cms-kit-components-set/_templates/ContentBlock/new/ContentBlocks_BlockTemplate_sa-adapters.ts.ejs.t diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/_templates/ContentBlock/new/ContentBlocks_BlockTemplate_sa-schema.ts.ejs.t b/src/components/cms-kit-components-set/_templates/ContentBlock/new/ContentBlocks_BlockTemplate_sa-schema.ts.ejs.t similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/_templates/ContentBlock/new/ContentBlocks_BlockTemplate_sa-schema.ts.ejs.t rename to src/components/cms-kit-components-set/_templates/ContentBlock/new/ContentBlocks_BlockTemplate_sa-schema.ts.ejs.t diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/_templates/ContentBlock/new/ContentBlocks_BlockTemplate_sa-templates.ts.ejs.t b/src/components/cms-kit-components-set/_templates/ContentBlock/new/ContentBlocks_BlockTemplate_sa-templates.ts.ejs.t similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/_templates/ContentBlock/new/ContentBlocks_BlockTemplate_sa-templates.ts.ejs.t rename to src/components/cms-kit-components-set/_templates/ContentBlock/new/ContentBlocks_BlockTemplate_sa-templates.ts.ejs.t diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/_templates/ContentBlock/new/ContentBlocks_BlockTemplate_templates_sa-mock-default.json.ejs.t b/src/components/cms-kit-components-set/_templates/ContentBlock/new/ContentBlocks_BlockTemplate_templates_sa-mock-default.json.ejs.t similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/_templates/ContentBlock/new/ContentBlocks_BlockTemplate_templates_sa-mock-default.json.ejs.t rename to src/components/cms-kit-components-set/_templates/ContentBlock/new/ContentBlocks_BlockTemplate_templates_sa-mock-default.json.ejs.t diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/_templates/ContentBlock/new/inject_index.ts.ejs.i b/src/components/cms-kit-components-set/_templates/ContentBlock/new/inject_index.ts.ejs.i similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/_templates/ContentBlock/new/inject_index.ts.ejs.i rename to src/components/cms-kit-components-set/_templates/ContentBlock/new/inject_index.ts.ejs.i diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/_templates/ContentBlock/new/inject_sa-components1.ts.ejs.c b/src/components/cms-kit-components-set/_templates/ContentBlock/new/inject_sa-components1.ts.ejs.c similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/_templates/ContentBlock/new/inject_sa-components1.ts.ejs.c rename to src/components/cms-kit-components-set/_templates/ContentBlock/new/inject_sa-components1.ts.ejs.c diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/_templates/ContentBlock/new/inject_sa-components2.ts.ejs.c b/src/components/cms-kit-components-set/_templates/ContentBlock/new/inject_sa-components2.ts.ejs.c similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/_templates/ContentBlock/new/inject_sa-components2.ts.ejs.c rename to src/components/cms-kit-components-set/_templates/ContentBlock/new/inject_sa-components2.ts.ejs.c diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/_templates/ContentBlock/new/inject_sa-schemas1.ts.ejs.c b/src/components/cms-kit-components-set/_templates/ContentBlock/new/inject_sa-schemas1.ts.ejs.c similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/_templates/ContentBlock/new/inject_sa-schemas1.ts.ejs.c rename to src/components/cms-kit-components-set/_templates/ContentBlock/new/inject_sa-schemas1.ts.ejs.c diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/_templates/ContentBlock/new/inject_sa-schemas2.ts.ejs.c b/src/components/cms-kit-components-set/_templates/ContentBlock/new/inject_sa-schemas2.ts.ejs.c similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/_templates/ContentBlock/new/inject_sa-schemas2.ts.ejs.c rename to src/components/cms-kit-components-set/_templates/ContentBlock/new/inject_sa-schemas2.ts.ejs.c diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/_templates/ContentBlock/new/inject_sa-templates1.ts.ejs.c b/src/components/cms-kit-components-set/_templates/ContentBlock/new/inject_sa-templates1.ts.ejs.c similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/_templates/ContentBlock/new/inject_sa-templates1.ts.ejs.c rename to src/components/cms-kit-components-set/_templates/ContentBlock/new/inject_sa-templates1.ts.ejs.c diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/_templates/ContentBlock/new/inject_sa-templates2.ts.ejs.c b/src/components/cms-kit-components-set/_templates/ContentBlock/new/inject_sa-templates2.ts.ejs.c similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/_templates/ContentBlock/new/inject_sa-templates2.ts.ejs.c rename to src/components/cms-kit-components-set/_templates/ContentBlock/new/inject_sa-templates2.ts.ejs.c diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/_templates/ContentBlock/new/prompt.js b/src/components/cms-kit-components-set/_templates/ContentBlock/new/prompt.js similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/_templates/ContentBlock/new/prompt.js rename to src/components/cms-kit-components-set/_templates/ContentBlock/new/prompt.js diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/config.ts b/src/components/cms-kit-components-set/config.ts similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/config.ts rename to src/components/cms-kit-components-set/config.ts diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentComponents/Section/common-schemas.ts b/src/components/cms-kit-components-set/content-blocks/sanity/functional-blocks/Section/common-schemas.ts similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentComponents/Section/common-schemas.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/functional-blocks/Section/common-schemas.ts diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentComponents/Section/index.ts b/src/components/cms-kit-components-set/content-blocks/sanity/functional-blocks/Section/index.ts similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentComponents/Section/index.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/functional-blocks/Section/index.ts diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentComponents/Section/sa-schema.ts b/src/components/cms-kit-components-set/content-blocks/sanity/functional-blocks/Section/sa-schema.ts similarity index 95% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentComponents/Section/sa-schema.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/functional-blocks/Section/sa-schema.ts index 456ff63..aad8142 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentComponents/Section/sa-schema.ts +++ b/src/components/cms-kit-components-set/content-blocks/sanity/functional-blocks/Section/sa-schema.ts @@ -1,12 +1,12 @@ import { imageWithMetadata } from '@focus-reactive/cms-kit-sanity/sanity'; -import { defineUtilityType } from '../../../sa-config'; +import { defineUtilityType } from '../../../../sa-config'; import { backgroundColors, backgroundPatterns, layoutSecondaryOptions, layoutSecondarySize, } from './common-schemas'; -import { styledRichText } from '../../SubBlocks/StyledRichText/sa-schema'; +import { styledRichText } from '../../sub-blocks/StyledRichText/sa-schema'; export const backgroundOptions = defineUtilityType(({ df }) => ({ name: 'backgroundOptions', diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentComponents/SimpleHero/sa-schemas.ts b/src/components/cms-kit-components-set/content-blocks/sanity/functional-blocks/SimpleHero/sa-schemas.ts similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentComponents/SimpleHero/sa-schemas.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/functional-blocks/SimpleHero/sa-schemas.ts diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentComponents/SimpleHero/types.ts b/src/components/cms-kit-components-set/content-blocks/sanity/functional-blocks/SimpleHero/types.ts similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentComponents/SimpleHero/types.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/functional-blocks/SimpleHero/types.ts diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentComponents/SmartImage/sa-adapter.ts b/src/components/cms-kit-components-set/content-blocks/sanity/functional-blocks/SmartImage/sa-adapter.ts similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentComponents/SmartImage/sa-adapter.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/functional-blocks/SmartImage/sa-adapter.ts diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentComponents/SmartImage/sa-schema.ts b/src/components/cms-kit-components-set/content-blocks/sanity/functional-blocks/SmartImage/sa-schema.ts similarity index 78% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentComponents/SmartImage/sa-schema.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/functional-blocks/SmartImage/sa-schema.ts index 9c4f800..2eb98b4 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentComponents/SmartImage/sa-schema.ts +++ b/src/components/cms-kit-components-set/content-blocks/sanity/functional-blocks/SmartImage/sa-schema.ts @@ -1,4 +1,4 @@ -import { defineComponentType } from '../../../sa-config'; +import { defineComponentType } from '../../../../sa-config'; export const smartImage = defineComponentType(() => ({ name: 'smartImage', diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentComponents/SmartImage/types.ts b/src/components/cms-kit-components-set/content-blocks/sanity/functional-blocks/SmartImage/types.ts similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentComponents/SmartImage/types.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/functional-blocks/SmartImage/types.ts diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentComponents/sa-schemas.ts b/src/components/cms-kit-components-set/content-blocks/sanity/functional-blocks/sa-schemas.ts similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentComponents/sa-schemas.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/functional-blocks/sa-schemas.ts diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/pages/blog/BlogPostPreview.tsx b/src/components/cms-kit-components-set/content-blocks/sanity/pages/blog/BlogPostPreview.tsx similarity index 91% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/pages/blog/BlogPostPreview.tsx rename to src/components/cms-kit-components-set/content-blocks/sanity/pages/blog/BlogPostPreview.tsx index 6738d46..64a9681 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/pages/blog/BlogPostPreview.tsx +++ b/src/components/cms-kit-components-set/content-blocks/sanity/pages/blog/BlogPostPreview.tsx @@ -6,7 +6,7 @@ import { postBySlugQuery } from '@/sanity/lib/queries' import { useQuery } from '@/sanity/loader/useQuery' import { BlogPostPayload } from '@/types' -import BlogPost from '../../../pages/blog/BlogPost' +import BlogPost from '../../../../pages/blog/BlogPost' type Props = { params: { slug: string } diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/pages/home/HomePage.tsx b/src/components/cms-kit-components-set/content-blocks/sanity/pages/home/HomePage.tsx similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/pages/home/HomePage.tsx rename to src/components/cms-kit-components-set/content-blocks/sanity/pages/home/HomePage.tsx diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/pages/home/HomePagePreview.tsx b/src/components/cms-kit-components-set/content-blocks/sanity/pages/home/HomePagePreview.tsx similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/pages/home/HomePagePreview.tsx rename to src/components/cms-kit-components-set/content-blocks/sanity/pages/home/HomePagePreview.tsx diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/pages/home/PostListItem.tsx b/src/components/cms-kit-components-set/content-blocks/sanity/pages/home/PostListItem.tsx similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/pages/home/PostListItem.tsx rename to src/components/cms-kit-components-set/content-blocks/sanity/pages/home/PostListItem.tsx diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/pages/landing/PagePreview.tsx b/src/components/cms-kit-components-set/content-blocks/sanity/pages/landing/PagePreview.tsx similarity index 83% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/pages/landing/PagePreview.tsx rename to src/components/cms-kit-components-set/content-blocks/sanity/pages/landing/PagePreview.tsx index b8621b5..2d17f31 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/pages/landing/PagePreview.tsx +++ b/src/components/cms-kit-components-set/content-blocks/sanity/pages/landing/PagePreview.tsx @@ -3,8 +3,8 @@ import { type QueryResponseInitial } from '@sanity/react-loader/rsc' import { useQuery } from '@/sanity/loader/useQuery' -import { PagePayload } from '../../../pages/landing/types' -import Page from '../../../pages/landing/Page' +import { PagePayload } from '../../../../pages/landing/types' +import Page from '../../../../pages/landing/Page' import { landingPageQuery } from './sa/landingPageQuery' import { LandingPayload } from '@/types' diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/pages/landing/sa/landing.ts b/src/components/cms-kit-components-set/content-blocks/sanity/pages/landing/sa/landing.ts similarity index 86% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/pages/landing/sa/landing.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/pages/landing/sa/landing.ts index 6bed514..1b72b54 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/pages/landing/sa/landing.ts +++ b/src/components/cms-kit-components-set/content-blocks/sanity/pages/landing/sa/landing.ts @@ -1,11 +1,11 @@ import { defineField, defineType } from 'sanity'; import { author } from '@/sanity/schemas/author'; import { seo } from './seo'; -import { heroFields } from '../../../ContentComponents/SimpleHero/sa-schemas'; +import { heroFields } from '../../../functional-blocks/SimpleHero/sa-schemas'; import { defineBlocksField } from '@/sanity/plugins/content-blocks/define-blocks-field'; -import { contentBlocksSchemas } from '../../../ContentBlocks/sa-schemas'; +import { contentBlocksSchemas } from '../../../root-blocks/sa-schemas'; import { renderItemView } from '@/sanity/plugins/blocks-preview/render-item-view'; -import { contentBlockPresets } from '@/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/sa-templates'; +import { contentBlockPresets } from '@/components/cms-kit-components-set/content-blocks/sanity/root-blocks/sa-templates'; const ofTypes = contentBlocksSchemas .filter((t) => t.type !== 'array') diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/pages/landing/sa/landingPageQuery.ts b/src/components/cms-kit-components-set/content-blocks/sanity/pages/landing/sa/landingPageQuery.ts similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/pages/landing/sa/landingPageQuery.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/pages/landing/sa/landingPageQuery.ts diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/pages/landing/sa/schemas.ts b/src/components/cms-kit-components-set/content-blocks/sanity/pages/landing/sa/schemas.ts similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/pages/landing/sa/schemas.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/pages/landing/sa/schemas.ts diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/pages/landing/sa/seo.ts b/src/components/cms-kit-components-set/content-blocks/sanity/pages/landing/sa/seo.ts similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/pages/landing/sa/seo.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/pages/landing/sa/seo.ts diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/pages/page/Page.tsx b/src/components/cms-kit-components-set/content-blocks/sanity/pages/page/Page.tsx similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/pages/page/Page.tsx rename to src/components/cms-kit-components-set/content-blocks/sanity/pages/page/Page.tsx diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/pages/page/PagePreview.tsx b/src/components/cms-kit-components-set/content-blocks/sanity/pages/page/PagePreview.tsx similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/pages/page/PagePreview.tsx rename to src/components/cms-kit-components-set/content-blocks/sanity/pages/page/PagePreview.tsx diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/BlogSection/sa-schema.ts b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/BlogSection/sa-schema.ts similarity index 98% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/BlogSection/sa-schema.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/BlogSection/sa-schema.ts index 1795f6e..93669ff 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/BlogSection/sa-schema.ts +++ b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/BlogSection/sa-schema.ts @@ -1,7 +1,7 @@ import { defineComponentType, defineUtilityType, -} from '../../../sa-config'; +} from '../../../../sa-config'; import { customRichText, diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/BlogSection/sa-templates.ts b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/BlogSection/sa-templates.ts similarity index 95% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/BlogSection/sa-templates.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/BlogSection/sa-templates.ts index 9fb70f7..7343f63 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/BlogSection/sa-templates.ts +++ b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/BlogSection/sa-templates.ts @@ -5,7 +5,7 @@ import blogJSON from './templates/sa-mock-blog-section.json'; import screenshot from './templates/sa-mock-blog-section.png'; import threeColumnWithImages from './templates/three-column-with-images.json'; import threeColumnWithImagesScreenshot from './templates/three-column-with-images.png'; -import { namespace } from '../../../namespace.config'; +import { namespace } from '../../../../namespace.config'; const templateBlogSection: SanityTemplate = { name: 'blogSection', diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/BlogSection/templates/sa-mock-blog-section.json b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/BlogSection/templates/sa-mock-blog-section.json similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/BlogSection/templates/sa-mock-blog-section.json rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/BlogSection/templates/sa-mock-blog-section.json diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/BlogSection/templates/sa-mock-blog-section.png b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/BlogSection/templates/sa-mock-blog-section.png similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/BlogSection/templates/sa-mock-blog-section.png rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/BlogSection/templates/sa-mock-blog-section.png diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/BlogSection/templates/three-column-with-background-images.json b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/BlogSection/templates/three-column-with-background-images.json similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/BlogSection/templates/three-column-with-background-images.json rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/BlogSection/templates/three-column-with-background-images.json diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/BlogSection/templates/three-column-with-images.json b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/BlogSection/templates/three-column-with-images.json similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/BlogSection/templates/three-column-with-images.json rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/BlogSection/templates/three-column-with-images.json diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/BlogSection/templates/three-column-with-images.png b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/BlogSection/templates/three-column-with-images.png similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/BlogSection/templates/three-column-with-images.png rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/BlogSection/templates/three-column-with-images.png diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/Grid/sa-schema.ts b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/Grid/sa-schema.ts similarity index 98% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/Grid/sa-schema.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/Grid/sa-schema.ts index 865f8f6..9ed7c61 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/Grid/sa-schema.ts +++ b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/Grid/sa-schema.ts @@ -1,4 +1,4 @@ -import { defineComponentType, defineUtilityType } from '../../../sa-config'; +import { defineComponentType, defineUtilityType } from '../../../../sa-config'; import { customRichText, imageWithMetadata, diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/Grid/sa-templates.ts b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/Grid/sa-templates.ts similarity index 91% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/Grid/sa-templates.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/Grid/sa-templates.ts index 7c6de27..6b90f30 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/Grid/sa-templates.ts +++ b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/Grid/sa-templates.ts @@ -3,7 +3,7 @@ import type { SanityTemplate } from '@focus-reactive/cms-kit-sanity/sanity'; import { grid } from './sa-schema'; import categoryPreviewJSON from './templates/sa-mock-category-preview.json'; -import { namespace } from '../../../namespace.config'; +import { namespace } from '../../../../namespace.config'; const templateCategoryPreview: SanityTemplate = { name: 'grid', diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/Grid/templates/sa-mock-category-preview.json b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/Grid/templates/sa-mock-category-preview.json similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/Grid/templates/sa-mock-category-preview.json rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/Grid/templates/sa-mock-category-preview.json diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/sa-schema.ts b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/sa-schema.ts similarity index 70% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/sa-schema.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/sa-schema.ts index 8d88d53..a5eb476 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/sa-schema.ts +++ b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/sa-schema.ts @@ -1,17 +1,17 @@ import { BlockPreview } from '@focus-reactive/cms-kit-sanity/sanity'; import { blogSection } from '../BlogSection/sa-schema'; -import { logoCloudGrid } from '../../SubBlocks/LogoCloud/sa-schema'; +import { logoCloudGrid } from '../../sub-blocks/LogoCloud/sa-schema'; import { grid } from '../Grid/sa-schema'; -import { styledImage } from '../../SubBlocks/StyledImage/sa-schema'; -import { featurePoints } from '../../SubBlocks/FeaturePoints/sa-schema'; -import { styledRichText } from '../../SubBlocks/StyledRichText/sa-schema'; -import { buttons } from '../../SubBlocks/Buttons/sa-schema'; -import { badges } from '../../SubBlocks/Badges/sa-schema'; -import { defineBlockType } from '../../../sa-config'; -import { blockOptions } from '../../../ui/Section'; +import { styledImage } from '../../sub-blocks/StyledImage/sa-schema'; +import { featurePoints } from '../../sub-blocks/FeaturePoints/sa-schema'; +import { styledRichText } from '../../sub-blocks/StyledRichText/sa-schema'; +import { buttons } from '../../sub-blocks/Buttons/sa-schema'; +import { badges } from '../../sub-blocks/Badges/sa-schema'; +import { defineBlockType } from '../../../../sa-config'; +import { blockOptions } from '../../../../ui-layer/Section'; import { defineBlocksField } from '@/sanity/plugins/content-blocks/define-blocks-field'; -import { subBlockPresets } from '../../SubBlocks/sa-templates'; +import { subBlockPresets } from '../../sub-blocks/sa-templates'; import { renderItemView } from '@/sanity/plugins/blocks-preview/render-item-view'; export const pageBlock = defineBlockType(({ df }) => ({ diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/sa-templates.ts b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/sa-templates.ts similarity index 99% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/sa-templates.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/sa-templates.ts index 4eee044..9faec34 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/sa-templates.ts +++ b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/sa-templates.ts @@ -23,7 +23,7 @@ import logoCloud from './templates/sa-mock-logo-cloud.json'; import logoCloudScreenshot from './templates/sa-mock-logo-cloud.png'; import featureSimple from './templates/sa-mock-feature-simple.json'; import featureSimpleScreenshot from './templates/sa-mock-feature-simple.png'; -import { namespace } from '../../../namespace.config'; +import { namespace } from '../../../../namespace.config'; import templateCategoryScreenshot from './templates/sa-mock-category-preview.png'; import templateFeatureWithImageScreenshot from './templates/sa-mock-feature-with-image-right.png'; diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-category-preview.json b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-category-preview.json similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-category-preview.json rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-category-preview.json diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-category-preview.png b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-category-preview.png similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-category-preview.png rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-category-preview.png diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-grid-2x2.json b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-grid-2x2.json similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-grid-2x2.json rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-grid-2x2.json diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-grid-2x2.png b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-grid-2x2.png similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-grid-2x2.png rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-grid-2x2.png diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-simple.json b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-simple.json similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-simple.json rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-simple.json diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-simple.png b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-simple.png similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-simple.png rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-simple.png diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-image-left.json b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-image-left.json similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-image-left.json rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-image-left.json diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-image-left.png b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-image-left.png similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-image-left.png rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-image-left.png diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-image-right.json b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-image-right.json similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-image-right.json rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-image-right.json diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-image-right.png b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-image-right.png similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-image-right.png rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-image-right.png diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-large-image-dark.json b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-large-image-dark.json similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-large-image-dark.json rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-large-image-dark.json diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-large-image-dark.png b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-large-image-dark.png similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-large-image-dark.png rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-large-image-dark.png diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-large-image-light.json b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-large-image-light.json similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-large-image-light.json rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-large-image-light.json diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-large-image-light.png b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-large-image-light.png similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-large-image-light.png rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-large-image-light.png diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-offset-list.json b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-offset-list.json similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-offset-list.json rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-offset-list.json diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-offset-list.png b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-offset-list.png similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-offset-list.png rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-offset-list.png diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-simple-three-column-with-large-icons.json b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-simple-three-column-with-large-icons.json similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-simple-three-column-with-large-icons.json rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-simple-three-column-with-large-icons.json diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-simple-three-column-with-large-icons.png b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-simple-three-column-with-large-icons.png similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-simple-three-column-with-large-icons.png rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-simple-three-column-with-large-icons.png diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-simple-three-column-with-small-icons-dark.json b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-simple-three-column-with-small-icons-dark.json similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-simple-three-column-with-small-icons-dark.json rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-simple-three-column-with-small-icons-dark.json diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-simple-three-column-with-small-icons-dark.png b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-simple-three-column-with-small-icons-dark.png similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-simple-three-column-with-small-icons-dark.png rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-simple-three-column-with-small-icons-dark.png diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-simple-three-column-with-small-icons-light.json b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-simple-three-column-with-small-icons-light.json similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-simple-three-column-with-small-icons-light.json rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-simple-three-column-with-small-icons-light.json diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-simple-three-column-with-small-icons-light.png b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-simple-three-column-with-small-icons-light.png similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-feature-with-simple-three-column-with-small-icons-light.png rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-feature-with-simple-three-column-with-small-icons-light.png diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-logo-cloud.json b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-logo-cloud.json similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-logo-cloud.json rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-logo-cloud.json diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-logo-cloud.png b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-logo-cloud.png similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/templates/sa-mock-logo-cloud.png rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/templates/sa-mock-logo-cloud.png diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/index.ts b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/index.ts similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/index.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/index.ts diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/sa-components.ts b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/sa-components.ts similarity index 89% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/sa-components.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/sa-components.ts index 0a8f3ad..9d569d9 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/sa-components.ts +++ b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/sa-components.ts @@ -3,7 +3,7 @@ import type { BlocksMap } from '@focus-reactive/cms-kit-sanity/sanity'; import { findBlockRoot } from '@focus-reactive/cms-kit-sanity/sanity-schema-type-utils'; -import { PageBlock } from '../../ui/PageBlock'; +import { PageBlock } from '../../../ui-layer/PageBlock'; import pageBlock from './PageBlock/sa-schema'; // HYGEN-IMPORTS-END diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/sa-schemas.ts b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/sa-schemas.ts similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/sa-schemas.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/sa-schemas.ts diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/sa-templates.ts b/src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/sa-templates.ts similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/sa-templates.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/root-blocks/sa-templates.ts diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/Badges/sa-schema.ts b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/Badges/sa-schema.ts similarity index 89% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/Badges/sa-schema.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/Badges/sa-schema.ts index ee8fe44..abe14a5 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/Badges/sa-schema.ts +++ b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/Badges/sa-schema.ts @@ -1,6 +1,6 @@ -import { defineComponentType } from '../../../sa-config'; +import { defineComponentType } from '../../../../sa-config'; -import { badgesSecondaryOptions } from '../../ContentComponents/Section/common-schemas'; +import { badgesSecondaryOptions } from '../../functional-blocks/Section/common-schemas'; import { ComponentPreview, smartLink, diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/Badges/sa-templates.ts b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/Badges/sa-templates.ts similarity index 92% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/Badges/sa-templates.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/Badges/sa-templates.ts index 3db41ef..6a7b12e 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/Badges/sa-templates.ts +++ b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/Badges/sa-templates.ts @@ -1,4 +1,4 @@ -import { namespace } from '../../../namespace.config'; +import { namespace } from '../../../../namespace.config'; import { TemplateArea, TemplateCategory } from '@focus-reactive/cms-kit-sanity'; import type { SanityTemplate } from '@focus-reactive/cms-kit-sanity/sanity'; diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/Badges/templates/preview.png b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/Badges/templates/preview.png similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/Badges/templates/preview.png rename to src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/Badges/templates/preview.png diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/Badges/templates/sa-mock-simple-badge.json b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/Badges/templates/sa-mock-simple-badge.json similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/Badges/templates/sa-mock-simple-badge.json rename to src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/Badges/templates/sa-mock-simple-badge.json diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/Buttons/sa-schema.ts b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/Buttons/sa-schema.ts similarity index 89% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/Buttons/sa-schema.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/Buttons/sa-schema.ts index 5a77290..71eb273 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/Buttons/sa-schema.ts +++ b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/Buttons/sa-schema.ts @@ -1,5 +1,5 @@ -import { defineComponentType } from '../../../sa-config'; -import { buttonsSecondaryOptions } from '../../ContentComponents/Section/common-schemas'; +import { defineComponentType } from '../../../../sa-config'; +import { buttonsSecondaryOptions } from '../../functional-blocks/Section/common-schemas'; import { ComponentPreview, smartLink, diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/Buttons/sa-templates.ts b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/Buttons/sa-templates.ts similarity index 92% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/Buttons/sa-templates.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/Buttons/sa-templates.ts index e761b38..bbcc789 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/Buttons/sa-templates.ts +++ b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/Buttons/sa-templates.ts @@ -3,7 +3,7 @@ import type { SanityTemplate } from '@focus-reactive/cms-kit-sanity/sanity'; import { buttons } from './sa-schema'; import twoButtons from './templates/sa-mock-two-buttons.json'; -import { namespace } from '../../../namespace.config'; +import { namespace } from '../../../../namespace.config'; import preview from './templates/preview.png'; export const templateTwoButtons: SanityTemplate = { diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/Buttons/templates/preview.png b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/Buttons/templates/preview.png similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/Buttons/templates/preview.png rename to src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/Buttons/templates/preview.png diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/Buttons/templates/sa-mock-two-buttons.json b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/Buttons/templates/sa-mock-two-buttons.json similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/Buttons/templates/sa-mock-two-buttons.json rename to src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/Buttons/templates/sa-mock-two-buttons.json diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/FeaturePoints/sa-schema.ts b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/FeaturePoints/sa-schema.ts similarity index 95% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/FeaturePoints/sa-schema.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/FeaturePoints/sa-schema.ts index 2f44211..7507972 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/FeaturePoints/sa-schema.ts +++ b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/FeaturePoints/sa-schema.ts @@ -1,7 +1,7 @@ -import { defineComponentType, defineUtilityType } from '../../../sa-config'; +import { defineComponentType, defineUtilityType } from '../../../../sa-config'; import { featurePointStyles, -} from '../../ContentComponents/Section/common-schemas'; +} from '../../functional-blocks/Section/common-schemas'; import { ComponentPreview, smartLink, diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/FeaturePoints/sa-templates.ts b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/FeaturePoints/sa-templates.ts similarity index 92% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/FeaturePoints/sa-templates.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/FeaturePoints/sa-templates.ts index 85a0eba..1f29a09 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/FeaturePoints/sa-templates.ts +++ b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/FeaturePoints/sa-templates.ts @@ -3,7 +3,7 @@ import type { SanityTemplate } from '@focus-reactive/cms-kit-sanity/sanity'; import { featurePoints } from './sa-schema'; import json from './templates/sa-mock-feature-points.json'; -import { namespace } from '../../../namespace.config'; +import { namespace } from '../../../../namespace.config'; import preview from './templates/preview.png'; const featurePointsPreview: SanityTemplate = { diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/FeaturePoints/templates/preview.png b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/FeaturePoints/templates/preview.png similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/FeaturePoints/templates/preview.png rename to src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/FeaturePoints/templates/preview.png diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/FeaturePoints/templates/sa-mock-feature-points.json b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/FeaturePoints/templates/sa-mock-feature-points.json similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/FeaturePoints/templates/sa-mock-feature-points.json rename to src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/FeaturePoints/templates/sa-mock-feature-points.json diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/LogoCloud/sa-schema.ts b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/LogoCloud/sa-schema.ts similarity index 98% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/LogoCloud/sa-schema.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/LogoCloud/sa-schema.ts index a49b630..d187ba6 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/LogoCloud/sa-schema.ts +++ b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/LogoCloud/sa-schema.ts @@ -1,4 +1,4 @@ -import { defineComponentType, defineUtilityType } from '../../../sa-config'; +import { defineComponentType, defineUtilityType } from '../../../../sa-config'; import { imageWithMetadata, diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/LogoCloud/sa-templates.ts b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/LogoCloud/sa-templates.ts similarity index 92% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/LogoCloud/sa-templates.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/LogoCloud/sa-templates.ts index c292ee8..b462a08 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/LogoCloud/sa-templates.ts +++ b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/LogoCloud/sa-templates.ts @@ -1,7 +1,7 @@ import { TemplateArea, TemplateCategory } from '@focus-reactive/cms-kit-sanity'; import type { SanityTemplate } from '@focus-reactive/cms-kit-sanity/sanity'; -import { namespace } from '../../../namespace.config'; +import { namespace } from '../../../../namespace.config'; import { logoCloudGrid } from './sa-schema'; import logoCloudGridJSON from './templates/sa-mock-logo-cloud.json'; import preview from './templates/preview.png'; diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/LogoCloud/templates/preview.png b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/LogoCloud/templates/preview.png similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/LogoCloud/templates/preview.png rename to src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/LogoCloud/templates/preview.png diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/LogoCloud/templates/sa-mock-logo-cloud.json b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/LogoCloud/templates/sa-mock-logo-cloud.json similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/LogoCloud/templates/sa-mock-logo-cloud.json rename to src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/LogoCloud/templates/sa-mock-logo-cloud.json diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/StyledImage/preview.png b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/StyledImage/preview.png similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/StyledImage/preview.png rename to src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/StyledImage/preview.png diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/StyledImage/sa-schema.ts b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/StyledImage/sa-schema.ts similarity index 90% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/StyledImage/sa-schema.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/StyledImage/sa-schema.ts index ff22d4c..8cfba13 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/StyledImage/sa-schema.ts +++ b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/StyledImage/sa-schema.ts @@ -1,4 +1,4 @@ -import { defineComponentType } from '../../../sa-config'; +import { defineComponentType } from '../../../../sa-config'; import { imageWithMetadata } from '@focus-reactive/cms-kit-sanity/sanity'; diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/StyledRichText/sa-schema.ts b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/StyledRichText/sa-schema.ts similarity index 86% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/StyledRichText/sa-schema.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/StyledRichText/sa-schema.ts index 0da335d..f0653fd 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/StyledRichText/sa-schema.ts +++ b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/StyledRichText/sa-schema.ts @@ -1,8 +1,8 @@ -import { defineComponentType } from '../../../sa-config'; +import { defineComponentType } from '../../../../sa-config'; import { customRichText, ComponentPreview } from '@focus-reactive/cms-kit-sanity/sanity'; -import { componentAlignment } from '../../ContentComponents/Section/common-schemas'; +import { componentAlignment } from '../../functional-blocks/Section/common-schemas'; export const styledRichText = defineComponentType(({ df }) => ({ diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/StyledRichText/sa-templates.ts b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/StyledRichText/sa-templates.ts similarity index 92% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/StyledRichText/sa-templates.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/StyledRichText/sa-templates.ts index 2af1215..72d12d6 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/StyledRichText/sa-templates.ts +++ b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/StyledRichText/sa-templates.ts @@ -1,7 +1,7 @@ import { TemplateArea, TemplateCategory } from '@focus-reactive/cms-kit-sanity'; import type { SanityTemplate } from '@focus-reactive/cms-kit-sanity/sanity'; -import { namespace } from '../../../namespace.config'; +import { namespace } from '../../../../namespace.config'; import { styledRichText } from './sa-schema'; import json from './templates/sa-mock.json'; import preview from './templates/preview.png'; diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/StyledRichText/templates/preview.png b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/StyledRichText/templates/preview.png similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/StyledRichText/templates/preview.png rename to src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/StyledRichText/templates/preview.png diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/StyledRichText/templates/sa-mock.json b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/StyledRichText/templates/sa-mock.json similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/StyledRichText/templates/sa-mock.json rename to src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/StyledRichText/templates/sa-mock.json diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/sa-components.ts b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/sa-components.ts similarity index 59% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/sa-components.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/sa-components.ts index 09deb63..cd37f29 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/sa-components.ts +++ b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/sa-components.ts @@ -1,21 +1,21 @@ import { findComponentRoot } from '@focus-reactive/cms-kit-sanity/sanity'; import type { BlocksMap } from '@focus-reactive/cms-kit-sanity/sanity'; -import blogSection from '../ContentBlocks/BlogSection/sa-schema'; -import { BlogSection } from '../../ui/BlogSection'; -import grid from '../ContentBlocks/Grid/sa-schema'; -import { Grid } from '../../ui/Grid'; -import { StyledImage } from '../../ui/StyledImage'; +import blogSection from '../root-blocks/BlogSection/sa-schema'; +import { BlogSection } from '../../../ui-layer/BlogSection'; +import grid from '../root-blocks/Grid/sa-schema'; +import { Grid } from '../../../ui-layer/Grid'; +import { StyledImage } from '../../../ui-layer/StyledImage'; import styledImage from './StyledImage/sa-schema'; -import { StyledRichText } from '../../ui/StyledRichText'; +import { StyledRichText } from '../../../ui-layer/StyledRichText'; import styledRichText from './StyledRichText/sa-schema'; -import { FeaturePoints } from '../../ui/FeaturePoints'; +import { FeaturePoints } from '../../../ui-layer/FeaturePoints'; import featurePoints from './FeaturePoints/sa-schema'; -import { LogoCloudGrid } from '../../ui/LogoCloud'; +import { LogoCloudGrid } from '../../../ui-layer/LogoCloud'; import logoCloudGrid from './LogoCloud/sa-schema'; -import { Buttons } from '../../ui/Buttons'; +import { Buttons } from '../../../ui-layer/Buttons'; import buttons from './Buttons/sa-schema'; -import { Badges } from '../../ui/Badges'; +import { Badges } from '../../../ui-layer/Badges'; import badges from './Badges/sa-schema'; export const subBlocksMap: BlocksMap = { diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/sa-schemas.ts b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/sa-schemas.ts similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/sa-schemas.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/sa-schemas.ts diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/sa-templates.ts b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/sa-templates.ts similarity index 83% rename from src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/sa-templates.ts rename to src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/sa-templates.ts index 60c39c6..d3df96b 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/cms/SubBlocks/sa-templates.ts +++ b/src/components/cms-kit-components-set/content-blocks/sanity/sub-blocks/sa-templates.ts @@ -1,5 +1,5 @@ -import templateBlogSection from '../ContentBlocks/BlogSection/sa-templates'; -import gridSaTemplates from '../ContentBlocks/Grid/sa-templates'; +import templateBlogSection from '../root-blocks/BlogSection/sa-templates'; +import gridSaTemplates from '../root-blocks/Grid/sa-templates'; import logoCloudSaTemplates from './LogoCloud/sa-templates'; import featurePointsTemplates from './FeaturePoints/sa-templates'; import styledRichTextTemplates from './StyledRichText/sa-templates'; diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/namespace.config.ts b/src/components/cms-kit-components-set/namespace.config.ts similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/namespace.config.ts rename to src/components/cms-kit-components-set/namespace.config.ts diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/pages/blog/BlogPost.tsx b/src/components/cms-kit-components-set/pages/blog/BlogPost.tsx similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/pages/blog/BlogPost.tsx rename to src/components/cms-kit-components-set/pages/blog/BlogPost.tsx diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/pages/landing/Page.tsx b/src/components/cms-kit-components-set/pages/landing/Page.tsx similarity index 93% rename from src/components/here_reusable_components_lets_decide_the_folders_name/pages/landing/Page.tsx rename to src/components/cms-kit-components-set/pages/landing/Page.tsx index be70a5e..44008b3 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/pages/landing/Page.tsx +++ b/src/components/cms-kit-components-set/pages/landing/Page.tsx @@ -4,7 +4,7 @@ import type { PagePayload } from './types'; import { renderSanityComponent } from '@focus-reactive/cms-kit-sanity/sanity-next'; import { sets } from '../../config'; -import { SimpleHero } from '../../ui/SimpleHero'; +import { SimpleHero } from '../../ui-layer/SimpleHero'; import SimpleFooter from '@/components/global/SimpleFooter'; export interface PageProps { diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/pages/landing/types.ts b/src/components/cms-kit-components-set/pages/landing/types.ts similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/pages/landing/types.ts rename to src/components/cms-kit-components-set/pages/landing/types.ts diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/sa-config.ts b/src/components/cms-kit-components-set/sa-config.ts similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/sa-config.ts rename to src/components/cms-kit-components-set/sa-config.ts diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/sa-set.ts b/src/components/cms-kit-components-set/sa-set.ts similarity index 53% rename from src/components/here_reusable_components_lets_decide_the_folders_name/sa-set.ts rename to src/components/cms-kit-components-set/sa-set.ts index d236d11..c2f84e0 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/sa-set.ts +++ b/src/components/cms-kit-components-set/sa-set.ts @@ -1,13 +1,13 @@ import type { Kit } from '@focus-reactive/cms-kit-sanity/sanity'; import { namespace } from './namespace.config'; -import { contentBlocksSchemas } from './cms/ContentBlocks/sa-schemas'; -import { subBlocksSchemas } from './cms/SubBlocks/sa-schemas'; -import { contentComponentsSchemas } from './cms/ContentComponents/sa-schemas'; -import { contentBlocksMap } from './cms/ContentBlocks/sa-components'; -import { contentBlockPresets } from './cms/ContentBlocks/sa-templates'; -import { subBlocksMap } from './cms/SubBlocks/sa-components'; -import { subBlockTemplates } from './cms/SubBlocks/sa-templates'; +import { contentBlocksSchemas } from './content-blocks/sanity/root-blocks/sa-schemas'; +import { subBlocksSchemas } from './content-blocks/sanity/sub-blocks/sa-schemas'; +import { contentComponentsSchemas } from './content-blocks/sanity/functional-blocks/sa-schemas'; +import { contentBlocksMap } from './content-blocks/sanity/root-blocks/sa-components'; +import { contentBlockPresets } from './content-blocks/sanity/root-blocks/sa-templates'; +import { subBlocksMap } from './content-blocks/sanity/sub-blocks/sa-components'; +import { subBlockTemplates } from './content-blocks/sanity/sub-blocks/sa-templates'; import { Preset } from '@/sanity/plugins/content-blocks'; export const blockTypes = [ diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/ui/Badges/Component.tsx b/src/components/cms-kit-components-set/ui-layer/Badges/Component.tsx similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/ui/Badges/Component.tsx rename to src/components/cms-kit-components-set/ui-layer/Badges/Component.tsx diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/ui/Badges/index.ts b/src/components/cms-kit-components-set/ui-layer/Badges/index.ts similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/ui/Badges/index.ts rename to src/components/cms-kit-components-set/ui-layer/Badges/index.ts diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/ui/BlogSection/Component.tsx b/src/components/cms-kit-components-set/ui-layer/BlogSection/Component.tsx similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/ui/BlogSection/Component.tsx rename to src/components/cms-kit-components-set/ui-layer/BlogSection/Component.tsx diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/ui/BlogSection/index.ts b/src/components/cms-kit-components-set/ui-layer/BlogSection/index.ts similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/ui/BlogSection/index.ts rename to src/components/cms-kit-components-set/ui-layer/BlogSection/index.ts diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/ui/Buttons/Component.tsx b/src/components/cms-kit-components-set/ui-layer/Buttons/Component.tsx similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/ui/Buttons/Component.tsx rename to src/components/cms-kit-components-set/ui-layer/Buttons/Component.tsx diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/ui/Buttons/index.ts b/src/components/cms-kit-components-set/ui-layer/Buttons/index.ts similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/ui/Buttons/index.ts rename to src/components/cms-kit-components-set/ui-layer/Buttons/index.ts diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/ui/FeaturePoints/Component.tsx b/src/components/cms-kit-components-set/ui-layer/FeaturePoints/Component.tsx similarity index 98% rename from src/components/here_reusable_components_lets_decide_the_folders_name/ui/FeaturePoints/Component.tsx rename to src/components/cms-kit-components-set/ui-layer/FeaturePoints/Component.tsx index d8d3a96..1fe7d48 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/ui/FeaturePoints/Component.tsx +++ b/src/components/cms-kit-components-set/ui-layer/FeaturePoints/Component.tsx @@ -3,7 +3,7 @@ import React from 'react'; import { getCmsKey } from '@focus-reactive/cms-kit-sanity'; import type { SmartLinkProps } from '@focus-reactive/cms-kit-sanity/sanity'; import { classnames } from '@focus-reactive/cms-kit-sanity/common'; -import { featurePointStyles } from '../../cms/ContentComponents/Section/common-schemas'; +import { featurePointStyles } from '../../content-blocks/sanity/functional-blocks/Section/common-schemas'; import { SmartImage } from '../SmartImage'; const iconStyle = featurePointStyles.map((style) => style.value); diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/ui/FeaturePoints/index.ts b/src/components/cms-kit-components-set/ui-layer/FeaturePoints/index.ts similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/ui/FeaturePoints/index.ts rename to src/components/cms-kit-components-set/ui-layer/FeaturePoints/index.ts diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/ui/Grid/Component.tsx b/src/components/cms-kit-components-set/ui-layer/Grid/Component.tsx similarity index 96% rename from src/components/here_reusable_components_lets_decide_the_folders_name/ui/Grid/Component.tsx rename to src/components/cms-kit-components-set/ui-layer/Grid/Component.tsx index 0e5cc08..71a7b41 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/ui/Grid/Component.tsx +++ b/src/components/cms-kit-components-set/ui-layer/Grid/Component.tsx @@ -4,7 +4,7 @@ import { SmartImage } from '../SmartImage'; import { getCmsKey } from '@focus-reactive/cms-kit-sanity'; import { GenericRichText } from '@focus-reactive/cms-kit-sanity/common'; -import type { gridCard } from '../../cms/ContentBlocks/Grid/sa-schema'; +import type { gridCard } from '../../content-blocks/sanity/root-blocks/Grid/sa-schema'; type GridCard = { customRichText: []; diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/ui/Grid/index.ts b/src/components/cms-kit-components-set/ui-layer/Grid/index.ts similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/ui/Grid/index.ts rename to src/components/cms-kit-components-set/ui-layer/Grid/index.ts diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/ui/LogoCloud/Component.tsx b/src/components/cms-kit-components-set/ui-layer/LogoCloud/Component.tsx similarity index 94% rename from src/components/here_reusable_components_lets_decide_the_folders_name/ui/LogoCloud/Component.tsx rename to src/components/cms-kit-components-set/ui-layer/LogoCloud/Component.tsx index 861f232..ebf0943 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/ui/LogoCloud/Component.tsx +++ b/src/components/cms-kit-components-set/ui-layer/LogoCloud/Component.tsx @@ -7,7 +7,7 @@ import { SmartLinkProps, } from '@focus-reactive/cms-kit-sanity/sanity'; import { SmartImage } from '../SmartImage'; -import { logoItem } from '../../cms/SubBlocks/LogoCloud/sa-schema'; +import { logoItem } from '../../content-blocks/sanity/sub-blocks/LogoCloud/sa-schema'; type LogoItem = { _key: string; diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/ui/LogoCloud/index.ts b/src/components/cms-kit-components-set/ui-layer/LogoCloud/index.ts similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/ui/LogoCloud/index.ts rename to src/components/cms-kit-components-set/ui-layer/LogoCloud/index.ts diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/ui/PageBlock/Component.tsx b/src/components/cms-kit-components-set/ui-layer/PageBlock/Component.tsx similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/ui/PageBlock/Component.tsx rename to src/components/cms-kit-components-set/ui-layer/PageBlock/Component.tsx diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/ui/PageBlock/index.ts b/src/components/cms-kit-components-set/ui-layer/PageBlock/index.ts similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/ui/PageBlock/index.ts rename to src/components/cms-kit-components-set/ui-layer/PageBlock/index.ts diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/ui/Section/Section.tsx b/src/components/cms-kit-components-set/ui-layer/Section/Section.tsx similarity index 98% rename from src/components/here_reusable_components_lets_decide_the_folders_name/ui/Section/Section.tsx rename to src/components/cms-kit-components-set/ui-layer/Section/Section.tsx index 5bc9556..4cab647 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/ui/Section/Section.tsx +++ b/src/components/cms-kit-components-set/ui-layer/Section/Section.tsx @@ -10,7 +10,7 @@ import { import { vercelStegaSplit } from '@vercel/stega'; import { SmartImage } from '../SmartImage'; -import type { grid } from '../../cms/ContentBlocks/Grid/sa-schema'; +import type { grid } from '../../content-blocks/sanity/root-blocks/Grid/sa-schema'; import type { GridElement } from '../Grid/Component'; import { StyledRichText } from '../StyledRichText'; diff --git a/src/components/cms-kit-components-set/ui-layer/Section/index.ts b/src/components/cms-kit-components-set/ui-layer/Section/index.ts new file mode 100644 index 0000000..0191764 --- /dev/null +++ b/src/components/cms-kit-components-set/ui-layer/Section/index.ts @@ -0,0 +1,2 @@ +export * from './Section'; +export * from '../../content-blocks/sanity/functional-blocks/Section/sa-schema'; diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/ui/SimpleHero/Component.tsx b/src/components/cms-kit-components-set/ui-layer/SimpleHero/Component.tsx similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/ui/SimpleHero/Component.tsx rename to src/components/cms-kit-components-set/ui-layer/SimpleHero/Component.tsx diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/ui/SimpleHero/index.ts b/src/components/cms-kit-components-set/ui-layer/SimpleHero/index.ts similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/ui/SimpleHero/index.ts rename to src/components/cms-kit-components-set/ui-layer/SimpleHero/index.ts diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/ui/SmartImage/Component.tsx b/src/components/cms-kit-components-set/ui-layer/SmartImage/Component.tsx similarity index 78% rename from src/components/here_reusable_components_lets_decide_the_folders_name/ui/SmartImage/Component.tsx rename to src/components/cms-kit-components-set/ui-layer/SmartImage/Component.tsx index 5205791..b275fe4 100644 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/ui/SmartImage/Component.tsx +++ b/src/components/cms-kit-components-set/ui-layer/SmartImage/Component.tsx @@ -2,8 +2,8 @@ import React from 'react'; import { withCMS } from '@focus-reactive/cms-kit-sanity'; import Image from 'next/image'; -import { sa } from '../../cms/ContentComponents/SmartImage/sa-adapter'; -import { SmartImageProps } from '../../cms/ContentComponents/SmartImage/types'; +import { sa } from '../../content-blocks/sanity/functional-blocks/SmartImage/sa-adapter'; +import { SmartImageProps } from '../../content-blocks/sanity/functional-blocks/SmartImage/types'; function SmartImage({ imageWithMetadata, diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/ui/SmartImage/index.ts b/src/components/cms-kit-components-set/ui-layer/SmartImage/index.ts similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/ui/SmartImage/index.ts rename to src/components/cms-kit-components-set/ui-layer/SmartImage/index.ts diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/ui/StyledImage/Component.tsx b/src/components/cms-kit-components-set/ui-layer/StyledImage/Component.tsx similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/ui/StyledImage/Component.tsx rename to src/components/cms-kit-components-set/ui-layer/StyledImage/Component.tsx diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/ui/StyledImage/index.ts b/src/components/cms-kit-components-set/ui-layer/StyledImage/index.ts similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/ui/StyledImage/index.ts rename to src/components/cms-kit-components-set/ui-layer/StyledImage/index.ts diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/ui/StyledRichText/Component.tsx b/src/components/cms-kit-components-set/ui-layer/StyledRichText/Component.tsx similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/ui/StyledRichText/Component.tsx rename to src/components/cms-kit-components-set/ui-layer/StyledRichText/Component.tsx diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/ui/StyledRichText/index.ts b/src/components/cms-kit-components-set/ui-layer/StyledRichText/index.ts similarity index 100% rename from src/components/here_reusable_components_lets_decide_the_folders_name/ui/StyledRichText/index.ts rename to src/components/cms-kit-components-set/ui-layer/StyledRichText/index.ts diff --git a/src/components/here_reusable_components_lets_decide_the_folders_name/ui/Section/index.ts b/src/components/here_reusable_components_lets_decide_the_folders_name/ui/Section/index.ts deleted file mode 100644 index 92cd3c7..0000000 --- a/src/components/here_reusable_components_lets_decide_the_folders_name/ui/Section/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './Section'; -export * from '../../cms/ContentComponents/Section/sa-schema'; diff --git a/src/sanity/loader/loadQuery.ts b/src/sanity/loader/loadQuery.ts index 7888876..5a2da53 100644 --- a/src/sanity/loader/loadQuery.ts +++ b/src/sanity/loader/loadQuery.ts @@ -16,7 +16,7 @@ import { SettingsPayload, LandingPayload, } from '@/types' -import { landingPageQuery } from '@/components/here_reusable_components_lets_decide_the_folders_name/cms/pages/landing/sa/landingPageQuery' +import { landingPageQuery } from '@/components/cms-kit-components-set/content-blocks/sanity/pages/landing/sa/landingPageQuery' const serverClient = client.withConfig({ token, diff --git a/src/sanity/plugins/blocks-preview/RenderPreset.tsx b/src/sanity/plugins/blocks-preview/RenderPreset.tsx index 782d503..6d7828f 100644 --- a/src/sanity/plugins/blocks-preview/RenderPreset.tsx +++ b/src/sanity/plugins/blocks-preview/RenderPreset.tsx @@ -2,9 +2,9 @@ import React, { Suspense } from 'react'; import { renderSanityComponent } from '@focus-reactive/cms-kit-sanity/sanity-next'; -import { sets } from '@/components/here_reusable_components_lets_decide_the_folders_name/config'; +import { sets } from '@/components/cms-kit-components-set/config'; import { ContentBlockData } from '@focus-reactive/cms-kit-sanity/sanity'; -import { presets, twBase } from '@/components/here_reusable_components_lets_decide_the_folders_name/sa-set'; +import { presets, twBase } from '@/components/cms-kit-components-set/sa-set'; type Props = { name: string; diff --git a/src/sanity/sanity.config.ts b/src/sanity/sanity.config.ts index 09df981..b8f0d8e 100644 --- a/src/sanity/sanity.config.ts +++ b/src/sanity/sanity.config.ts @@ -18,7 +18,7 @@ import { schemaTypes } from './schemas'; import home from './schemas/singletons/home'; import settings from './schemas/singletons/settings'; import { CMSKitContentBlocks } from './plugins/content-blocks'; -import { blockTypes, presets } from '@/components/here_reusable_components_lets_decide_the_folders_name/sa-set'; +import { blockTypes, presets } from '@/components/cms-kit-components-set/sa-set'; const title = process.env.NEXT_PUBLIC_SANITY_PROJECT_TITLE || 'CMS-KIT Sanity'; diff --git a/src/sanity/schemas/documents/page.ts b/src/sanity/schemas/documents/page.ts index 7579c70..7fce693 100644 --- a/src/sanity/schemas/documents/page.ts +++ b/src/sanity/schemas/documents/page.ts @@ -2,8 +2,8 @@ import { DocumentIcon, ImageIcon } from '@sanity/icons'; import { defineArrayMember, defineField, defineType } from 'sanity'; import { defineBlocksField } from '@/sanity/plugins/content-blocks/define-blocks-field'; -import { blockTypes } from '@/components/here_reusable_components_lets_decide_the_folders_name/sa-set'; -import { PageBlockPresets } from '@/components/here_reusable_components_lets_decide_the_folders_name/cms/ContentBlocks/PageBlock/sa-templates'; +import { blockTypes } from '@/components/cms-kit-components-set/sa-set'; +import { PageBlockPresets } from '@/components/cms-kit-components-set/content-blocks/sanity/root-blocks/PageBlock/sa-templates'; const ofTypes = blockTypes .filter((t) => t.type !== 'array') diff --git a/src/sanity/schemas/index.ts b/src/sanity/schemas/index.ts index 780981d..921b326 100644 --- a/src/sanity/schemas/index.ts +++ b/src/sanity/schemas/index.ts @@ -1,4 +1,4 @@ -import landing from '@/components/here_reusable_components_lets_decide_the_folders_name/cms/pages/landing/sa/schemas' +import landing from '@/components/cms-kit-components-set/content-blocks/sanity/pages/landing/sa/schemas' import author from './author' import page from './documents/page' @@ -8,7 +8,7 @@ import milestone from './objects/milestone' import timeline from './objects/timeline' import home from './singletons/home' import settings from './singletons/settings' -import { blockTypes } from '@/components/here_reusable_components_lets_decide_the_folders_name/sa-set' +import { blockTypes } from '@/components/cms-kit-components-set/sa-set' export const schemaTypes = [ ...landing,