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;
}
.brand-mark {
position: fixed;
left: 1rem;
top: 1rem;
font-size: 0.85rem;
letter-spacing: 0.2em;
text-transform: uppercase;
color: #777;
}
.page-center h1 {
margin-bottom: 0.5rem;
}

View File

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