start o stuff
This commit is contained in:
parent
08f8693e8d
commit
28db0fa9c3
5 changed files with 96 additions and 0 deletions
32
frontend/index.html
Normal file
32
frontend/index.html
Normal file
|
@ -0,0 +1,32 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>gobin</title>
|
||||
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container mt-5">
|
||||
<h1 class="text-center">gobin</h1>
|
||||
<p class="text-center">A minimal and speedy markdown pastebin software, written in Go.</p>
|
||||
<p class="text-center glowy"><a href="about.html">about</a></p>
|
||||
|
||||
<div id="posts" class="my-5"></div>
|
||||
|
||||
<h2>add a new post</h2>
|
||||
<form id="postform">
|
||||
<div class="mb-3">
|
||||
<label for="title" class="form-label">post title</label>
|
||||
<input type="text" class="form-control" id="title" placeholder="sunshine, lollypops, and rainbows everything" required>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="content" class="form-label">post content</label>
|
||||
<textarea class="form-control" id="content" rows="5" placeholder="my cat fluffy just had his best day ever. we took him to get a pup cup.." required></textarea>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary">submit post</button>
|
||||
</form>
|
||||
</div>
|
||||
<script src="node_modules/bootstrap/dist/js/bootstrap.bundle.js"></script>
|
||||
<script src="js/main.js"></script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue