mirror of
https://git.kh3group.com/georgebiri/kh3_website.git
synced 2026-10-16 20:41:47 +00:00
Compare commits
2 commits
1d80addd7a
...
9111542693
| Author | SHA1 | Date | |
|---|---|---|---|
| 9111542693 | |||
| a2fe128ff7 |
10 changed files with 106 additions and 79 deletions
59
about.html
59
about.html
|
|
@ -356,7 +356,7 @@
|
|||
<div class="fixed top-6 left-8 z-40">
|
||||
<div class="flex items-center gap-3">
|
||||
<img
|
||||
src="assets/images/kh3_logo_dark.png"
|
||||
src="assets/images/kh3_logo.png"
|
||||
alt="KH3"
|
||||
class="w-12 h-12"
|
||||
/>
|
||||
|
|
@ -370,7 +370,7 @@
|
|||
<!-- Menu Toggle with Transparent Background -->
|
||||
<div class="fixed top-6 right-8 z-40">
|
||||
<div
|
||||
class="cursor-pointer bg-black/30 backdrop-blur-sm rounded-lg p-3"
|
||||
class="cursor-pointer bg-black/30 backdrop-blur-sm rounded-lg p-3 transition-transform duration-300"
|
||||
id="menuToggle"
|
||||
>
|
||||
<div class="grid grid-cols-3 gap-1 w-6 h-6" id="menuGrid">
|
||||
|
|
@ -955,7 +955,7 @@
|
|||
<div class="text-center">
|
||||
<a href="index.html" class="flex items-center gap-3 mb-8 hover:opacity-80 transition-opacity justify-center">
|
||||
<img
|
||||
src="assets/images/kh3_logo_dark.png"
|
||||
src="assets/images/kh3_logo.png"
|
||||
alt="KH3"
|
||||
class="w-16 h-16"
|
||||
/>
|
||||
|
|
@ -1437,6 +1437,19 @@
|
|||
if (isMenuOpen) {
|
||||
// Close menu
|
||||
navMenu.classList.add("hidden");
|
||||
// Transform back to full grid
|
||||
menuGrid.innerHTML = `
|
||||
<span class="w-1 h-1 bg-white rounded-full transition-opacity duration-300"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full transition-opacity duration-300"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full transition-opacity duration-300"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full transition-opacity duration-300"></span>
|
||||
`;
|
||||
menuToggle.style.transform = "scale(1)";
|
||||
if (closeBtnEl) {
|
||||
closeBtnEl.remove();
|
||||
closeBtnEl = null;
|
||||
|
|
@ -1445,18 +1458,20 @@
|
|||
} else {
|
||||
// Open menu
|
||||
navMenu.classList.remove("hidden");
|
||||
// Keep the grid icon as is, don't transform to X
|
||||
// Transform to compressed state - only center 5 dots, corner dots disappear
|
||||
menuGrid.innerHTML = `
|
||||
<span class="w-1 h-1 bg-white rounded-full opacity-0 transition-opacity duration-300"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full opacity-0 transition-opacity duration-300"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full opacity-0 transition-opacity duration-300"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full opacity-0 transition-opacity duration-300"></span>
|
||||
`;
|
||||
menuToggle.style.transform = "scale(0.8)";
|
||||
menuToggle.style.transition = "transform 0.3s ease";
|
||||
|
||||
// Place red X close button at the bottom of the menu panel
|
||||
closeBtnEl = document.createElement("button");
|
||||
|
|
@ -1471,6 +1486,19 @@
|
|||
navMenu.appendChild(closeBtnEl);
|
||||
closeBtnEl.addEventListener("click", () => {
|
||||
navMenu.classList.add("hidden");
|
||||
// Transform back to full grid
|
||||
menuGrid.innerHTML = `
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
`;
|
||||
menuGrid.style.transform = "scale(1)";
|
||||
if (closeBtnEl) {
|
||||
closeBtnEl.remove();
|
||||
closeBtnEl = null;
|
||||
|
|
@ -1485,6 +1513,19 @@
|
|||
document.addEventListener("click", (e) => {
|
||||
if (!menuToggle.contains(e.target) && !navMenu.contains(e.target)) {
|
||||
navMenu.classList.add("hidden");
|
||||
// Transform back to full grid
|
||||
menuGrid.innerHTML = `
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
`;
|
||||
menuGrid.style.transform = "scale(1)";
|
||||
if (closeBtnEl) {
|
||||
closeBtnEl.remove();
|
||||
closeBtnEl = null;
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 186 KiB After Width: | Height: | Size: 50 KiB |
BIN
assets/images/kh3_logo1.png
Normal file
BIN
assets/images/kh3_logo1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 186 KiB |
|
Before Width: | Height: | Size: 88 KiB After Width: | Height: | Size: 88 KiB |
17
contact.html
17
contact.html
|
|
@ -359,7 +359,7 @@
|
|||
<div class="fixed top-6 left-8 z-40">
|
||||
<a href="index.html" class="flex items-center gap-3 hover:opacity-80 transition-opacity">
|
||||
<img
|
||||
src="assets/images/kh3_logo_dark.png"
|
||||
src="assets/images/kh3_logo.png"
|
||||
alt="KH3"
|
||||
class="w-12 h-12"
|
||||
/>
|
||||
|
|
@ -695,7 +695,7 @@
|
|||
>
|
||||
<a href="index.html" class="flex items-center gap-3 hover:opacity-80 transition-opacity">
|
||||
<img
|
||||
src="assets/images/kh3_logo_dark.png"
|
||||
src="assets/images/kh3_logo.png"
|
||||
alt="KH3"
|
||||
class="w-12 h-12"
|
||||
/>
|
||||
|
|
@ -892,18 +892,19 @@
|
|||
} else {
|
||||
// Open menu
|
||||
navMenu.classList.remove("hidden");
|
||||
// Keep the grid icon as is, don't transform to X
|
||||
// Transform to compressed state - only center 5 dots, corner dots disappear
|
||||
menuGrid.innerHTML = `
|
||||
<span class="w-1 h-1 bg-white rounded-full opacity-0"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full opacity-0"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full opacity-0"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full opacity-0"></span>
|
||||
`;
|
||||
menuGrid.style.transform = "scale(0.8)";
|
||||
|
||||
// Place red X close button at the bottom of the menu panel
|
||||
closeBtnEl = document.createElement("button");
|
||||
|
|
|
|||
25
index.html
25
index.html
|
|
@ -371,13 +371,9 @@
|
|||
href="index.html"
|
||||
class="flex items-center gap-3 animate-logo-float hover:opacity-80 transition-opacity"
|
||||
>
|
||||
<img
|
||||
src="assets/images/kh3_logo_dark.png"
|
||||
alt="KH3"
|
||||
class="w-16 h-16"
|
||||
/>
|
||||
<img src="assets/images/kh3_logo.png" alt="KH3" class="w-16 h-16" />
|
||||
<span
|
||||
class="hidden sm:inline text-white text-2xl font-bold tracking-wider animate-logo-glow"
|
||||
class="hidden sm:inline text-white text-2xl font-bold tracking-wider"
|
||||
>KH3</span
|
||||
>
|
||||
</a>
|
||||
|
|
@ -574,11 +570,7 @@
|
|||
href="index.html"
|
||||
class="flex items-center gap-3 mb-8 hover:opacity-80 transition-opacity justify-center"
|
||||
>
|
||||
<img
|
||||
src="assets/images/kh3_logo_dark.png"
|
||||
alt="KH3"
|
||||
class="w-16 h-16"
|
||||
/>
|
||||
<img src="assets/images/kh3_logo.png" alt="KH3" class="w-16 h-16" />
|
||||
<span class="text-4xl font-bold tracking-wider">KH3</span>
|
||||
</a>
|
||||
<div class="w-64 h-1 bg-neutral-800 rounded-full overflow-hidden">
|
||||
|
|
@ -632,17 +624,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
/* Logo glow animation */
|
||||
@keyframes logoGlow {
|
||||
0%,
|
||||
100% {
|
||||
filter: drop-shadow(0 0 5px rgba(220, 38, 38, 0.3));
|
||||
}
|
||||
50% {
|
||||
filter: drop-shadow(0 0 20px rgba(220, 38, 38, 0.6));
|
||||
}
|
||||
}
|
||||
|
||||
/* Page transition animations */
|
||||
@keyframes staggerFadeOut {
|
||||
0% {
|
||||
|
|
|
|||
18
js/main.js
18
js/main.js
|
|
@ -27,7 +27,7 @@ function initNavigation() {
|
|||
if (isMenuOpen) {
|
||||
// Close menu
|
||||
navMenu.classList.add("hidden");
|
||||
// Transform back to grid
|
||||
// Transform back to full grid
|
||||
menuGrid.innerHTML = `
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
|
|
@ -39,16 +39,24 @@ function initNavigation() {
|
|||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
`;
|
||||
menuGrid.style.transform = "scale(1)";
|
||||
isMenuOpen = false;
|
||||
} else {
|
||||
// Open menu
|
||||
navMenu.classList.remove("hidden");
|
||||
// Transform to red X
|
||||
// Transform to compressed state - only center 5 dots, corner dots disappear
|
||||
menuGrid.innerHTML = `
|
||||
<svg class="w-6 h-6 text-kh3-red hover:text-white transition-colors" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path>
|
||||
</svg>
|
||||
<span class="w-1 h-1 bg-white rounded-full opacity-0"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full opacity-0"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full opacity-0"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full"></span>
|
||||
<span class="w-1 h-1 bg-white rounded-full opacity-0"></span>
|
||||
`;
|
||||
menuGrid.style.transform = "scale(0.8)";
|
||||
isMenuOpen = true;
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -362,11 +362,7 @@
|
|||
href="index.html"
|
||||
class="flex items-center gap-3 hover:opacity-80 transition-opacity"
|
||||
>
|
||||
<img
|
||||
src="assets/images/kh3_logo_dark.png"
|
||||
alt="KH3"
|
||||
class="w-12 h-12"
|
||||
/>
|
||||
<img src="assets/images/kh3_logo.png" alt="KH3" class="w-12 h-12" />
|
||||
<span
|
||||
class="text-white text-2xl font-bold tracking-wider drop-shadow-lg"
|
||||
>KH3</span
|
||||
|
|
|
|||
|
|
@ -178,7 +178,7 @@
|
|||
<!-- Logo -->
|
||||
<div class="flex items-center gap-3 mb-12">
|
||||
<a href="index.html" class="flex items-center gap-3 hover:opacity-80 transition-opacity">
|
||||
<img src="assets/images/kh3_logo.png" alt="KH3" class="w-12 h-12" />
|
||||
<img src="assets/images/kh3_logo.png" alt="KH3" class="w-20 h-20" />
|
||||
<span class="text-white text-2xl font-bold tracking-wider">KH3</span>
|
||||
</a>
|
||||
</div>
|
||||
|
|
@ -507,9 +507,9 @@
|
|||
<div class="fixed top-6 left-8 z-40">
|
||||
<a href="index.html" class="flex items-center gap-3 hover:opacity-80 transition-opacity">
|
||||
<img
|
||||
src="assets/images/kh3_logo_dark.png"
|
||||
src="assets/images/kh3_logo.png"
|
||||
alt="KH3"
|
||||
class="w-12 h-12"
|
||||
class="w-20 h-20"
|
||||
/>
|
||||
<span
|
||||
class="text-white text-2xl font-bold tracking-wider drop-shadow-lg"
|
||||
|
|
|
|||
4
who.html
4
who.html
|
|
@ -356,7 +356,7 @@
|
|||
<div class="fixed top-6 left-8 z-40">
|
||||
<div class="flex items-center gap-3">
|
||||
<img
|
||||
src="assets/images/kh3_logo_dark.png"
|
||||
src="assets/images/kh3_logo.png"
|
||||
alt="KH3"
|
||||
class="w-12 h-12"
|
||||
/>
|
||||
|
|
@ -1052,7 +1052,7 @@
|
|||
<div class="text-center">
|
||||
<a href="index.html" class="flex items-center gap-3 mb-8 hover:opacity-80 transition-opacity justify-center">
|
||||
<img
|
||||
src="assets/images/kh3_logo_dark.png"
|
||||
src="assets/images/kh3_logo.png"
|
||||
alt="KH3"
|
||||
class="w-16 h-16"
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue