Skip to content

Commit dce0e34

Browse files
committed
Use dark logo directly in sign layout
Remove picture element with color scheme switching and use dark logo directly since the sign layout has a dark background.
1 parent 0db221f commit dce0e34

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

web-next/src/routes/sign.tsx

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,13 @@ export default function SignLayout(props: RouteSectionProps) {
99
<aside class="grow h-full p-4 bg-zinc-900">
1010
<h1>
1111
<a href="/">
12-
<picture>
13-
<source
14-
srcset="/logo-dark.svg"
15-
media="(prefers-color-scheme: dark)"
16-
/>
17-
<img
18-
src="/logo-light.svg"
19-
alt={t`Hackers' Pub`}
20-
width={198}
21-
height={50}
22-
class="w-[198px] h-[50px]"
23-
/>
24-
</picture>
12+
<img
13+
src="/logo-dark.svg"
14+
alt={t`Hackers' Pub`}
15+
width={198}
16+
height={50}
17+
class="w-[198px] h-[50px]"
18+
/>
2519
</a>
2620
</h1>
2721
</aside>

0 commit comments

Comments
 (0)