initial done
This commit is contained in:
@@ -1,37 +1,64 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>shrt</title>
|
||||
<title>ve.it</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="public/style.css">
|
||||
<style>
|
||||
* {
|
||||
font-family: Sans-Serif;
|
||||
}
|
||||
#shorten-form {
|
||||
margin: auto;
|
||||
width: 500px;
|
||||
margin-top: 20vh;
|
||||
}
|
||||
input {
|
||||
border: none;
|
||||
border-bottom: 3px solid #000;
|
||||
border-left: 3px solid #000;
|
||||
padding: 5px;
|
||||
padding-bottom: 1px;
|
||||
margin: 10px;
|
||||
width: 250px;
|
||||
font-size: 16px;
|
||||
}
|
||||
#submit {
|
||||
border: none;
|
||||
padding: 5px;
|
||||
font-size: 16px;
|
||||
width: 100px;
|
||||
background: #333;
|
||||
color: #fff;
|
||||
}
|
||||
#shortened {
|
||||
width: 480px;
|
||||
margin: auto;
|
||||
font-size: 20px;
|
||||
}
|
||||
a {
|
||||
color: #000;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<main>
|
||||
<div class="container">
|
||||
<form id="shorten-form" method="POST">
|
||||
<input id="url" type="text" placeholder="URL" name="url">
|
||||
<input id="submit" type="submit" value="Shorten!">
|
||||
</form>
|
||||
<div class="row">
|
||||
<div class="column">
|
||||
<section id="shortened">
|
||||
<p>
|
||||
<em>Your shortened link: </em>
|
||||
<a id="link" href="#" target="_blank">Loading...</a>
|
||||
</p>
|
||||
<p>
|
||||
Right-click or Tap & Hold the link and copy the address to clipboard and start using it.
|
||||
</p>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
<form id="shorten-form" method="POST">
|
||||
<input id="url" type="text" placeholder="URL" name="url">
|
||||
<input id="submit" type="submit" value="Shorten!">
|
||||
</form>
|
||||
<div class="row">
|
||||
<div class="column">
|
||||
<section id="shortened">
|
||||
<p>
|
||||
<span>Shortened Link:</span>
|
||||
<a id="link" href="#" target="_blank"></a>
|
||||
</p>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/bluebird/latest/bluebird.min.js"></script>
|
||||
<script src="https://npmcdn.com/axios/dist/axios.min.js"></script>
|
||||
<script src="public/scripts.js"></script>
|
||||
<script src="public/script.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user