layout | title | nav_order | nav_exclude | permalink | seo | ||||
---|---|---|---|---|---|---|---|---|---|
home |
Home |
1 |
false |
index.html |
|
{: .mb-2 } UC Berkeley, Spring 2023 {: .mb-2 .fs-6 .text-grey-dk-000 }
Lecture Zoom Link{: .btn .btn-blue}
{% assign announcements = site.announcements | reverse %} {% for announcement in announcements %} {{ announcement }} {% endfor %}
{% assign mods = site.modules | where: 'class', 'Berkeley' %} {% for module in mods %} {{ module }} {% endfor %}
Toggle Dark Mode
The Data 8 Website Dark Mode™ is in beta. You can provide feedback about the website here
<script src="assets/darkmode.js"></script> <script> const toggleDarkMode = document.querySelector('.js-toggle-dark-mode'); jtd.addEvent(toggleDarkMode, 'click', function(){ if (jtd.getTheme() === 'custom_dark') { jtd.setTheme('light'); localStorage.setItem("darkMode", 0); toggleDarkMode.innerHTML = "Toggle Dark Mode"; toggleDarkMode.classList.add('dm-btn'); toggleDarkMode.classList.remove('dm-dark-btn'); } else { jtd.setTheme('custom_dark'); localStorage.setItem("darkMode", 1); toggleDarkMode.innerHTML = "Return to the Light"; toggleDarkMode.classList.add('dm-dark-btn'); toggleDarkMode.classList.remove('dm-btn'); } }); window.addEventListener("DOMContentLoaded", (event) => { onLoad(); }); </script>