From 96fc4f38ae701abb187005ebfb5e4aeee7c0c612 Mon Sep 17 00:00:00 2001 From: Max Leiter Date: Thu, 10 Mar 2022 12:51:26 -0800 Subject: [PATCH] client: remove TODO doc from home --- client/pages/index.tsx | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/client/pages/index.tsx b/client/pages/index.tsx index 4bf1b674..6de4afdc 100644 --- a/client/pages/index.tsx +++ b/client/pages/index.tsx @@ -25,35 +25,18 @@ export function getStaticProps() { In terms of design and functionality. Hosts images and markdown, rendered. Creates links that can be private or public. Uses/requires registration. I have looked at dozens of pastebin-like things. ` - const todoDoc = - `#### In no particular order: - -- Less JavaScript usage (it's currently required) -- A non-Node backend -- Hosting images -- Password-protected posts -- Administrator panel -- Meta tags -- User settings -- Search -- "Forking" -- LaTeX -- Syntax highlighting based on filename ending` - return { props: { introContent: introDoc, - todoContent: todoDoc, } } } type Props = ThemeProps & { introContent: string - todoContent: string } -const Home = ({ theme, changeTheme, introContent, todoContent }: Props) => { +const Home = ({ theme, changeTheme, introContent }: Props) => { return ( @@ -75,12 +58,6 @@ const Home = ({ theme, changeTheme, introContent, todoContent }: Props) => { title={`Welcome to Drift.md`} initialTab={`preview`} /> - )