From 114dfb5e52c90f417d966983f27cf94a97f0d25a Mon Sep 17 00:00:00 2001 From: rtrembecky Date: Sat, 14 Dec 2024 16:45:06 +0100 Subject: [PATCH] move base/flat-page -> cms/flat-page --- src/components/Admin/Admin.tsx | 8 ++++---- .../resources/{base => cms}/flat-page/FlatpageCreate.tsx | 0 .../resources/{base => cms}/flat-page/FlatpageEdit.tsx | 0 .../resources/{base => cms}/flat-page/FlatpageList.tsx | 0 .../resources/{base => cms}/flat-page/FlatpageShow.tsx | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename src/components/Admin/resources/{base => cms}/flat-page/FlatpageCreate.tsx (100%) rename src/components/Admin/resources/{base => cms}/flat-page/FlatpageEdit.tsx (100%) rename src/components/Admin/resources/{base => cms}/flat-page/FlatpageList.tsx (100%) rename src/components/Admin/resources/{base => cms}/flat-page/FlatpageShow.tsx (100%) diff --git a/src/components/Admin/Admin.tsx b/src/components/Admin/Admin.tsx index 74fce7b3..d9ed7ac5 100644 --- a/src/components/Admin/Admin.tsx +++ b/src/components/Admin/Admin.tsx @@ -5,10 +5,10 @@ import {Admin as ReactAdmin, defaultDarkTheme, defaultLightTheme, RaThemeOptions import {AdminLayout} from './AdminLayout' import {dataProvider} from './dataProvider' import {myI18nProvider} from './i18nProvider' -import {FlatpageCreate} from './resources/base/flat-page/FlatpageCreate' -import {FlatpageEdit} from './resources/base/flat-page/FlatpageEdit' -import {FlatpageList} from './resources/base/flat-page/FlatpageList' -import {FlatpageShow} from './resources/base/flat-page/FlatpageShow' +import {FlatpageCreate} from './resources/cms/flat-page/FlatpageCreate' +import {FlatpageEdit} from './resources/cms/flat-page/FlatpageEdit' +import {FlatpageList} from './resources/cms/flat-page/FlatpageList' +import {FlatpageShow} from './resources/cms/flat-page/FlatpageShow' import {PostCreate} from './resources/cms/post/PostCreate' import {PostEdit} from './resources/cms/post/PostEdit' import {PostList} from './resources/cms/post/PostList' diff --git a/src/components/Admin/resources/base/flat-page/FlatpageCreate.tsx b/src/components/Admin/resources/cms/flat-page/FlatpageCreate.tsx similarity index 100% rename from src/components/Admin/resources/base/flat-page/FlatpageCreate.tsx rename to src/components/Admin/resources/cms/flat-page/FlatpageCreate.tsx diff --git a/src/components/Admin/resources/base/flat-page/FlatpageEdit.tsx b/src/components/Admin/resources/cms/flat-page/FlatpageEdit.tsx similarity index 100% rename from src/components/Admin/resources/base/flat-page/FlatpageEdit.tsx rename to src/components/Admin/resources/cms/flat-page/FlatpageEdit.tsx diff --git a/src/components/Admin/resources/base/flat-page/FlatpageList.tsx b/src/components/Admin/resources/cms/flat-page/FlatpageList.tsx similarity index 100% rename from src/components/Admin/resources/base/flat-page/FlatpageList.tsx rename to src/components/Admin/resources/cms/flat-page/FlatpageList.tsx diff --git a/src/components/Admin/resources/base/flat-page/FlatpageShow.tsx b/src/components/Admin/resources/cms/flat-page/FlatpageShow.tsx similarity index 100% rename from src/components/Admin/resources/base/flat-page/FlatpageShow.tsx rename to src/components/Admin/resources/cms/flat-page/FlatpageShow.tsx