소스 검색

Hide CRT from sidenav (#4073)

* Restored CRT preview screen
attemka 1 년 전
부모
커밋
e4c451de35
1개의 변경된 파일21개의 추가작업 그리고 21개의 파일을 삭제
  1. 21 21
      packages/atlas/src/views/studio/CrtWelcomeView/CrtWelcomeView.tsx

+ 21 - 21
packages/atlas/src/views/studio/CrtWelcomeView/CrtWelcomeView.tsx

@@ -1,26 +1,26 @@
-import { SvgActionPlay } from '@/assets/icons'
-import { WelcomeView } from '@/components/WelcomeView'
-import { absoluteRoutes } from '@/config/routes'
+import { CrtView } from '@/views/studio/CrtView'
 
 export const CrtWelcomeView = () => {
   return (
-    <WelcomeView
-      headTagTitle="Creator tokens"
-      title="Ready to create your channel token?"
-      pageTitle="Creator tokens"
-      subtitle="Create your very own channel token, sell it on your own terms and share your success with your token holders."
-      type="crt"
-      buttons={[
-        { children: 'Create token', size: 'large', to: absoluteRoutes.studio.crtTokenPreview() },
-        {
-          children: 'Learn more',
-          size: 'large',
-          variant: 'tertiary',
-          to: '',
-          _textOnly: true,
-          icon: <SvgActionPlay />,
-        },
-      ]}
-    />
+    <CrtView />
+    // todo: uncomment when CRT are ready
+    // <WelcomeView
+    //   headTagTitle="Creator tokens"
+    //   title="Ready to create your channel token?"
+    //   pageTitle="Creator tokens"
+    //   subtitle="Create your very own channel token, sell it on your own terms and share your success with your token holders."
+    //   type="crt"
+    //   buttons={[
+    //     { children: 'Create token', size: 'large', to: absoluteRoutes.studio.crtTokenPreview() },
+    //     {
+    //       children: 'Learn more',
+    //       size: 'large',
+    //       variant: 'tertiary',
+    //       to: '',
+    //       _textOnly: true,
+    //       icon: <SvgActionPlay />,
+    //     },
+    //   ]}
+    // />
   )
 }