diff --git a/docs/images/external/logo/banner-badge-docs-resized-black.png b/docs/images/external/logo/banner-badge-docs-resized-black.png new file mode 100644 index 00000000..9329af02 Binary files /dev/null and b/docs/images/external/logo/banner-badge-docs-resized-black.png differ diff --git a/docs/images/external/logo/banner-badge-docs-resized-white.png b/docs/images/external/logo/banner-badge-docs-resized-white.png new file mode 100644 index 00000000..8a50d952 Binary files /dev/null and b/docs/images/external/logo/banner-badge-docs-resized-white.png differ diff --git a/docs/images/external/logo/banner-badge-docs.png b/docs/images/external/logo/banner-badge-docs.png index f1a89ead..84a97ca0 100644 Binary files a/docs/images/external/logo/banner-badge-docs.png and b/docs/images/external/logo/banner-badge-docs.png differ diff --git a/docs/mint.json b/docs/mint.json index 622c6eff..eb148b53 100644 --- a/docs/mint.json +++ b/docs/mint.json @@ -2,8 +2,8 @@ "$schema": "https://mintlify.com/schema.json", "name": "AgentOps", "logo": { - "dark": "https://raw.githubusercontent.com/AgentOps-AI/agentops/35d5682866921a9e28d8ef66ae3c3b3d92d8fa6b/img/logo.png", - "light": "https://raw.githubusercontent.com/AgentOps-AI/agentops/35d5682866921a9e28d8ef66ae3c3b3d92d8fa6b/img/logo.png" + "dark": "/images/external/logo/banner-badge-docs-resized-white.png", + "light": "/images/external/logo/banner-badge-docs-resized-black.png" }, "favicon": "/favicon.png", "colors": { diff --git a/docs/v1/stars.js b/docs/v1/stars.js index cb05bb35..26d6602f 100644 --- a/docs/v1/stars.js +++ b/docs/v1/stars.js @@ -3,8 +3,10 @@ function updateStars() { .then((response) => response.json()) .then((data) => { const stars = Math.ceil(data.stargazers_count / 100) * 100 + 100; - const dataContainer = document.getElementById("stars-text"); - dataContainer.innerHTML = `${stars.toLocaleString()}th`; + setTimeout(() => { + const dataContainer = document.getElementById("stars-text"); + dataContainer.innerHTML = `${stars.toLocaleString()}th`; + }, 50); }) .catch((error) => { // console.error("Github Stars pull error:", error); @@ -16,11 +18,12 @@ function addNewEventListeners() { document.querySelectorAll('li, a').forEach(element => { element.addEventListener('click', updateStars); }); - }, 100); + }, 50); } window.addEventListener('load', function() { updateStars(); + addNewEventListeners(); const observer = new MutationObserver(addNewEventListeners); observer.observe(document.body, { childList: true, subtree: true }); }); \ No newline at end of file