Compare commits

..

2 Commits

Author SHA1 Message Date
b15b473033 clean: remove useless label 2025-12-28 17:53:58 +01:00
e9969841b1 feat: add brand-mark class to place "urupam" 2025-12-28 17:53:41 +01:00
2 changed files with 12 additions and 3 deletions

View File

@@ -27,6 +27,16 @@ h1 {
color: #444; color: #444;
} }
.brand-mark {
position: fixed;
left: 1rem;
top: 1rem;
font-size: 0.85rem;
letter-spacing: 0.2em;
text-transform: uppercase;
color: #777;
}
.page-center h1 { .page-center h1 {
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
} }

View File

@@ -1,15 +1,14 @@
% layout 'default'; % layout 'default';
% stash title => 'Urupam - URL Shortener'; % stash title => 'Urupam - URL Shortener';
<main class="page"> <main class="page">
<h1>Urupam</h1>
<form id="shorten-form"> <form id="shorten-form">
<div class="form-group"> <div class="form-group">
<label for="url">Enter URL to shorten:</label> <input type="url" id="url" name="url" placeholder="https://example.com" required aria-label="URL to shorten">
<input type="url" id="url" name="url" placeholder="https://example.com" required>
</div> </div>
<button type="submit" id="submit-btn">Shorten URL</button> <button type="submit" id="submit-btn">Shorten URL</button>
</form> </form>
<div id="result" class="result"></div> <div id="result" class="result"></div>
<div class="brand-mark">urupam</div>
<script> <script>
const form = document.getElementById('shorten-form'); const form = document.getElementById('shorten-form');
const urlInput = document.getElementById('url'); const urlInput = document.getElementById('url');