From 8052826fa95876a113718eaadcde973dc9cc563c Mon Sep 17 00:00:00 2001 From: Prachi Ikhar Date: Thu, 31 Oct 2024 21:45:39 +0530 Subject: [PATCH] Improved Interface of toolbaar --- index.html | 1165 ++++++++++++++++++++++++++-------------------------- 1 file changed, 581 insertions(+), 584 deletions(-) diff --git a/index.html b/index.html index 891b1e5..38c39fb 100644 --- a/index.html +++ b/index.html @@ -15,7 +15,7 @@ #toggleGridButton { margin-top: 10px; } - + .visitor-counter { position: fixed; top: 570px; @@ -37,21 +37,20 @@ /* Softer corners */ backdrop-filter: blur(10px); /* Increased blur for a modern touch */ - box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), - /* Slightly more pronounced shadow */ - 0 2px 4px rgba(0, 0, 0, 0.1); + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), /* Slightly more pronounced shadow */ + 0 2px 4px rgba(0, 0, 0, 0.1); z-index: 1000; transition: all 0.3s ease; /* Smooth transition for hover effect */ } - + .visitor-counter:hover { transform: scale(1.05); /* Slightly enlarge on hover */ box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhance shadow on hover */ } - + .visitor-counter div:first-child { margin-bottom: 5px; font-size: 14px; @@ -59,52 +58,49 @@ letter-spacing: 1px; /* Increased spacing for readability */ } - + .website-counter { font-size: 24px; font-family: 'Arial', sans-serif; /* Consistent font family */ } - + @media screen and (max-width: 768px) { .visitor-counter { height: 100px; width: 100px; font-size: 16px; } - .website-counter { font-size: 20px; } } - + @media screen and (max-width: 480px) { .visitor-counter { height: 80px; width: 80px; font-size: 14px; } - .website-counter { font-size: 18px; } } - + .dark-mode .visitor-counter div { color: #f0f0f0; /* Lighter text for dark mode */ } - + .dark-mode .visitor-counter .website-counter { color: #f0f0f0; /* Lighter color for consistency */ } - + .dark-mode .visitor-counter { background-color: rgba(0, 0, 0, 0.7); /* Darker background for dark mode */ - box-shadow: 0 6px 12px rgba(255, 255, 255, 0.1), - 0 2px 4px rgba(255, 255, 255, 0.05); + box-shadow: 0 6px 12px rgba(255, 255, 255, 0.1), 0 2px 4px rgba(255, 255, 255, 0.05); } - - - -
- - - - + window.embeddedChatbotConfig = { + chatbotId: "X6k1f9B5oxQr2T4-NzVxG", + domain: "www.chatbase.co", + position: "right" + } + + + + + +
+ + - - - + + + }); - + // Get the next circle in the sequence + const nextCircle = circles[index + 1] || circles[0]; + x += (nextCircle.x - x) * 0.3; + y += (nextCircle.y - y) * 0.3; + }); + + // Repeat the animation + requestAnimationFrame(animateCircles); + } + + // Start the animation + animateCircles(); + + + document.getElementById("year").textContent = new Date().getFullYear(); + \ No newline at end of file