diff --git a/src/components/Pages/CreatePage.tsx b/src/components/Pages/CreatePage.tsx
new file mode 100644
index 00000000..1c82fb95
--- /dev/null
+++ b/src/components/Pages/CreatePage.tsx
@@ -0,0 +1,13 @@
+import { MainLayout } from '../Layouts/MainLayout'
+import { CreateView } from '../Views/Create'
+
+export const CreatePage = () => {
+ return (
+
+
+
+ )
+}
+
+// for lazy loading
+export default CreatePage
diff --git a/src/components/Root.tsx b/src/components/Root.tsx
index 7e65cbee..2bd69fa2 100644
--- a/src/components/Root.tsx
+++ b/src/components/Root.tsx
@@ -26,6 +26,7 @@ import { PartnersPage } from './Pages/about/PartnersPage'
import { ProjectsPage } from './Pages/about/ProjectsPage'
import { TermsOfUsePage } from './Pages/about/TermsOfUsePage'
import { ThanksPage } from './Pages/about/ThanksPage'
+import { CreatePage } from './Pages/CreatePage'
// TODO: lazy load
// const HomePage = lazy(() => import('./Pages/HomePage'))
@@ -49,6 +50,7 @@ import { ThanksPage } from './Pages/about/ThanksPage'
const log = getLogger('root')
const pagesMap: Record> = {
+ create: CreatePage,
home: HomePage,
topics: AllTopicsPage,
topic: TopicPage,
diff --git a/src/components/Views/Create.tsx b/src/components/Views/Create.tsx
index 6d2e231d..646c1b3b 100644
--- a/src/components/Views/Create.tsx
+++ b/src/components/Views/Create.tsx
@@ -7,6 +7,9 @@ import Editor from '../Editor'
import { Sidebar } from '../Editor/Sidebar'
import ErrorView from '../Editor/Error'
import { newState } from '../Editor/store'
+import { getLogger } from '../../utils/logger'
+
+const log = getLogger('CreateView')
export const CreateView = () => {
const [store, ctrl] = createCtrl(newState())
diff --git a/src/components/Views/Home.tsx b/src/components/Views/Home.tsx
index edeaccf1..b508a63e 100644
--- a/src/components/Views/Home.tsx
+++ b/src/components/Views/Home.tsx
@@ -110,7 +110,7 @@ export const HomeView = (props: HomeProps) => {
- 5}>
+ PRERENDERED_ARTICLES_COUNT}>
(
{
home: '/',
+ create: '/create',
topics: '/topics',
topic: '/topic/:slug',
authors: '/authors',