summaryrefslogtreecommitdiff
path: root/snippets
diff options
context:
space:
mode:
Diffstat (limited to 'snippets')
-rw-r--r--snippets/contact.html10
-rw-r--r--snippets/pictures.html22
-rw-r--r--snippets/slideshow.js2
3 files changed, 22 insertions, 12 deletions
diff --git a/snippets/contact.html b/snippets/contact.html
index a454e64..4582664 100644
--- a/snippets/contact.html
+++ b/snippets/contact.html
@@ -1,9 +1,15 @@
<h1>email</h1>
<a href='mailto:info@pdp8.info'>info@pdp8.info</a>
+<h1>fediverse</h1>
+<a href='https://social.pdp8.info/pdp8'>@pdp8@social.pdp8.info</a>
+<!--
<h1>matrix</h1>
<a href='https://matrix.to/#/@pdp8:matrix.pdp8.info'>@pdp8:matrix.pdp8.info</a>
+-->
<h1>newsletter</h1>
<h2>subscribe</h2>
-send a mail to <a href='mailto:info@pdp8.info?subject=Subscribe'>info@pdp8.info</a> with <b>subscribe</b> in the subject (your address will be used only for the newsletter and won't be shared with anyone)
+send a mail to <a href='mailto:info@pdp8.info?subject=Subscribe'>info@pdp8.info</a> with <b>subscribe</b> in the subject
+(your address will be used only for the newsletter and won't be shared with anyone)
<h2>unsubscribe</h2>
-send a mail to <a href='mailto:info@pdp8.info?subject=Subscribe'>info@pdp8.info</a> with <b>unsubscribe</b> in the subject
+send a mail to <a href='mailto:info@pdp8.info?subject=Subscribe'>info@pdp8.info</a> with <b>unsubscribe</b> in the
+subject \ No newline at end of file
diff --git a/snippets/pictures.html b/snippets/pictures.html
index 359de8d..25bf1c2 100644
--- a/snippets/pictures.html
+++ b/snippets/pictures.html
@@ -1,18 +1,22 @@
-<script src="/distances.js"></script>
+<script src="https://media.pdp8.info/pictures/distances.js"></script>
<script src="/slideshow.js"></script>
-<img id="image" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNgYAAAAAMAASsJTYQAAAAASUVORK5CYII=" alt/>
+<img id="image"
+ src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNgYAAAAAMAASsJTYQAAAAASUVORK5CYII="
+ alt />
<div id="controller">
- <a class="btn" onclick="toggle_play()"><i id="play-indicator" title="Pause slideshow" class="fa fa-pause" aria-hidden="true"></i></a>
- <a class="btn" onclick="new_selection()"><i id="shuffle-indicator" title="Next slideshow" class="fa fa-random" aria-hidden="true"></i></a>
- <p>&copy; pdp8 <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>
+ <a class="btn" onclick="toggle_play()"><i id="play-indicator" title="Pause slideshow" class="fa fa-pause"
+ aria-hidden="true"></i></a>
+ <a class="btn" onclick="new_selection()"><i id="shuffle-indicator" title="Next slideshow" class="fa fa-random"
+ aria-hidden="true"></i></a>
+ <p>&copy; pdp8 <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0
+ International License</a>
</div>
<a id="prev" onclick="prev()">&lsaquo;</a>
<a id="next" onclick="next()">&rsaquo;</a>
-<script>
- (function() { new_selection(); play() })();
-</script>
-
+<script>
+ (function () {new_selection(); play()})();
+</script> \ No newline at end of file
diff --git a/snippets/slideshow.js b/snippets/slideshow.js
index 23d7c3e..ea265e4 100644
--- a/snippets/slideshow.js
+++ b/snippets/slideshow.js
@@ -75,6 +75,6 @@ function next() {
}
function update() {
- src('image',"/pictures/"+selection[current])
+ src('image',"https://media.pdp8.info/pictures/"+selection[current])
}