screenshot & title

This commit is contained in:
Saahil dutta 2024-06-28 23:48:40 -04:00
parent e945704c46
commit bbc11c69c9
Signed by: neon
GPG key ID: 8A8B64515254CFC6
2 changed files with 5 additions and 4 deletions

View file

@ -10,7 +10,8 @@ export function runTitle() {
}
window.document.documentElement.className = "duration-500 ease-in-out "
if (document.hasFocus()) {
document.title = title0 || "Saahild.com"
document.title = title0?.toLowerCase() === "react app" ? "Saahild.com" : (title0 ?? "Saahild.com")
window.document.documentElement.style.filter = ""
} else {
document.title = 'Come Back :('