more layout updates
parent
c0c82e5395
commit
8cabe5c7b6
|
|
@ -1,2 +1,2 @@
|
||||||
<a href="/">Home</a>
|
<h2><a href="/" style="color: #555555;">Home</a></h2>
|
||||||
<h2><a href="<%= @new_link %>" target="_blank"><%= @new_link %></a></h2>
|
<h2><a href="<%= @new_link %>" target="_blank" style="color: #555555;"><%= @new_link %></a></h2>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<form method="POST" action="/create">
|
<form method="POST" action="/create">
|
||||||
<label for "url">URL: </label>
|
<input type="text" name="url" placeholder="http://www.example.com/" style="padding: 0.5rem;" />
|
||||||
<input type="text" name="url" />
|
<input type="submit" value="Submit" style="padding: 0.5rem;" />
|
||||||
<input type="submit" value="Submit" />
|
|
||||||
</form>
|
</form>
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@
|
||||||
<title><%= @page_title || "URL Shortener" %></title>
|
<title><%= @page_title || "URL Shortener" %></title>
|
||||||
<link rel="icon" href="data:,">
|
<link rel="icon" href="data:,">
|
||||||
</head>
|
</head>
|
||||||
<body style="background: #FEFEFE; font-family: Helvetica, sans-serif;">
|
<body style="background: #FEFEFE; font-family: Helvetica, sans-serif; color: #555555;">
|
||||||
<main style="max-width: 30rem; min-width: 18rem; border: 2px solid #111111; border-radius: 20px; margin: auto; padding: 1rem; margin-top: 5rem; text-align: center;">
|
<main style="max-width: 30rem; min-width: 18rem; border: 5px solid #999999; border-radius: 20px; margin: auto; padding: 1rem; margin-top: 5rem; text-align: center;">
|
||||||
<h1>URL Shortener</h1>
|
<h1>URL Shortener</h1>
|
||||||
<%== yield %>
|
<%== yield %>
|
||||||
</main>
|
</main>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue