From 177a6f530e420ef3395a250a97b6009f3842af45 Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Fri, 16 Oct 2020 12:13:26 -0300 Subject: [PATCH] HTMLContent --- .../HTMLContent/HTMLContent.module.css} | 0 .../PageContent.tsx => core/HTMLContent/HTMLContent.tsx} | 4 ++-- components/core/HTMLContent/index.ts | 1 + components/core/index.ts | 1 + components/custom-pages/PageContent/index.ts | 1 - pages/[...pages].tsx | 9 ++++----- 6 files changed, 8 insertions(+), 8 deletions(-) rename components/{custom-pages/PageContent/PageContent.module.css => core/HTMLContent/HTMLContent.module.css} (100%) rename components/{custom-pages/PageContent/PageContent.tsx => core/HTMLContent/HTMLContent.tsx} (66%) create mode 100644 components/core/HTMLContent/index.ts delete mode 100644 components/custom-pages/PageContent/index.ts diff --git a/components/custom-pages/PageContent/PageContent.module.css b/components/core/HTMLContent/HTMLContent.module.css similarity index 100% rename from components/custom-pages/PageContent/PageContent.module.css rename to components/core/HTMLContent/HTMLContent.module.css diff --git a/components/custom-pages/PageContent/PageContent.tsx b/components/core/HTMLContent/HTMLContent.tsx similarity index 66% rename from components/custom-pages/PageContent/PageContent.tsx rename to components/core/HTMLContent/HTMLContent.tsx index 7237b9fa8..d041ff369 100644 --- a/components/custom-pages/PageContent/PageContent.tsx +++ b/components/core/HTMLContent/HTMLContent.tsx @@ -1,12 +1,12 @@ import cn from 'classnames' -import s from './PageContent.module.css' +import s from './HTMLContent.module.css' type Props = { className?: 'string' html: string } -export default function PageContent({ className, html }: Props) { +export default function HTMLContent({ className, html }: Props) { return (
) { return (
- +
) }