fireup / example-static read public
fireme example: a static site with no server code
A retro static site
Browse files| @@ -0,0 +1,3 @@ | |
| + | # static |
| + | |
| + | A static site: everything to serve is in `public/`. There is no server code; serve the directory with any static file server. |
| @@ -0,0 +1,16 @@ | |
| + | <!doctype html> |
| + | <html lang="en"> |
| + | <head> |
| + | <meta charset="utf-8"> |
| + | <meta name="viewport" content="width=device-width, initial-scale=1"> |
| + | <title>Hello from a Firecracker VM</title> |
| + | <link rel="stylesheet" href="style.css"> |
| + | </head> |
| + | <body> |
| + | <main class="terminal"> |
| + | <h1>> hello from a Firecracker VM</h1> |
| + | <p>served by whatever fireme chose, on heyo</p> |
| + | <p class="blink">_</p> |
| + | </main> |
| + | </body> |
| + | </html> |
| @@ -0,0 +1,5 @@ | |
| + | body { background: #0a0a0a; color: #33ff33; font-family: "Courier New", monospace; display: flex; min-height: 100vh; align-items: center; justify-content: center; margin: 0; } |
| + | .terminal { border: 2px solid #33ff33; padding: 2rem; box-shadow: 0 0 20px rgba(51, 255, 51, .3); } |
| + | h1 { font-size: 1.5rem; letter-spacing: 2px; text-transform: uppercase; } |
| + | .blink { animation: blink 1s step-start infinite; } |
| + | @keyframes blink { 50% { opacity: 0; } } |