fix: add new favicon and clean up landing page

This commit is contained in:
Kris Koishigawa 2020-09-29 14:00:27 +09:00
parent 76b242f36a
commit 56a77698e5
2 changed files with 7 additions and 12 deletions

View File

@ -16,10 +16,6 @@ h3 {
margin-top: 30px; margin-top: 30px;
} }
footer {
margin-top: 40px;
}
.user-stories { .user-stories {
position: relative; position: relative;
text-align: justify; text-align: justify;

View File

@ -2,32 +2,31 @@
<html> <html>
<head> <head>
<title>URL Shortener</title> <title>URL Shortener Microservice</title>
<link <link
rel="shortcut icon" rel="icon"
href="https://cdn.hyperdev.com/us-east-1%3A52a203ff-088b-420f-81be-45bf559d01b1%2Ffavicon.ico" type="image/png"
type="image/x-icon" href="https://cdn.freecodecamp.org/universal/favicons/favicon-16x16.png"
/> />
<link href="/public/style.css" rel="stylesheet" type="text/css" /> <link href="/public/style.css" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body>
<h1>API Project: URL Shortener Microservice</h1> <h1>URL Shortener Microservice</h1>
<main> <main>
<section> <section>
<h2>Short URL Creation</h2>
<form action="api/shorturl/new" method="POST"> <form action="api/shorturl/new" method="POST">
<fieldset> <fieldset>
<legend>URL Shortener</legend> <legend>URL Shortener</legend>
<label for="url_input">URL:</label> <label for="url_input">URL:</label>
<input id="url_input" type="text" name="url" value="https://www.freecodecamp.org" /> <input id="url_input" type="text" name="url" placeholder="https://www.freecodecamp.org/" />
<input type="submit" value="POST URL" /> <input type="submit" value="POST URL" />
</fieldset> </fieldset>
</form> </form>
</section> </section>
</main> </main>
<footer> <footer>
<p>By <a href="https://www.freecodecamp.org">freeCodeCamp</a></p> <p>By <a href="https://www.freecodecamp.org/">freeCodeCamp</a></p>
</footer> </footer>
</body> </body>
</html> </html>