Skip to content

Commit 1236575

Browse files
April Newsletter
Fixes #1703
1 parent 71a67a4 commit 1236575

File tree

5 files changed

+252
-67
lines changed

5 files changed

+252
-67
lines changed

_data/org-members.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ standard:
6868
founding_member: true
6969
tier: "Standard"
7070
contact: "Michelle Barker <[email protected]>"
71-
- name: "Omnibond"
71+
- name: "Omnibond (Project EUREKA!)"
7272
url: https://omnibond.com/
7373
figure: logo-omnibond.png
7474
acronym:
@@ -92,3 +92,10 @@ premier:
9292
date_joined: 2024-12-19
9393
founding_member: true
9494
tier: "Premier"
95+
- name: "Princeton University"
96+
url: https://princeton.edu
97+
figure: logo-princeton.png
98+
acronym: PU
99+
date_joined: 2024-04-01 # I DONT KNOW WHAT DATE TO PUT HERE
100+
founding_member: true
101+
tier: "Premier"

_layouts/default.html

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,27 @@
2727
</div>
2828
</div>
2929
</section>
30-
{% unless page.hide_footer %}{% include footer.html %}{% endunless %}
31-
{% include footer-scripts.html %}
32-
{% if page.set_last_modified %}{% include last-modified.html %}{% endif %}
30+
31+
<a href="#top" id="back-to-top" title="Back to Top" align="center">⬆️ Back to top ⬆️</a>
32+
33+
<script>
34+
console.log('Scroll event listener registered');
35+
window.addEventListener("scroll", function() {
36+
console.log('scrolling...', window.scrollY);
37+
var backToTopButton = document.getElementById("back-to-top");
38+
if (window.scrollY > 300) {
39+
console.log('Show button');
40+
backToTopButton.style.display = "block";
41+
} else {
42+
console.log('Hide button');
43+
backToTopButton.style.display = "none";
44+
}
45+
});
46+
</script>
47+
48+
{% unless page.hide_footer %}{% include footer.html %}{% endunless %}
49+
{% include footer-scripts.html %}
50+
{% if page.set_last_modified %}{% include last-modified.html %}{% endif %}
51+
3352
</body>
34-
</html>
53+
</html>

0 commit comments

Comments
 (0)