From f15bc9d10dbfba4cbf73c36cc8d9d029329f3978 Mon Sep 17 00:00:00 2001
From: Pete Gonzalez <4673363+octogonz@users.noreply.github.com>
Date: Mon, 26 Feb 2024 21:46:01 -0800
Subject: [PATCH 1/4] Add "Under Construction" notices to website
---
apps/website/docs/index.md | 7 +++++++
apps/website/docs/pages/guide/getting_started.md | 7 +++++++
2 files changed, 14 insertions(+)
diff --git a/apps/website/docs/index.md b/apps/website/docs/index.md
index b8662cd..c16e621 100644
--- a/apps/website/docs/index.md
+++ b/apps/website/docs/index.md
@@ -8,6 +8,13 @@ custom_edit_url: null
+> 🚧 UNDER CONSTRUCTION 🚧
+>
+> This is an early test release of the software.
+> It is not yet ready for general usage.
+> If you have questions about this project, let us know
+> using [GitHub discussions](https://github.com/tiktok/sparo/discussions).
+
## Clone faster!
Sparo optimizes performance of Git operations for your large frontend monorepo.
diff --git a/apps/website/docs/pages/guide/getting_started.md b/apps/website/docs/pages/guide/getting_started.md
index 9c007bf..4de21b8 100644
--- a/apps/website/docs/pages/guide/getting_started.md
+++ b/apps/website/docs/pages/guide/getting_started.md
@@ -2,6 +2,13 @@
title: Getting Started
---
+> 🚧 UNDER CONSTRUCTION 🚧
+>
+> This is an early test release of the software.
+> It is not yet ready for general usage.
+> If you have questions about this project, let us know
+> using [GitHub discussions](https://github.com/tiktok/sparo/discussions).
+
## Everyday workflow
### Step 1: Upgrade Git
From 64c747840afb8d0d951b3a039931940fd69ae06b Mon Sep 17 00:00:00 2001
From: Pete Gonzalez <4673363+octogonz@users.noreply.github.com>
Date: Mon, 26 Feb 2024 22:23:50 -0800
Subject: [PATCH 2/4] Improve website logo appearance in dark mode
---
apps/website/src/components/ThemedImage.tsx | 18 ++++++++++++++++++
.../static/images/site/sparo-logo-dark.svg | 3 +++
.../static/images/site/sparo-title-dark.svg | 2 ++
3 files changed, 23 insertions(+)
create mode 100644 apps/website/src/components/ThemedImage.tsx
create mode 100644 apps/website/static/images/site/sparo-logo-dark.svg
create mode 100644 apps/website/static/images/site/sparo-title-dark.svg
diff --git a/apps/website/src/components/ThemedImage.tsx b/apps/website/src/components/ThemedImage.tsx
new file mode 100644
index 0000000..29dcbc9
--- /dev/null
+++ b/apps/website/src/components/ThemedImage.tsx
@@ -0,0 +1,18 @@
+import React from 'react';
+import { useColorMode } from '@docusaurus/theme-common';
+
+/**
+ * An `` tag with a different URLs for light vs dark mode.
+ */
+const ThemedImage = ({ srcLight, srcDark, alt, title, style }) => {
+ const { colorMode } = useColorMode();
+ const src = colorMode === 'dark' ? srcDark : srcLight;
+
+ return (
+