more layout updates

pull/6/head
Adam Townsend 2023-09-22 18:26:38 -07:00
parent c0c82e5395
commit 8cabe5c7b6
3 changed files with 6 additions and 7 deletions

View File

@ -1,2 +1,2 @@
<a href="/">Home</a>
<h2><a href="<%= @new_link %>" target="_blank"><%= @new_link %></a></h2>
<h2><a href="/" style="color: #555555;">Home</a></h2>
<h2><a href="<%= @new_link %>" target="_blank" style="color: #555555;"><%= @new_link %></a></h2>

View File

@ -1,5 +1,4 @@
<form method="POST" action="/create">
<label for "url">URL: </label>
<input type="text" name="url" />
<input type="submit" value="Submit" />
<input type="text" name="url" placeholder="http://www.example.com/" style="padding: 0.5rem;" />
<input type="submit" value="Submit" style="padding: 0.5rem;" />
</form>

View File

@ -3,8 +3,8 @@
<title><%= @page_title || "URL Shortener" %></title>
<link rel="icon" href="data:,">
</head>
<body style="background: #FEFEFE; font-family: Helvetica, sans-serif;">
<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;">
<body style="background: #FEFEFE; font-family: Helvetica, sans-serif; color: #555555;">
<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>
<%== yield %>
</main>