Skip to content

Commit 1589c7d

Browse files
author
Your Name
committed
Restore proper three-column layout with meta tags
1 parent 35be7d0 commit 1589c7d

File tree

1 file changed

+64
-2
lines changed

1 file changed

+64
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 64 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,70 @@ jobs:
1818
- name: Copy SVG assets to deploy directory
1919
run: mkdir -p _site/svg && cp -r _svg_assets/* _site/svg/ || true
2020

21-
- name: Create simple index.html
22-
run: echo '<html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="description" content="The House that Code Built"><meta name="author" content="TortoiseWolfe"><title>SVG Assets</title></head><body><h1>SVG Assets</h1><p>This is a simple index page for the SVG assets.</p></body></html>' > _site/index.html
21+
- name: Create proper index.html with 3-column layout
22+
run: |
23+
# Write HTML file parts separately to avoid YAML issues
24+
cat > _site/index.html << ENDHTML
25+
<!DOCTYPE html>
26+
<html lang="en">
27+
<head>
28+
<meta charset="UTF-8">
29+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
30+
<meta name="description" content="The House that Code Built - Interactive Learning Tool">
31+
<meta name="author" content="TortoiseWolfe">
32+
<meta name="keywords" content="web development, HTML, CSS, JavaScript, visualization">
33+
<title>The House that Code Built</title>
34+
<style>
35+
body {
36+
margin: 0;
37+
padding: 0;
38+
font-family: Arial, sans-serif;
39+
}
40+
.container {
41+
display: flex;
42+
width: 100%;
43+
}
44+
.left-column {
45+
width: 25%;
46+
flex: 0 0 25%;
47+
background: #f0f0f0;
48+
padding: 15px;
49+
box-sizing: border-box;
50+
}
51+
.center-column {
52+
width: 55%;
53+
flex: 0 0 55%;
54+
padding: 15px;
55+
box-sizing: border-box;
56+
}
57+
.right-column {
58+
width: 20%;
59+
flex: 0 0 20%;
60+
background: #f0f0f0;
61+
padding: 15px;
62+
box-sizing: border-box;
63+
}
64+
</style>
65+
</head>
66+
<body>
67+
<div class="container">
68+
<div class="left-column">
69+
<h2>Presets</h2>
70+
<p>Left column (25%)</p>
71+
</div>
72+
<div class="center-column">
73+
<h2>Visualization</h2>
74+
<img src="svg/house-structure.svg" alt="House Structure" width="100%">
75+
<img src="svg/environment-layer.svg" alt="Environment Layer" width="100%">
76+
</div>
77+
<div class="right-column">
78+
<h2>Layer Controls</h2>
79+
<p>Right column (20%)</p>
80+
</div>
81+
</div>
82+
</body>
83+
</html>
84+
ENDHTML
2385

2486
- name: Deploy
2587
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)