Skip to content

Commit 572f595

Browse files
authored
docs: update tutorial placeholder image generator. (#3830)
Signed-off-by: Nashwan Azhari <aznashwan@icloud.com>
1 parent b6232af commit 572f595

File tree

11 files changed

+44
-44
lines changed

11 files changed

+44
-44
lines changed

website/docs/tutorial/index.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ We want to build a layout that looks something like this in raw HTML:
176176
<div>
177177
<h3>John Doe: Building and breaking things</h3>
178178
<img
179-
src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder"
179+
src="https://placehold.co/640x360.png?text=Video+Player+Placeholder"
180180
alt="video thumbnail"
181181
/>
182182
</div>
@@ -198,7 +198,7 @@ html! {
198198
</div>
199199
<div>
200200
<h3>{ "John Doe: Building and breaking things" }</h3>
201-
<img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
201+
<img src="https://placehold.co/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
202202
</div>
203203
</>
204204
}
@@ -431,7 +431,7 @@ fn video_details(VideosDetailsProps { video }: &VideosDetailsProps) -> Html {
431431
html! {
432432
<div>
433433
<h3>{ video.title.clone() }</h3>
434-
<img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
434+
<img src="https://placehold.co/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
435435
</div>
436436
}
437437
}
@@ -467,7 +467,7 @@ fn app() -> Html {
467467
+ { for details }
468468
- <div>
469469
- <h3>{ "John Doe: Building and breaking things" }</h3>
470-
- <img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
470+
- <img src="https://placehold.co/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
471471
- </div>
472472
</>
473473
}

website/i18n/ja/docusaurus-plugin-content-docs/current/tutorial/index.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Yew は Rust のプロシージャルマクロを利用しており、JSX(Java
160160
<div>
161161
<h3>John Doe: Building and breaking things</h3>
162162
<img
163-
src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder"
163+
src="https://placehold.co/640x360.png?text=Video+Player+Placeholder"
164164
alt="video thumbnail"
165165
/>
166166
</div>
@@ -181,7 +181,7 @@ html! {
181181
</div>
182182
<div>
183183
<h3>{ "John Doe: Building and breaking things" }</h3>
184-
<img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
184+
<img src="https://placehold.co/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
185185
</div>
186186
</>
187187
}
@@ -402,7 +402,7 @@ fn video_details(VideosDetailsProps { video }: &VideosDetailsProps) -> Html {
402402
html! {
403403
<div>
404404
<h3>{ video.title.clone() }</h3>
405-
<img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
405+
<img src="https://placehold.co/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
406406
</div>
407407
}
408408
}
@@ -438,7 +438,7 @@ fn app() -> Html {
438438
+ { for details }
439439
- <div>
440440
- <h3>{ "John Doe: Building and breaking things" }</h3>
441-
- <img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
441+
- <img src="https://placehold.co/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
442442
- </div>
443443
</>
444444
}

website/i18n/ja/docusaurus-plugin-content-docs/version-0.22/tutorial/index.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Yew は Rust のプロシージャルマクロを利用しており、JSX(Java
160160
<div>
161161
<h3>John Doe: Building and breaking things</h3>
162162
<img
163-
src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder"
163+
src="https://placehold.co/640x360.png?text=Video+Player+Placeholder"
164164
alt="video thumbnail"
165165
/>
166166
</div>
@@ -181,7 +181,7 @@ html! {
181181
</div>
182182
<div>
183183
<h3>{ "John Doe: Building and breaking things" }</h3>
184-
<img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
184+
<img src="https://placehold.co/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
185185
</div>
186186
</>
187187
}
@@ -402,7 +402,7 @@ fn video_details(VideosDetailsProps { video }: &VideosDetailsProps) -> Html {
402402
html! {
403403
<div>
404404
<h3>{ video.title.clone() }</h3>
405-
<img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
405+
<img src="https://placehold.co/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
406406
</div>
407407
}
408408
}
@@ -438,7 +438,7 @@ fn app() -> Html {
438438
+ { for details }
439439
- <div>
440440
- <h3>{ "John Doe: Building and breaking things" }</h3>
441-
- <img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
441+
- <img src="https://placehold.co/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
442442
- </div>
443443
</>
444444
}

website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/tutorial/index.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Yew 利用了 Rust 的过程宏,并为我们提供了一种类似于 JSX(Jav
160160
<div>
161161
<h3>John Doe: Building and breaking things</h3>
162162
<img
163-
src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder"
163+
src="https://placehold.co/640x360.png?text=Video+Player+Placeholder"
164164
alt="video thumbnail"
165165
/>
166166
</div>
@@ -181,7 +181,7 @@ html! {
181181
</div>
182182
<div>
183183
<h3>{ "John Doe: Building and breaking things" }</h3>
184-
<img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
184+
<img src="https://placehold.co/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
185185
</div>
186186
</>
187187
}
@@ -402,7 +402,7 @@ fn video_details(VideosDetailsProps { video }: &VideosDetailsProps) -> Html {
402402
html! {
403403
<div>
404404
<h3>{ video.title.clone() }</h3>
405-
<img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
405+
<img src="https://placehold.co/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
406406
</div>
407407
}
408408
}
@@ -438,7 +438,7 @@ fn app() -> Html {
438438
+ { for details }
439439
- <div>
440440
- <h3>{ "John Doe: Building and breaking things" }</h3>
441-
- <img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
441+
- <img src="https://placehold.co/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
442442
- </div>
443443
</>
444444
}

website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-0.22/tutorial/index.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Yew 利用了 Rust 的过程宏,并为我们提供了一种类似于 JSX(Jav
160160
<div>
161161
<h3>John Doe: Building and breaking things</h3>
162162
<img
163-
src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder"
163+
src="https://placehold.co/640x360.png?text=Video+Player+Placeholder"
164164
alt="video thumbnail"
165165
/>
166166
</div>
@@ -181,7 +181,7 @@ html! {
181181
</div>
182182
<div>
183183
<h3>{ "John Doe: Building and breaking things" }</h3>
184-
<img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
184+
<img src="https://placehold.co/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
185185
</div>
186186
</>
187187
}
@@ -402,7 +402,7 @@ fn video_details(VideosDetailsProps { video }: &VideosDetailsProps) -> Html {
402402
html! {
403403
<div>
404404
<h3>{ video.title.clone() }</h3>
405-
<img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
405+
<img src="https://placehold.co/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
406406
</div>
407407
}
408408
}
@@ -438,7 +438,7 @@ fn app() -> Html {
438438
+ { for details }
439439
- <div>
440440
- <h3>{ "John Doe: Building and breaking things" }</h3>
441-
- <img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
441+
- <img src="https://placehold.co/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
442442
- </div>
443443
</>
444444
}

website/i18n/zh-Hant/docusaurus-plugin-content-docs/current/tutorial/index.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Yew 利用了 Rust 的過程宏,並為我們提供了一種類似於 JSX(Jav
160160
<div>
161161
<h3>John Doe: Building and breaking things</h3>
162162
<img
163-
src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder"
163+
src="https://placehold.co/640x360.png?text=Video+Player+Placeholder"
164164
alt="video thumbnail"
165165
/>
166166
</div>
@@ -181,7 +181,7 @@ html! {
181181
</div>
182182
<div>
183183
<h3>{ "John Doe: Building and breaking things" }</h3>
184-
<img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
184+
<img src="https://placehold.co/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
185185
</div>
186186
</>
187187
}
@@ -402,7 +402,7 @@ fn video_details(VideosDetailsProps { video }: &VideosDetailsProps) -> Html {
402402
html! {
403403
<div>
404404
<h3>{ video.title.clone() }</h3>
405-
<img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
405+
<img src="https://placehold.co/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
406406
</div>
407407
}
408408
}
@@ -438,7 +438,7 @@ fn app() -> Html {
438438
+ { for details }
439439
- <div>
440440
- <h3>{ "John Doe: Building and breaking things" }</h3>
441-
- <img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
441+
- <img src="https://placehold.co/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
442442
- </div>
443443
</>
444444
}

website/i18n/zh-Hant/docusaurus-plugin-content-docs/version-0.22/tutorial/index.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Yew 利用了 Rust 的過程宏,並為我們提供了一種類似於 JSX(Jav
160160
<div>
161161
<h3>John Doe: Building and breaking things</h3>
162162
<img
163-
src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder"
163+
src="https://placehold.co/640x360.png?text=Video+Player+Placeholder"
164164
alt="video thumbnail"
165165
/>
166166
</div>
@@ -181,7 +181,7 @@ html! {
181181
</div>
182182
<div>
183183
<h3>{ "John Doe: Building and breaking things" }</h3>
184-
<img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
184+
<img src="https://placehold.co/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
185185
</div>
186186
</>
187187
}
@@ -402,7 +402,7 @@ fn video_details(VideosDetailsProps { video }: &VideosDetailsProps) -> Html {
402402
html! {
403403
<div>
404404
<h3>{ video.title.clone() }</h3>
405-
<img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
405+
<img src="https://placehold.co/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
406406
</div>
407407
}
408408
}
@@ -438,7 +438,7 @@ fn app() -> Html {
438438
+ { for details }
439439
- <div>
440440
- <h3>{ "John Doe: Building and breaking things" }</h3>
441-
- <img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
441+
- <img src="https://placehold.co/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
442442
- </div>
443443
</>
444444
}

website/versioned_docs/version-0.19.0/tutorial/index.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ We want to build a layout that looks something like this in raw HTML:
152152
<div>
153153
<h3>John Doe: Building and breaking things</h3>
154154
<img
155-
src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder"
155+
src="https://placehold.co/640x360.png?text=Video+Player+Placeholder"
156156
alt="video thumbnail"
157157
/>
158158
</div>
@@ -174,7 +174,7 @@ html! {
174174
</div>
175175
<div>
176176
<h3>{ "John Doe: Building and breaking things" }</h3>
177-
<img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
177+
<img src="https://placehold.co/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
178178
</div>
179179
</>
180180
}
@@ -403,7 +403,7 @@ fn video_details(VideosDetailsProps { video }: &VideosDetailsProps) -> Html {
403403
html! {
404404
<div>
405405
<h3>{ video.title.clone() }</h3>
406-
<img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
406+
<img src="https://placehold.co/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
407407
</div>
408408
}
409409
}
@@ -439,7 +439,7 @@ fn app() -> Html {
439439
+ { for details }
440440
- <div>
441441
- <h3>{ "John Doe: Building and breaking things" }</h3>
442-
- <img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
442+
- <img src="https://placehold.co/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
443443
- </div>
444444
- </>
445445
}

website/versioned_docs/version-0.20/tutorial/index.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ We want to build a layout that looks something like this in raw HTML:
172172
<div>
173173
<h3>John Doe: Building and breaking things</h3>
174174
<img
175-
src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder"
175+
src="https://placehold.co/640x360.png?text=Video+Player+Placeholder"
176176
alt="video thumbnail"
177177
/>
178178
</div>
@@ -194,7 +194,7 @@ html! {
194194
</div>
195195
<div>
196196
<h3>{ "John Doe: Building and breaking things" }</h3>
197-
<img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
197+
<img src="https://placehold.co/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
198198
</div>
199199
</>
200200
}
@@ -427,7 +427,7 @@ fn video_details(VideosDetailsProps { video }: &VideosDetailsProps) -> Html {
427427
html! {
428428
<div>
429429
<h3>{ video.title.clone() }</h3>
430-
<img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
430+
<img src="https://placehold.co/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
431431
</div>
432432
}
433433
}
@@ -463,7 +463,7 @@ fn app() -> Html {
463463
+ { for details }
464464
- <div>
465465
- <h3>{ "John Doe: Building and breaking things" }</h3>
466-
- <img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
466+
- <img src="https://placehold.co/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
467467
- </div>
468468
</>
469469
}

website/versioned_docs/version-0.21/tutorial/index.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ We want to build a layout that looks something like this in raw HTML:
176176
<div>
177177
<h3>John Doe: Building and breaking things</h3>
178178
<img
179-
src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder"
179+
src="https://placehold.co/640x360.png?text=Video+Player+Placeholder"
180180
alt="video thumbnail"
181181
/>
182182
</div>
@@ -198,7 +198,7 @@ html! {
198198
</div>
199199
<div>
200200
<h3>{ "John Doe: Building and breaking things" }</h3>
201-
<img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
201+
<img src="https://placehold.co/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
202202
</div>
203203
</>
204204
}
@@ -431,7 +431,7 @@ fn video_details(VideosDetailsProps { video }: &VideosDetailsProps) -> Html {
431431
html! {
432432
<div>
433433
<h3>{ video.title.clone() }</h3>
434-
<img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
434+
<img src="https://placehold.co/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
435435
</div>
436436
}
437437
}
@@ -467,7 +467,7 @@ fn app() -> Html {
467467
+ { for details }
468468
- <div>
469469
- <h3>{ "John Doe: Building and breaking things" }</h3>
470-
- <img src="https://via.placeholder.com/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
470+
- <img src="https://placehold.co/640x360.png?text=Video+Player+Placeholder" alt="video thumbnail" />
471471
- </div>
472472
</>
473473
}

0 commit comments

Comments
 (0)