mirror of
https://api.glitch.com/git/presence-button
synced 2024-11-05 11:27:30 +00:00
406fcf36d0
./views/index.html:96831/368 ./public/style.css:96831/36 ./server.js:96831/437
60 lines
1.8 KiB
HTML
60 lines
1.8 KiB
HTML
<!-- This is a static file -->
|
|
<!-- served from your routes in server.js -->
|
|
|
|
<!-- You might want to try something fancier: -->
|
|
<!-- html/nunjucks docs: https://mozilla.github.io/nunjucks/ -->
|
|
<!-- pug: https://pugjs.org/ -->
|
|
<!-- haml: http://haml.info/ -->
|
|
<!-- hbs(handlebars): http://handlebarsjs.com/ -->
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>Welcome to Glitch!</title>
|
|
<meta name="description" content="A cool thing made with Glitch">
|
|
<link id="favicon" rel="icon" href="https://glitch.com/edit/favicon-app.ico" type="image/x-icon">
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<!-- import the webpage's stylesheet -->
|
|
<link rel="stylesheet" href="/style.css">
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<h1>
|
|
A Dream of the Future
|
|
</h1>
|
|
</header>
|
|
|
|
<main>
|
|
<p class="bold">Oh hi,</p>
|
|
|
|
<p>Tell me your hopes and dreams:</p>
|
|
|
|
<form>
|
|
<input name="dream" type="text" maxlength="100" placeholder="Dreams!" aria-labelledby="submit-dream">
|
|
<button type="submit" id="submit-dream">Submit Dream</button>
|
|
</form>
|
|
|
|
<section class="dreams">
|
|
<ul id="dreams"></ul>
|
|
</section>
|
|
</main>
|
|
|
|
<footer>
|
|
Made with <a href="https://glitch.com">Glitch</a>!
|
|
</footer>
|
|
|
|
|
|
<!-- import the webpage's client-side javascript file -->
|
|
<script src="/client.js"></script>
|
|
|
|
<!-- include the Glitch button to show what the webpage is about and
|
|
to make it easier for folks to view source and remix -->
|
|
<div class="glitchButton" style="position:fixed;top:20px;right:20px;"></div>
|
|
<script src="https://button.glitch.me/button.js"></script>
|
|
|
|
</body>
|
|
</html>
|