mirror of
https://api.glitch.com/git/presence-button
synced 2024-11-16 16:07:30 +00:00
4b2c641e83
./public/style.css:8/80 ./views/index.html:8/2108
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>
|
|
<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">
|
|
<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 type="text" maxlength="100" placeholder="Dreams!">
|
|
<button type="submit">Submit</button>
|
|
</form>
|
|
<section class="dreams">
|
|
<ul id="dreams">
|
|
</ul>
|
|
</section>
|
|
</main>
|
|
|
|
<footer>
|
|
<a href="https://glitch.com">
|
|
Remix this in Glitch
|
|
</a>
|
|
</footer>
|
|
|
|
<!-- Your web-app is https, so your scripts need to be too -->
|
|
<script src="https://code.jquery.com/jquery-2.2.1.min.js"
|
|
integrity="sha256-gvQgAFzTH6trSrAWoH1iPo9Xc96QxSZ3feW6kem+O00="
|
|
crossorigin="anonymous"></script>
|
|
<script src="/client.js"></script>
|
|
|
|
|
|
<!-- Include the Glitch button and default styling: -->
|
|
<div class="glitchButton" style="position:fixed;top:20px;right:20px;"></div>
|
|
<script src="https://button.glitch.me/button.js" data-style="glitch"></script>
|
|
|
|
</body>
|
|
</html>
|