Skip to content

Commit

Permalink
light mode logo fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
CA-MKSingh committed Oct 27, 2024
1 parent 3ca397f commit 294c8e0
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 3 deletions.
17 changes: 14 additions & 3 deletions components/logo.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
import Image from "next/image";

const Logo = (): React.ReactNode => (
<div className="w-full py-1 flex gap-4 justify-center">
<div className="relative h-16 w-40 flex items-center justify-center">
<Image src="/logo.svg" alt="shield logo" fill />
<div className="w-full flex gap-2 justify-center">
<div className="relative h-12 w-40 flex items-center justify-center">
<Image
src="/logo.svg"
alt="shield logo"
fill
className="hidden dark:block"
/>
<Image
src="/logo-light.svg"
alt="shield logo"
fill
className="block dark:hidden"
/>
</div>
<pre className="pt-2">Docs</pre>
</div>
Expand Down
Loading

0 comments on commit 294c8e0

Please sign in to comment.