Added Cloudflare Worker Compatible Configs (#2343)

This commit is contained in:
Saket Aryan
2025-03-10 01:41:47 +05:30
committed by GitHub
parent d3911b92cf
commit e30e4967ae
8 changed files with 25 additions and 4 deletions

View File

@@ -1,5 +1,7 @@
"use client";
import darkLogo from "@/images/dark.svg";
import lightLogo from "@/images/light.svg";
import React from "react";
import Image from "next/image";
@@ -27,7 +29,7 @@ export default function ThemeAwareLogo({
}
// For default variant, use the full logo image
const logoSrc = isDarkMode ? "/images/dark.svg" : "/images/light.svg";
const logoSrc = isDarkMode ? darkLogo : lightLogo;
return (
<Image