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="name" content="Saahil" />
|
||||||
<meta
|
<meta
|
||||||
itemprop="image"
|
itemprop="image"
|
||||||
content="./screenshot.png"
|
content="screenshot.png"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<!-- Facebook Meta Tags -->
|
<!-- Facebook Meta Tags -->
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
<meta property="og:title" content="Saahil" />
|
<meta property="og:title" content="Saahil" />
|
||||||
<meta
|
<meta
|
||||||
property="og:image"
|
property="og:image"
|
||||||
content="./screenshot.png"
|
content="screenshot.png"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<!-- Twitter Meta Tags -->
|
<!-- Twitter Meta Tags -->
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
/>
|
/>
|
||||||
<meta
|
<meta
|
||||||
name="twitter:image"
|
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> -->
|
<!-- <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">
|
<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 "
|
window.document.documentElement.className = "duration-500 ease-in-out "
|
||||||
if (document.hasFocus()) {
|
if (document.hasFocus()) {
|
||||||
document.title = title0 || "Saahild.com"
|
|
||||||
|
document.title = title0?.toLowerCase() === "react app" ? "Saahild.com" : (title0 ?? "Saahild.com")
|
||||||
window.document.documentElement.style.filter = ""
|
window.document.documentElement.style.filter = ""
|
||||||
} else {
|
} else {
|
||||||
document.title = 'Come Back :('
|
document.title = 'Come Back :('
|
||||||
|
|
Loading…
Reference in a new issue