Spaces:
Sleeping
Sleeping
File size: 13,205 Bytes
71d0164 4d5f9fe 16110dc 3a61167 4d5f9fe 6c66030 71d0164 6c66030 71d0164 6c66030 4d5f9fe 16110dc 71d0164 16110dc 4d5f9fe 16110dc 71d0164 52b64b1 16110dc 4d5f9fe 16110dc 71d0164 16110dc 71d0164 16110dc 4d5f9fe 16110dc 71d0164 4d5f9fe 71d0164 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 |
import marimo
__generated_with = "0.13.1-dev16"
app = marimo.App()
@app.cell
def _(mo):
import marimo as mo
mo.Html("""
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Our t:able Legal Journey</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
background-color: #f8f9fa;
color: #333333;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
margin: 0;
padding: 20px;
box-sizing: border-box;
}
.container {
background-color: #ffffff;
padding: 30px 40px;
border-radius: 12px;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
text-align: center;
max-width: 600px;
width: 100%;
overflow: hidden;
}
.page {
display: none;
animation: fadeIn 0.4s ease-in-out;
}
.page.active {
display: block;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
h2 {
color: #00A87E;
margin-bottom: 20px;
font-size: 1.8em;
font-weight: 600;
}
p {
font-size: 1.1em;
line-height: 1.6;
margin-bottom: 25px;
color: #555555;
}
svg {
max-width: 140px;
height: auto;
margin: 20px auto;
display: block;
}
.cat-gallery {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
gap: 15px;
margin-bottom: 20px;
}
.cat-gallery svg {
max-width: 90px;
}
.navigation {
margin-top: 30px;
display: flex;
justify-content: space-between;
}
button {
background-color: #00A87E;
color: #ffffff;
border: none;
padding: 10px 22px;
border-radius: 8px;
font-family: inherit;
font-size: 1em;
font-weight: 500;
cursor: pointer;
transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
button:hover {
background-color: #008a68;
box-shadow: 0 4px 8px rgba(0,0,0,0.07);
}
button:active {
transform: translateY(1px);
box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
button:disabled {
background-color: #b2e0d4;
color: #6c757d;
cursor: not-allowed;
opacity: 0.8;
box-shadow: none;
}
</style>
</head>
<body>
<div class="container">
<!-- Page 1 -->
<div id="page1" class="page active">
<h2>Our t:able Legal Journey</h2>
<p>When we thought legal would say "no", we were surprised by their creative "yes, and"!</p>
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<title>Legal Scale</title>
<line x1="50" y1="20" x2="50" y2="80" stroke="#6c757d" stroke-width="3"/>
<line x1="30" y1="30" x2="70" y2="30" stroke="#6c757d" stroke-width="3"/>
<circle cx="50" cy="20" r="5" fill="#00A87E"/>
<circle cx="30" cy="40" r="10" fill="#e6f7f3" stroke="#b2e0d4" stroke-width="1"/>
<circle cx="70" cy="40" r="10" fill="#e6f7f3" stroke="#b2e0d4" stroke-width="1"/>
<rect x="40" y="80" width="20" height="5" fill="#6c757d"/>
</svg>
</div>
""")
return
@app.cell
def _(mo):
import marimo as mo
# Page 2 Content
mo.Html("""
<!-- Page 2 -->
<div id="page2" class="page">
<h2>A t:able Conversation!</h2>
<p>But actually talking with them sparked creativity and opened doors to solutions!</p>
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<title>Idea Lightbulb</title>
<path d="M 50 10 C 30 10, 25 30, 25 50 C 25 70, 35 80, 40 85 L 60 85 C 65 80, 75 70, 75 50 C 75 30, 70 10, 50 10 Z" fill="#e6f7f3" stroke="#b2e0d4" stroke-width="1.5"/>
<path d="M 45 65 C 40 70, 60 70, 55 65 L 50 80" stroke="#6c757d" stroke-width="1" fill="none"/>
<rect x="40" y="84" width="20" height="5" fill="#cccccc" stroke="#a9a9a9" stroke-width="0.5"/>
<rect x="42" y="89" width="16" height="3" fill="#cccccc" stroke="#a9a9a9" stroke-width="0.5"/>
<rect x="44" y="92" width="12" height="3" fill="#cccccc" stroke="#a9a9a9" stroke-width="0.5"/>
<path d="M 60 20 L 65 25" stroke="#ffd700" stroke-width="2.5" stroke-linecap="round"/>
<path d="M 70 35 L 75 40" stroke="#ffd700" stroke-width="2.5" stroke-linecap="round"/>
<path d="M 70 55 L 75 60" stroke="#ffd700" stroke-width="2.5" stroke-linecap="round"/>
</svg>
</div>
""")
return
@app.cell
def _(mo):
import marimo as mo
# Page 3 Content
mo.Html("""
<!-- Page 3 -->
<div id="page3" class="page">
<h2>Bonus: Team Mascots!</h2>
<p>...and we discovered our legal partners appreciate cute companions too!</p>
<div class="cat-gallery">
<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg">
<title>Teal Accented Sitting Cat</title>
<path d="M 10 45 C 5 30, 15 15, 25 15 C 35 15, 45 30, 40 45 Z" fill="#e0e0e0" stroke="#aaaaaa" stroke-width="0.5"/>
<circle cx="25" cy="18" r="10" fill="#e0e0e0" stroke="#aaaaaa" stroke-width="0.5"/>
<path d="M 18 12 L 15 8 L 22 10 Z" fill="#e0e0e0" stroke="#aaaaaa" stroke-width="0.5"/>
<path d="M 32 12 L 35 8 L 28 10 Z" fill="#e0e0e0" stroke="#aaaaaa" stroke-width="0.5"/>
<circle cx="22" cy="18" r="1.2" fill="#00A87E"/>
<circle cx="28" cy="18" r="1.2" fill="#00A87E"/>
<path d="M 24 21 L 26 21 L 25 22 Z" fill="#6c757d"/>
<path d="M 40 40 Q 50 35, 45 25" stroke="#aaaaaa" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg">
<title>Grey Lounging Cat</title>
<path d="M 5 40 C 15 30, 35 30, 45 40 C 40 45, 10 45, 5 40 Z" fill="#d3d3d3" stroke="#a9a9a9" stroke-width="0.5"/>
<circle cx="15" cy="30" r="8" fill="#d3d3d3" stroke="#a9a9a9" stroke-width="0.5"/>
<path d="M 10 25 L 7 22 L 13 24 Z" fill="#d3d3d3" stroke="#a9a9a9" stroke-width="0.5"/>
<path d="M 20 25 L 23 22 L 17 24 Z" fill="#d3d3d3" stroke="#a9a9a9" stroke-width="0.5"/>
<path d="M 12 30 Q 14 28, 16 30" stroke="#606060" stroke-width="0.5" fill="none"/>
<path d="M 18 30 Q 20 28, 22 30" stroke="#606060" stroke-width="0.5" fill="none"/>
<path d="M 45 40 Q 50 38, 48 30" stroke="#a9a9a9" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg">
<title>Black and White Cat Face</title>
<circle cx="25" cy="25" r="15" fill="#ffffff" stroke="#cccccc" stroke-width="0.5"/>
<path d="M 20 10 Q 25 20, 30 10 C 28 5, 22 5, 20 10 Z" fill="#444444"/>
<path d="M 32 20 a 5 5 0 1 1 -10 0 a 5 5 0 1 1 10 0" fill="#444444"/>
<path d="M 15 15 L 10 10 L 20 13 Z" fill="#444444"/>
<path d="M 35 15 L 40 10 L 30 13 Z" fill="#ffffff" stroke="#cccccc" stroke-width="0.5"/>
<circle cx="20" cy="25" r="1.5" fill="#333333"/>
<circle cx="30" cy="25" r="1.5" fill="#333333"/>
<path d="M 24 29 L 26 29 L 25 30 Z" fill="#aaaaaa"/>
<path d="M 25 30 Q 23 32, 21 31" stroke="#666666" stroke-width="0.5" fill="none" stroke-linecap="round"/>
<path d="M 25 30 Q 27 32, 29 31" stroke="#666666" stroke-width="0.5" fill="none" stroke-linecap="round"/>
<path d="M 18 27 L 10 26" stroke="#bbbbbb" stroke-width="0.3" fill="none"/>
<path d="M 18 29 L 10 30" stroke="#bbbbbb" stroke-width="0.3" fill="none"/>
<path d="M 18 31 L 10 34" stroke="#bbbbbb" stroke-width="0.3" fill="none"/>
<path d="M 32 27 L 40 26" stroke="#bbbbbb" stroke-width="0.3" fill="none"/>
<path d="M 32 29 L 40 30" stroke="#bbbbbb" stroke-width="0.3" fill="none"/>
<path d="M 32 31 L 40 34" stroke="#bbbbbb" stroke-width="0.3" fill="none"/>
</svg>
</div>
</div>
""")
return
@app.cell
def _(mo):
import marimo as mo
# Page 4: Conclusion
mo.Html("""
<!-- Page 4: Conclusion -->
<div id="page4" class="page">
<h2>Collaboration Wins!</h2>
<p>Working together transforms challenges into opportunities. Legal can be a great partner!</p>
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<title>Handshake</title>
<path d="M 10 50 Q 20 40, 35 45 L 45 50 Q 55 55, 50 65 L 30 75 Q 15 70, 10 60 Z" fill="#f5e0c4" stroke="#6c757d" stroke-width="1"/>
<path d="M 35 45 Q 45 35, 55 45" fill="#f5e0c4" stroke="#6c757d" stroke-width="1"/>
<path d="M 90 50 Q 80 40, 65 45 L 55 50 Q 45 55, 50 65 L 70 75 Q 85 70, 90 60 Z" fill="#d1bea8" stroke="#5a4d41" stroke-width="1"/>
<path d="M 65 45 Q 55 35, 45 45" fill="#d1bea8" stroke="#5a4d41" stroke-width="1"/>
<rect x="5" y="60" width="10" height="15" fill="#e0e0e0" rx="2"/>
<rect x="85" y="60" width="10" height="15" fill="#f0f0f0" rx="2"/>
</svg>
</div>
<!-- Navigation Buttons -->
<div class="navigation">
<button id="prevBtn" disabled>Previous</button>
<button id="nextBtn">Next</button>
</div>
</div>
<script>
document.addEventListener('DOMContentLoaded', function() {
const pages = document.querySelectorAll('.page');
const prevBtn = document.getElementById('prevBtn');
const nextBtn = document.getElementById('nextBtn');
let currentPage = 0;
function showPage(pageIndex) {
pages.forEach((page, index) => {
if (index === pageIndex) {
page.classList.add('active');
} else {
page.classList.remove('active');
}
});
prevBtn.disabled = pageIndex === 0;
nextBtn.disabled = pageIndex === pages.length - 1;
}
prevBtn.addEventListener('click', function() {
if (currentPage > 0) {
currentPage--;
showPage(currentPage);
}
});
nextBtn.addEventListener('click', function() {
if (currentPage < pages.length - 1) {
currentPage++;
showPage(currentPage);
}
});
// Initialize
showPage(currentPage);
});
</script>
</body>
</html>
""")
return
@app.cell
def _():
import marimo as mo
return mo
if __name__ == "__main__":
app.run() |