Skip to content

Commit

Permalink
Merge pull request #14 from shaikshahid98/main
Browse files Browse the repository at this point in the history
Fixed 3 issues
  • Loading branch information
LakinduK authored Oct 19, 2022
2 parents 67a7c0e + 35c0525 commit 5828d81
Show file tree
Hide file tree
Showing 14 changed files with 13 additions and 201 deletions.
7 changes: 5 additions & 2 deletions contributors/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ body {
}
.bg-img,#bg-img {
/* The image used */
background-image: url("src/H22/H22-Banners-Dark.png");
background-image: url("src/H22/H22-Banners-Dark (1).png");

/* Full height */
height: 100vh;
Expand Down Expand Up @@ -142,4 +142,7 @@ h3 {
text-decoration: none;
}


.inner-footer{
color: #eee;
background-color: transparent;
}
7 changes: 4 additions & 3 deletions contributors/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,15 @@ <h3 style="font-family: 'Poppins', sans-serif">
<a class="footer__link" href="#">Contact Us</a>
</li>
</ul>
<section class="bg-dark p-3">
<div class="container text-center text-light">
<p>
<section class=" p-3" >
<div class=" container text-center text-light" >
<p class="inner-footer">
made with <spam id="heart"></spam> by <a href="https://lakinduk.me">LakinduK</a> |
2022
</p>
</div>
</section>
</footer>
<!-- scripts -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
Expand Down
Binary file removed contributors/src/H-icon-dark.png
Binary file not shown.
Binary file removed contributors/src/H-icon-light.png
Binary file not shown.
Binary file added contributors/src/H22/H22-Banners-Dark (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed contributors/src/H22/H22-Banners-Dark.png
Binary file not shown.
Binary file added contributors/src/H22/H22-Banners-Light (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed contributors/src/H22/H22-Banners-Light.png
Binary file not shown.
Binary file not shown.
Binary file removed contributors/src/banner08BLlogo.png
Binary file not shown.
6 changes: 4 additions & 2 deletions contributors/src/dark-mode-switch.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ const darkSwitch = document.getElementById("darkSwitch");
const text = document.querySelector('.text-dark');




function initTheme() {
const e =
null != localStorage.getItem("darkSwitch") &&
Expand All @@ -23,14 +25,14 @@ function resetTheme() {
localStorage.setItem("darkSwitch", "dark"))
text.innerHTML = "Light Theme 🌤️";
document.getElementById("H22-image").src = "src/H22/H22-logo-dark.png";
document.getElementById("bg-img").style.backgroundImage = "url('src/H22/H22-Banners-Light.png')";
document.getElementById("bg-img").style.backgroundImage = "url('src/H22/H22-Banners-Light (1).png')";
}
else {
(document.body.removeAttribute("data-theme"),
localStorage.removeItem("darkSwitch"));
text.innerHTML = 'Dark Theme 🌚';
document.getElementById("H22-image").src = "src/H22/H22-logo-light.png";
document.getElementById("bg-img").style.backgroundImage = "url('src/H22/H22-Banners-Dark.png')";
document.getElementById("bg-img").style.backgroundImage = "url('src/H22/H22-Banners-Dark (1).png')";

}

Expand Down
193 changes: 0 additions & 193 deletions contributors/src/flower-frame.svg

This file was deleted.

Binary file removed contributors/src/footer-simple-dark.png
Binary file not shown.
1 change: 0 additions & 1 deletion contributors/src/github-brands.svg

This file was deleted.

0 comments on commit 5828d81

Please sign in to comment.