From d72d715f6b3d075db00f7b45c0812ea0041df1a6 Mon Sep 17 00:00:00 2001 From: Nicholas Flamy <30300649+NicholasFlamy@users.noreply.github.com> Date: Tue, 11 Mar 2025 18:13:25 -0400 Subject: [PATCH] fix(docs): logo not loading dark theme variant in production (#16820) fix logo not loading dark theme variant in production --- docs/src/pages/index.tsx | 26 +++++++++----------------- docs/src/pages/privacy-policy.tsx | 3 --- 2 files changed, 9 insertions(+), 20 deletions(-) diff --git a/docs/src/pages/index.tsx b/docs/src/pages/index.tsx index d4325eb006..2ffe1debc7 100644 --- a/docs/src/pages/index.tsx +++ b/docs/src/pages/index.tsx @@ -1,12 +1,10 @@ import React from 'react'; import Link from '@docusaurus/Link'; import Layout from '@theme/Layout'; -import { useColorMode } from '@docusaurus/theme-common'; import { discordPath, discordViewBox } from '@site/src/components/svg-paths'; +import ThemedImage from '@theme/ThemedImage'; import Icon from '@mdi/react'; function HomepageHeader() { - const { isDarkTheme } = useColorMode(); - return (
@@ -14,8 +12,8 @@ function HomepageHeader() {
- Immich logo @@ -35,7 +33,6 @@ function HomepageHeader() { sacrificing your privacy.

-
-
Join our Discord
- screenshots -

- - Immich logo -

Download the mobile app

@@ -101,9 +94,8 @@ function HomepageHeader() {

- - app qr code