client: remove TODO doc from home

This commit is contained in:
Max Leiter 2022-03-10 12:51:26 -08:00
parent d669f1057e
commit 96fc4f38ae
No known key found for this signature in database
GPG key ID: A3512F2F2F17EBDA

View file

@ -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 (
<Page className={styles.container} width="100%">
<Head>
@ -75,12 +58,6 @@ const Home = ({ theme, changeTheme, introContent, todoContent }: Props) => {
title={`Welcome to Drift.md`}
initialTab={`preview`}
/>
<Document
editable={false}
content={todoContent}
title={`TODO.md`}
initialTab={`preview`}
/>
</Page.Content>
</Page >
)