Skip to content

Commit bf1859b

Browse files
Bikram GoleBikram Gole
authored andcommitted
Harden browser compatibility, darkreader lock, and root-site URL update
1 parent b552fb6 commit bf1859b

6 files changed

Lines changed: 41 additions & 9 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Welcome to my personal website 👋, a unique digital space blending cosmic aest
44

55
![Website Screenshot](https://private-us-east-1.manuscdn.com/sessionFile/9cAiiLqihcferJQ4kf8kWy/sandbox/ixnJoNIEkF9T2NG4Kgx1TM-images_1771379203676_na1fn_L2hvbWUvdWJ1bnR1L2Jpa3JhbS1zaXRlL3NjcmVlbnNob3Q.webp?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9wcml2YXRlLXVzLWVhc3QtMS5tYW51c2Nkbi5jb20vc2Vzc2lvbkZpbGUvOWNBaWlMcWloY2ZlckpRNGtmOGtXeS9zYW5kYm94L2l4bkpvTklFa0Y5VDJORzRLZ3gxVE0taW1hZ2VzXzE3NzEzNzkyMDM2NzZfbmExZm5fTDJodmJXVXZkV0oxYm5SMUwySnBhM0poYlMxemFYUmxMM05qY21WbGJuTm9iM1Eud2VicCIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc5ODc2MTYwMH19fV19&Key-Pair-Id=K2HSFNDJXOU9YS&Signature=qjvC0UplDb3Fn098ayHf7VOlBs~4F-vI2ePhXH0Pc3xSMa3E8hnpiv0~HwRiomwz4l7i5C837Is1Ir7WrBV6elFVTRHtrIEY4rpRNJCBmNNBpH4IFApHKSOhhgPRcuj7xopduBj0YD-SckcdhEu59XUqCn~I2NYCA0se2W~MR6vPxdT8io8YFzFEdBrx97Bz4BteT1R6ubTUQY~GriMDd0y215hTOu1APeUwEjsSN4yYqnAlNls7kPDp4M4rDhuVKciH9y9qwR6pU5xTu4EGAglsHaSdU0Z~avm2yWRBsZbix~4Wxtx17uHi82vrT4J27S3VlJ-pdpIfOoWp5pyrDw__)
66

7-
**Live Site:** `https://devxtechnic.github.io/bikram-site/`
7+
**Live Site:** `https://devxtechnic.github.io/`
88

99
## Motivation
1010

@@ -52,8 +52,8 @@ To set up and run my project on your local machine, follow these steps 👇:
5252

5353
1. **Clone the repository:**
5454
```bash
55-
git clone https://github.com/DevXtechnic/bikram-site.git
56-
cd bikram-site
55+
git clone https://github.com/DevXtechnic/DevXtechnic.github.io.git
56+
cd DevXtechnic.github.io
5757
```
5858
2. **Serve the files:**
5959
You can use a simple Python HTTP server 🐍:

about.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<meta name="darkreader-lock" />
67
<title>About Neo | Aura Farmer</title>
78
<meta name="description" content="About Bikram Gole from Gongabu, KTM. AI-focused student builder with chaotic fun style." />
89
<link rel="preconnect" href="https://fonts.googleapis.com" />

contact.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<meta name="darkreader-lock" />
67
<title>Contact Neo | Aura Farmer</title>
78
<meta name="description" content="Contact Bikram Gole for AI, Linux, open source, and collaboration." />
89
<link rel="preconnect" href="https://fonts.googleapis.com" />

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<meta name="darkreader-lock" />
67
<title>Neo | Aura Farmer</title>
78
<meta name="description" content="Bikram Gole - Aura Farmer from Gongabu, KTM. Chaotic fun personal site around AI, open source, crypto, and philosophy." />
89
<link rel="preconnect" href="https://fonts.googleapis.com" />

script.js

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -467,12 +467,28 @@ function triggerPulseBackdrop(clientX = null, clientY = null) {
467467

468468
document.body.appendChild(layer);
469469

470-
// Force animation start reliably on slower mobile browsers.
471-
requestAnimationFrame(() => {
472-
requestAnimationFrame(() => {
473-
layer.classList.add("is-active");
474-
});
475-
});
470+
// Force animation start reliably across restricted browsers.
471+
void layer.offsetWidth;
472+
layer.classList.add("is-active");
473+
requestAnimationFrame(() => layer.classList.add("is-active"));
474+
475+
// Extra visible fallback flash for browsers that suppress blend/animation effects.
476+
const flash = document.createElement("span");
477+
flash.className = "pulse-core-flash";
478+
flash.style.left = `${x}px`;
479+
flash.style.top = `${y}px`;
480+
document.body.appendChild(flash);
481+
if (typeof flash.animate === "function") {
482+
flash.animate(
483+
[
484+
{ transform: "translate(-50%, -50%) scale(0.45)", opacity: 0.9 },
485+
{ transform: "translate(-50%, -50%) scale(3.6)", opacity: 0 },
486+
],
487+
{ duration: 420, easing: "cubic-bezier(0.2, 0.7, 0.3, 1)", fill: "forwards" }
488+
).onfinish = () => flash.remove();
489+
} else {
490+
window.setTimeout(() => flash.remove(), 450);
491+
}
476492

477493
const cleanup = () => layer.remove();
478494
layer.addEventListener("animationend", cleanup, { once: true });

styles.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2310,6 +2310,19 @@ body.browser-firefox .pulse-wave {
23102310
radial-gradient(620px 440px at var(--pulse-x, 50%) var(--pulse-y, 35%), rgba(71, 139, 255, 0.28), transparent 78%);
23112311
}
23122312

2313+
.pulse-core-flash {
2314+
position: fixed;
2315+
width: 18px;
2316+
height: 18px;
2317+
border-radius: 999px;
2318+
pointer-events: none;
2319+
z-index: 54;
2320+
transform: translate(-50%, -50%);
2321+
background:
2322+
radial-gradient(circle, rgba(235, 248, 255, 0.95) 0%, rgba(145, 210, 255, 0.85) 42%, rgba(255, 170, 96, 0.52) 70%, rgba(255, 170, 96, 0) 100%);
2323+
box-shadow: 0 0 20px rgba(151, 215, 255, 0.82), 0 0 34px rgba(255, 161, 85, 0.5);
2324+
}
2325+
23132326
.pulse-wave::after {
23142327
content: "";
23152328
position: absolute;

0 commit comments

Comments
 (0)