Skip to content

Commit add7d82

Browse files
Apply suggestions from code review
Co-authored-by: Geoff Rich <[email protected]>
1 parent 2d8af3e commit add7d82

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

documentation/blog/2023-08-31-view-transitions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ onNavigate((navigation) => {
7474

7575
With that, every navigation that occurs will trigger a view transition. You can already see this in action – by default, the browser will crossfade between the old and new pages.
7676

77-
<video src="https://raw.githubusercontent.com/geoffrich/assets/grich/view-transitions/video/vt-demo-1.mp4" controls muted playsinline></video>
77+
<video src="https://sveltejs.github.io/assets/video/vt-demo-1.mp4" controls muted playsinline></video>
7878

7979
<details>
8080
<summary>How the code works</summary>
@@ -158,7 +158,7 @@ header {
158158

159159
Now, the header will not transition in and out on navigation, but the rest of the page will.
160160

161-
<video src="https://raw.githubusercontent.com/geoffrich/assets/grich/view-transitions/video/vt-demo-2.mp4" controls muted playsinline></video>
161+
<video src="https://sveltejs.github.io/assets/video/vt-demo-2.mp4" controls muted playsinline></video>
162162

163163
<details>
164164
<summary>Fixing the types</summary>
@@ -210,7 +210,7 @@ li[aria-current='page']::before {
210210

211211
By adding that single line, the indicator will now smoothly slide to its new position instead of jumping.
212212

213-
<video src="https://raw.githubusercontent.com/geoffrich/assets/grich/view-transitions/video/vt-demo-3.mp4" controls muted playsinline></video>
213+
<video src="https://sveltejs.github.io/assets/video/vt-demo-3.mp4" controls muted playsinline></video>
214214

215215
(It might be easy to miss the difference – look at the small moving triangle indicator at the top of the screen!)
216216

0 commit comments

Comments
 (0)