Skip to content

Commit

Permalink
colour theme issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Monica-Gullapalli committed Aug 8, 2024
1 parent d27008c commit b8a56b5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 23 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ enable_bing_verification: false # enables bing site verification
enable_masonry: true # enables automatic project cards arrangement
enable_math: true # enables math typesetting (uses MathJax)
enable_tooltips: false # enables automatic tooltip links generated for each section titles on pages and posts
enable_darkmode: true # enables switching between light/dark modes
enable_darkmode: false # enables switching between light/dark modes
enable_navbar_social: false # enables displaying social links in the navbar on the about page
enable_project_categories: true # enables categorization of projects into multiple categories
enable_medium_zoom: true # enables image zoom feature (as on medium.com)
Expand Down
22 changes: 0 additions & 22 deletions _includes/header.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,6 @@
<i class="fab fa-github"></i>
</a>
</li>
<!-- Dark Mode Toggle Button -->
<li class="nav-item">
<div class="dark-mode-toggle">
<label class="switch">
<input type="checkbox" id="darkModeToggle">
<span class="slider round"></span>
</label>
</div>
</li>
</ul>
</div>
</div>
Expand All @@ -78,16 +69,3 @@
{% endif %}
</header>

<!-- Script for Dark Mode Toggle -->
<script>
const darkModeToggle = document.getElementById('darkModeToggle');
const body = document.body;
darkModeToggle.addEventListener('change', () => {
if (darkModeToggle.checked) {
body.classList.add('dark-mode');
} else {
body.classList.remove('dark-mode');
}
});
</script>
1 change: 1 addition & 0 deletions _pages/people.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ nav_order: 7
{% endfor %}


<!-- Alumni Section -->
<h2>Alumni</h2>
{% for alumni in site.data.alumni %}
<div class="row mb-4">
Expand Down

0 comments on commit b8a56b5

Please sign in to comment.