Skip to content

Commit 81d6088

Browse files
adewaledom96
authored andcommitted
Assets example: Add painting image to demonstrate multiple assets
1 parent 78f5e47 commit 81d6088

3 files changed

Lines changed: 20 additions & 13 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
node_modules
33
python_modules
44
__pycache__
5+
CLAUDE.md

06-assets/assets/index.html

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html>
3-
<head>
4-
<title>Assets Example</title>
5-
<link rel="stylesheet" href="/style.css">
6-
</head>
7-
<body>
8-
<div class="container">
9-
<h1>Assets Handling Example</h1>
10-
<p>This demonstrates serving static content from a Python Worker.</p>
11-
<img src="/image.svg" alt="Example circle image" />
12-
</div>
13-
<script src="/script.js"></script>
14-
</body>
3+
<head>
4+
<title>Assets Example</title>
5+
<link rel="stylesheet" href="/style.css" />
6+
</head>
7+
<body>
8+
<div class="container">
9+
<h1>Assets Handling Example</h1>
10+
<p>
11+
This demonstrates serving static content from a Python Worker.
12+
</p>
13+
<img src="/image.svg" alt="Example circle image" />
14+
<img
15+
src="painting.jpg"
16+
alt="A painting of a little house in Switzerland"
17+
/>
18+
</div>
19+
<script src="/script.js"></script>
20+
</body>
1521
</html>

06-assets/assets/painting.jpg

1.01 MB
Loading

0 commit comments

Comments
 (0)