diff --git a/client/.env.local b/client/.env.local index a4e28f86..7d269349 100644 --- a/client/.env.local +++ b/client/.env.local @@ -1,4 +1,4 @@ API_URL=http://localhost:3000 WELCOME_TITLE="Welcome to Drift" -WELCOME_CONTENT="### Drift is a self-hostable clone of GitHub Gist. \nIt is a simple way to share code and text snippets with your friends, with support for the following:\n \n - Render GitHub Extended Markdown (including images)\n - User authentication\n - Private, public, and secret posts\n \n If you want to signup, you can join at [/signup](/signup) as long as you have a passcode provided by the administrator (which you don\'t need for this demo).\n **This demo is on a memory-only database, so accounts and pastes can be deleted at any time.**\n You can find the source code on [GitHub](https://github.com/MaxLeiter/drift).\n \n Drift was inspired by [this tweet](https://twitter.com/emilyst/status/1499858264346935297):\n > What is the absolute closest thing to GitHub Gist that can be self-hosted?\n 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." -SECRET_KEY=secret \ No newline at end of file +WELCOME_CONTENT="## Drift is a self-hostable clone of GitHub Gist. \nIt is a simple way to share code and text snippets with your friends, with support for the following:\n \n - Render GitHub Extended Markdown (including images)\n - User authentication\n - Private, public, and password protected posts\n - Markdown is rendered and stored on the server\n - Syntax highlighting and automatic language detection\n - Drag-and-drop file uploading\n\n If you want to signup, you can join at [/signup](/signup) as long as you have a passcode provided by the administrator (which you don\\\'t need for this demo). **This demo is on a memory-only database, so accounts and pastes can be deleted at any time.** \n\nYou can find the source code on [GitHub](https://github.com/MaxLeiter/drift)." +SECRET_KEY=secret diff --git a/client/pages/index.tsx b/client/pages/index.tsx index e885c61d..f54f5257 100644 --- a/client/pages/index.tsx +++ b/client/pages/index.tsx @@ -18,13 +18,13 @@ export function getStaticProps() { type Props = { introContent: string + introTitle: string } -const Home = ({ introContent }: Props) => { +const Home = ({ introContent, introTitle }: Props) => { return ( -
@@ -36,7 +36,7 @@ const Home = ({ introContent }: Props) => {