Skip to content

Commit 6153ef5

Browse files
committed
light + dark preview images
1 parent 102b1ff commit 6153ef5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
File renamed without changes.
25.8 KB
Loading

pcweb/pages/landing/views/video_demo.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ def video_demo() -> rx.Component:
4848
class_name="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 scale-110 z-[2] group-hover:scale-125 transition-transform duration-300 backdrop",
4949
),
5050
rx.image(
51-
"/landing/video/video_demo.webp",
51+
"/landing/video/dark/video_demo_dark.webp",
5252
class_name="object-cover size-full dark:block hidden scale-110",
5353
),
5454
rx.image(
55-
"/landing/video/video_demo.webp",
55+
"/landing/video/light/video_demo_light.webp",
5656
class_name="object-cover size-full dark:hidden block scale-110",
5757
),
5858
rx.el.span(
59-
class_name="inset-0 size-full absolute z-[1] bg-[#0000001f] backdrop-blur-[0.1px] rounded-lg",
59+
class_name="inset-0 size-full absolute z-[1] dark:bg-[#0000001f] backdrop-blur-[0.1px] rounded-lg",
6060
),
6161
class_name="aspect-video rounded-lg overflow-hidden cursor-pointer relative isolate group border border-slate-4",
6262
),

0 commit comments

Comments
 (0)