." required>
            <input type="submit" value="Shorten">
        </form>

        {#if result}
        <div id="result">
            <p><strong>Original:</strong> {result.originalUrl}</p>
            <p><strong>Short:</strong>
                <a href="{result.shortUrl}" target="_blank">{result.shortUrl}</a>
            </p>
            <img src="{result.qrCodeUrl}" alt="QR code">
        </div>
        {/if}
    </main>
    <footer>
        <p>
            Made with
            <a href="https://quarku