mirror of
https://github.com/NeonGamerBot-QK/saahild.com.git
synced 2024-11-21 20:33:40 +00:00
screenshot & title
This commit is contained in:
parent
e945704c46
commit
bbc11c69c9
2 changed files with 5 additions and 4 deletions
|
@ -16,7 +16,7 @@
|
|||
<meta itemprop="name" content="Saahil" />
|
||||
<meta
|
||||
itemprop="image"
|
||||
content="./screenshot.png"
|
||||
content="screenshot.png"
|
||||
/>
|
||||
|
||||
<!-- Facebook Meta Tags -->
|
||||
|
@ -25,7 +25,7 @@
|
|||
<meta property="og:title" content="Saahil" />
|
||||
<meta
|
||||
property="og:image"
|
||||
content="./screenshot.png"
|
||||
content="screenshot.png"
|
||||
/>
|
||||
|
||||
<!-- Twitter Meta Tags -->
|
||||
|
@ -37,7 +37,7 @@
|
|||
/>
|
||||
<meta
|
||||
name="twitter:image"
|
||||
content="./screenshot.png"
|
||||
content="screenshot.png"
|
||||
/>
|
||||
<!-- <script async src="https://ackee.saahild.com/tracker.js" data-ackee-server="https://ackee.saahild.com" data-ackee-domain-id="c082bd15-f9d8-414f-aa10-926e1d66a5d6" data-ackee-opts='{ "ignoreOwnVisits": false, "detailed": true }'></script> -->
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
|
||||
|
|
|
@ -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 :('
|
||||
|
|
Loading…
Reference in a new issue