Skip to content

Commit

Permalink
Add referral link
Browse files Browse the repository at this point in the history
  • Loading branch information
rosslh committed Aug 3, 2022
1 parent 5161600 commit 15aba74
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 6 deletions.
27 changes: 26 additions & 1 deletion client/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ body {
position: relative;
height: 100%;
width: 100%;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

html {
Expand Down Expand Up @@ -52,11 +53,29 @@ div#inputsWrapper .inputSeparator {
opacity: 0.3;
}

div#ref {
bottom: 0;
left: 0;
font-size: 12px;
display: inline-block;
border-top-right-radius: 2px;
}

div#ref a {
color: #3bd671;
font-weight: bold;
text-decoration: none;
}

div#ref a:hover {
text-decoration: underline;
}

div#attribution {
bottom: 0;
right: 0;
font-size: 12px;
display: flex;
display: inline-block;
border-top-left-radius: 2px;
}

Expand Down Expand Up @@ -89,3 +108,9 @@ button {
cursor: pointer;
opacity: 0.9;
}

@media (max-width: 700px) {
div#ref {
display: none;
}
}
18 changes: 13 additions & 5 deletions client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,20 @@
Save Image
</button>
</div>
<div id="ref" class="overlay">
<a
href="https://uptimerobot.com/website-monitoring/?rid=48af749155d00d"
target="_blank"
rel="noopener"
>
UptimeRobot
</a>
helps keep this site online
</div>
<div id="attribution" class="overlay">
<span>
By <a href="https://rosshill.ca" target="_blank" rel="noopener noreferrer">Ross Hill</a>
and <a href="https://github.com/rosslh/rust-mandelbrot-set/graphs/contributors" target="_blank" rel="noopener noreferrer">contributors</a>.
<a href="https://github.com/rosslh/rust-mandelbrot-set" target="_blank" rel="noopener noreferrer">Source code on GitHub</a>.
</span>
By <a href="https://rosshill.ca" target="_blank" rel="noopener noreferrer">Ross Hill</a>
and <a href="https://github.com/rosslh/rust-mandelbrot-set/graphs/contributors" target="_blank" rel="noopener noreferrer">contributors</a>.
<a href="https://github.com/rosslh/rust-mandelbrot-set" target="_blank" rel="noopener noreferrer">Source code on GitHub</a>.
</div>
<div id="leaflet-map"></div>
</body>
Expand Down

0 comments on commit 15aba74

Please sign in to comment.