From 56462f0d1b0e0abb6c43fd0609d76b126d8afd06 Mon Sep 17 00:00:00 2001 From: Jan-Erik Rediger Date: Sat, 25 May 2024 18:19:49 +0200 Subject: [PATCH] bit more styling --- frontend/app.js | 6 ++-- frontend/index.html | 79 ++++++++++----------------------------------- 2 files changed, 20 insertions(+), 65 deletions(-) diff --git a/frontend/app.js b/frontend/app.js index c98b905..2f78f69 100644 --- a/frontend/app.js +++ b/frontend/app.js @@ -56,12 +56,12 @@ shareLink.onclick = (e) => { if (navigator.clipboard) { let text = location.href; navigator.clipboard.writeText(text).then(function() { - document.querySelector("codapi-status").innerText = "Link copied!" + document.querySelector("codapi-status").innerText = "✓ Link copied!" }, function(err) { - document.querySelector("codapi-status").innerText = "Link changed. Copy the URL now." + document.querySelector("codapi-status").innerText = "✓ Link changed. Copy the URL now." }); } else { - document.querySelector("codapi-status").innerText = "Link changed. Copy the URL now." + document.querySelector("codapi-status").innerText = "✓ Link changed. Copy the URL now." } }; diff --git a/frontend/index.html b/frontend/index.html index da58e2d..e18094b 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -2,81 +2,36 @@ - code - + Hare Playground - + + +

Hare Playground

+ + + Hare Lang + | + Standard Library Reference + +
+ +