diff --git a/dev/docker/images/production/html/index.html b/dev/docker/images/production/html/index.html index d5698c0..d11e566 100644 --- a/dev/docker/images/production/html/index.html +++ b/dev/docker/images/production/html/index.html @@ -14,10 +14,16 @@

You are ready to

The Golang logo -

Now upload some files to Route with a HTTP push request.

+
+

Now upload some files to

+
Site
+

with a HTTP push request.

+

Click on the link to copy.

+
A Golang gopher with a pride shirt
+ \ No newline at end of file diff --git a/dev/docker/images/production/html/setURL.js b/dev/docker/images/production/html/setURL.js new file mode 100644 index 0000000..ab941d3 --- /dev/null +++ b/dev/docker/images/production/html/setURL.js @@ -0,0 +1,6 @@ +let url = document.getElementById('siteURL') +let postURL = `${location.protocol}//${location.host}/api/update` +url.innerText = postURL +url.addEventListener('click', function() { + navigator.clipboard.writeText(postURL) +}) \ No newline at end of file diff --git a/dev/docker/images/production/html/style.css b/dev/docker/images/production/html/style.css index 17e6193..ae97e66 100644 --- a/dev/docker/images/production/html/style.css +++ b/dev/docker/images/production/html/style.css @@ -51,6 +51,25 @@ body { width: 6rem; } +.subtext { + display: flex; + flex-direction: column; + align-items: center; + cursor: pointer; +} + +#siteURL:hover { + text-decoration: underline; +} + +#siteURL { + background-color: #222222; + padding: .5rem; + margin: .5rem; + border-radius: 5px; + color: #a1a1a1; +} + #gopherImg { max-height: 60%; }