Skip to content

Commit ad7e780

Browse files
committed
feat(frontends): cache videos on app2, ceremony, zkgm-dev, site
1 parent e59833b commit ad7e780

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

app2/src/lib/themes.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ export const themes: Record<Edition, Theme> = {
1515
accent: "var(--color-babylon-orange)",
1616
primary: "var(--color-babylon-orange)",
1717
background: "var(--color-zinc-950)",
18-
videoUrl: "https://pub-32dd1494f0fa423cb1013941269ecce9.r2.dev/btc-union-background-3.webm",
18+
videoUrl: "https://videos.cdn.union.build/btc-union-background-3.webm",
1919
staticImage: "/btc-static-video.png",
2020
},
2121
app: {
2222
label: "V2",
2323
accent: "var(--color-union)",
2424
primary: "var(--color-union)",
2525
background: "var(--color-zinc-950)",
26-
videoUrl: "https://pub-32dd1494f0fa423cb1013941269ecce9.r2.dev/app-union-background-2.webm",
26+
videoUrl: "https://videos.cdn.union.build/app-union-background-2.webm",
2727
staticImage: "/app-static-video.png",
2828
},
2929
}

ceremony/src/routes/+layout.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ const imagePath = "https://ceremony.union.build/images/ceremony-og.png"
212212
}}
213213
>
214214
<source
215-
src="https://pub-32dd1494f0fa423cb1013941269ecce9.r2.dev/glitchboot.webm"
215+
src="https://videos.cdn.union.build/glitchboot.webm"
216216
type="video/webm"
217217
/>
218218
</video>
@@ -235,7 +235,7 @@ const imagePath = "https://ceremony.union.build/images/ceremony-og.png"
235235
}}
236236
>
237237
<source
238-
src="https://pub-32dd1494f0fa423cb1013941269ecce9.r2.dev/glitch.webm"
238+
src="https://videos.cdn.union.build/glitch.webm"
239239
type="video/webm"
240240
/>
241241
</video>

site/src/components/sections/DeepDiveSection.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const { entries } = Astro.props
3939
<div class="w-full max-w-md">
4040
<div class="relative aspect-video w-full">
4141
<video
42-
src="https://pub-32dd1494f0fa423cb1013941269ecce9.r2.dev/radial-glass-v8.mp4"
42+
src="https://videos.cdn.union.build/radial-glass-v8.mp4"
4343
autoplay
4444
muted
4545
playsinline
@@ -64,7 +64,7 @@ const { entries } = Astro.props
6464
<div class="w-full max-w-sm">
6565
<div class="relative aspect-video w-full">
6666
<video
67-
src="https://pub-32dd1494f0fa423cb1013941269ecce9.r2.dev/modular-stack-v2.mp4"
67+
src="https://videos.cdn.union.build/modular-stack-v2.mp4"
6868
autoplay
6969
muted
7070
playsinline
@@ -98,7 +98,7 @@ const { entries } = Astro.props
9898
<div class="w-full max-w-xs">
9999
<div class="relative aspect-video w-full">
100100
<video
101-
src="https://pub-32dd1494f0fa423cb1013941269ecce9.r2.dev/explain-v1.mp4"
101+
src="https://videos.cdn.union.build/explain-v1.mp4"
102102
autoplay
103103
muted
104104
playsinline

site/src/components/sections/landing/ConsensusSection.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const textHtml = renderRichText(text)
3333
<div class="relative max-w-md md:max-w-2xl">
3434
<video
3535
class="w-full h-full object-cover"
36-
src="https://pub-32dd1494f0fa423cb1013941269ecce9.r2.dev/radial-glass-v8.mp4"
36+
src="https://videos.cdn.union.build/radial-glass-v8.mp4"
3737
autoplay
3838
muted
3939
playsinline

site/src/components/sections/landing/ExecutionSection.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const textHtml = renderRichText(text)
3333
<div class="relative max-w-sm md:max-w-2xl">
3434
<video
3535
class="w-full h-full object-cover"
36-
src="https://pub-32dd1494f0fa423cb1013941269ecce9.r2.dev/modular-stack-v2.mp4"
36+
src="https://videos.cdn.union.build/modular-stack-v2.mp4"
3737
autoplay
3838
muted
3939
playsinline

zkgm-dev/src/routes/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ async function startVideo() {
6060
data-video="glitch"
6161
>
6262
<source
63-
src="https://pub-32dd1494f0fa423cb1013941269ecce9.r2.dev/zkgm-v1.mp4"
63+
src="https://videos.cdn.union.build/zkgm-v1.mp4"
6464
type="video/mp4"
6565
/>
6666
</video>

0 commit comments

Comments
 (0)