From 0ffe463478e9b4ed7eab96c7c440ab685ac0af5c Mon Sep 17 00:00:00 2001 From: alwaysmesmerizingyou Date: Wed, 7 Oct 2026 20:38:19 -0700 Subject: [PATCH] fixed some lighthouse report --- assets/app.js | 8 ++++++-- assets/styling/main.css | 3 --- index.html | 7 ++++++- robots.txt | 3 ++- 4 files changed, 14 insertions(+), 7 deletions(-) delete mode 100644 assets/styling/main.css diff --git a/assets/app.js b/assets/app.js index a339fb8..dbf20f2 100644 --- a/assets/app.js +++ b/assets/app.js @@ -1036,10 +1036,14 @@ document.addEventListener("DOMContentLoaded", function () { var header = document.getElementById("header-container"); if (header) { - document.documentElement.style.setProperty("--header-height", header.offsetHeight + "px"); - window.addEventListener("resize", function () { + requestAnimationFrame(function () { document.documentElement.style.setProperty("--header-height", header.offsetHeight + "px"); }); + window.addEventListener("resize", function () { + requestAnimationFrame(function () { + document.documentElement.style.setProperty("--header-height", header.offsetHeight + "px"); + }); + }); } applyTheme(); diff --git a/assets/styling/main.css b/assets/styling/main.css deleted file mode 100644 index 7b29adc..0000000 --- a/assets/styling/main.css +++ /dev/null @@ -1,3 +0,0 @@ -@import "roots.css"; -@import "base.css"; -@import "highlight.css"; \ No newline at end of file diff --git a/index.html b/index.html index da6ebf9..fbdacf0 100644 --- a/index.html +++ b/index.html @@ -10,8 +10,13 @@ - + + + + + + diff --git a/robots.txt b/robots.txt index 619d155..07e8415 100644 --- a/robots.txt +++ b/robots.txt @@ -1,4 +1,5 @@ User-agent: * Allow: / -Sitemap: https://vyla.cc/sitemap.xml \ No newline at end of file +Sitemap: https://vyla.cc/sitemap.xml +Agentmap: https://vyla.cc/ai-catalog.json \ No newline at end of file