Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
ramoestudio authored Sep 9, 2024
1 parent e952951 commit 350f8ea
Showing 1 changed file with 32 additions and 9 deletions.
41 changes: 32 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<!DOCTYPE html>
<html lang="en" data-bs-theme="light"><head>
<html lang="en" data-bs-theme="auto"><head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> ramoe.studio </title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="./css/style.css">
<link href="https://fonts.cdnfonts.com/css/satoshi" rel="stylesheet">
<link rel="icon" href="./images/[SVG] RAMOE_LOGO.svg" type="image/svg+xml">
<script src="./src/bootstrap-auto-dark-mode.js"></script>

<style>
@keyframes slideDown {
Expand Down Expand Up @@ -60,29 +61,29 @@ <h4 class="offcanvas-title" id="offcanvasScrollingLabel" style="letter-spacing:
</div>
<div class="offcanvas-body">
<a href="./about.html" class="text-decoration-none" id="about-link">
<p class="mb-4 text-black">About</p>
<p class="mb-4" style="color: var(--bs-body-color);">About</p>
</a>
<p class="text-black mb-4" data-bs-toggle="collapse" role="button" href="#collapse16animali" aria-expanded="false" aria-controls="collapse16animali" >Works</p>
</a>

<div class="collapse" id="collapse16animali">
<a href="#16 animali" class="text-decoration-none text-dark" id="works-link">16 animali</a>
<a href="#16 animali" class="text-decoration-none" id="works-link" style="color: var(--bs-body-color);">16 animali</a>
</div>

<div class="collapse mt-3" id="collapse16animali">
<a href="#nwjns" class="text-decoration-none text-dark" id="works-link2">nwjns</a>
<a href="#nwjns" class="text-decoration-none" id="works-link2" style="color: var(--bs-body-color);">nwjns</a>
</div>

<div class="collapse mt-3" id="collapse16animali">
<a href="#clairo" class="text-decoration-none text-dark" id="works-link3">clairo</a>
<a href="#clairo" class="text-decoration-none" id="works-link3" style="color: var(--bs-body-color);">clairo</a>
</div>

<div class="collapse mt-3" id="collapse16animali">
<a href="#sb" class="text-decoration-none text-dark" id="works-link4">sabu baru</a>
<a href="#sb" class="text-decoration-none" id="works-link4" style="color: var(--bs-body-color);">sabu baru</a>
</div>

<a href="./contact.html" class="text-decoration-none" id="about-link">
<p class="mb-4 text-black">Contact Us</p>
<p class="mb-4" style="color: var(--bs-body-color);">Contact Us</p>
</a>

<footer class="footer">
Expand All @@ -93,7 +94,7 @@ <h4 class="offcanvas-title" id="offcanvasScrollingLabel" style="letter-spacing:
</div>

<div class="ml-auto align-self-center">
<img src="./images/[SVG] RAMOE_TEXT TRANSPARENT (1).svg" alt="ramoe" height="20">
<img src="./images/SVG(putih).svg" alt="ramoe" id="theme-image" height="20">
</div>

</header>
Expand Down Expand Up @@ -174,7 +175,7 @@ <h3 class="fade-text mb-4 fixed-size" style="letter-spacing: 5px"></h3>
<path d="M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.9 3.9 0 0 0-1.417.923A3.9 3.9 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.9 3.9 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.9 3.9 0 0 0-.923-1.417A3.9 3.9 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599s.453.546.598.92c.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.5 2.5 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.5 2.5 0 0 1-.92-.598 2.5 2.5 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233s.008-2.388.046-3.231c.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92s.546-.453.92-.598c.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92m-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217m0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334"></path>
</svg>
</li>
<span class="ms-1 text-black fs-5 ">instagram</span>
<span class="ms-1 fs-5" style="color: var(--bs-body-color);">instagram</span>
</div>
</a>
<p class="p-4 about container px-1 mb-0 align-self-center text-end position-relative">© 2024 RAMOE STUDIO</p>
Expand Down Expand Up @@ -396,5 +397,27 @@ <h3 class="fade-text mb-4 fixed-size" style="letter-spacing: 5px"></h3>
});
</script>

<script>
document.addEventListener('DOMContentLoaded', function () {
const themeImage = document.getElementById('theme-image');

const updateImage = () => {
const currentTheme = document.documentElement.getAttribute('data-bs-theme');
if (currentTheme === 'dark') {
themeImage.src = './images/SVG(putih).svg';
} else {
themeImage.src = './images/[SVG] RAMOE_TEXT TRANSPARENT (1).svg';
}
};


updateImage();


const observer = new MutationObserver(updateImage);
observer.observe(document.documentElement, { attributes: true, attributeFilter: ['data-bs-theme'] });
});
</script>

</body>
</html>

0 comments on commit 350f8ea

Please sign in to comment.