Skip to content

Commit 5df1c67

Browse files
committed
add media
1 parent 6c0e669 commit 5df1c67

13 files changed

+122
-63
lines changed

web/blog/2026-01-29-claude-code-fullstack-development-essentials.mdx

Lines changed: 91 additions & 63 deletions
Large diffs are not rendered by default.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
import useBaseUrl from "@docusaurus/useBaseUrl";
2+
3+
interface VideoWithCaptionProps {
4+
source: string;
5+
caption?: string;
6+
alt?: string;
7+
}
8+
9+
export function VideoWithCaption(props: VideoWithCaptionProps) {
10+
return (
11+
<div style={{ display: "flex", justifyContent: "center", margin: "1rem 0" }}>
12+
<figure style={{ width: "100%", margin: 0 }}>
13+
<video
14+
width="100%"
15+
controls
16+
aria-label={props.alt}
17+
>
18+
<source src={useBaseUrl(props.source)} type="video/mp4" />
19+
</video>
20+
{props.caption && (
21+
<figcaption
22+
className="image-caption"
23+
style={{ fontStyle: "italic", opacity: 0.6, fontSize: "0.9rem" }}
24+
>
25+
{props.caption}
26+
</figcaption>
27+
)}
28+
</figure>
29+
</div>
30+
);
31+
}
1.83 MB
Binary file not shown.
47 KB
Loading
Binary file not shown.
52.9 KB
Loading
7.07 MB
Binary file not shown.
28.5 KB
Loading
39.3 KB
Loading
33 KB
Loading

0 commit comments

Comments
 (0)