From 1e799ed23f623d062eae47ab7c263b729ea02c2a Mon Sep 17 00:00:00 2001 From: Nikita Tchayka Date: Wed, 30 Aug 2023 22:43:39 +0100 Subject: Responsive --- docusaurus.config.js | 5 +++++ src/pages/index.tsx | 17 ++++++++--------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 4bb2677..4130b6a 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -77,6 +77,11 @@ const config = { ({ // Replace with your project's social card image: "img/docusaurus-social-card.jpg", + colorMode: { + defaultMode: "light", + disableSwitch: true, + respectPrefersColorScheme: false, + }, navbar: { title: "NeoHaskell", logo: { diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 8feca7c..1448b3b 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -16,19 +16,18 @@ const dynC = (className: string, color: string) => function HomepageHeader() { const { siteConfig } = useDocusaurusContext(); return ( -
-
-
-
-

- Don't fear shipping -
{" "} +
+
+
+
+

+ Don't fear shipping{" "} the MVP.

-

+

From your head to the world in no time, without the fear of future refactors.{" "} NeoHaskell scales with your product. @@ -36,7 +35,7 @@ function HomepageHeader() {

-
+