Skip to content

Commit 914b464

Browse files
authored
Website Update
1 parent 7cade5c commit 914b464

3 files changed

Lines changed: 13 additions & 13 deletions

File tree

docs/assets/css/style.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,11 +1027,11 @@ a {
10271027
--hero-stage-offset: var(--page-top-offset);
10281028
--hero-top-pad: clamp(1.3rem, 1.9vw, 2rem);
10291029
--hero-stage-bottom-pad: clamp(1.55rem, 2.35vw, 2.25rem);
1030-
--hero-copy-bottom-offset: clamp(2.1rem, 3vw, 2.9rem);
1030+
--hero-copy-bottom-offset: clamp(2.45rem, 3.35vw, 3.3rem);
10311031
--hero-stage-min: 0px;
10321032
--home-transition-span: clamp(9rem, 16vh, 13rem);
10331033
--home-transition-distance: var(--home-transition-span);
1034-
--hero-image-anchor-y: 47.7%;
1034+
--hero-image-anchor-y: 46.35%;
10351035
--hero-stage-height: calc(var(--hero-initial-viewport-height, 100svh) - var(--hero-stage-offset) - var(--hero-top-pad) - var(--hero-stage-bottom-pad));
10361036
--hero-stage-reference: max(var(--hero-stage-height), var(--hero-stage-min));
10371037
--hero-visual-height: calc(var(--hero-top-pad) + var(--hero-stage-reference) + var(--hero-stage-bottom-pad));
@@ -2401,7 +2401,7 @@ body.page-home #about {
24012401
.hero {
24022402
--hero-top-pad: clamp(1rem, 1.7vw, 1.4rem);
24032403
--hero-stage-bottom-pad: clamp(1.4rem, 2.15vw, 1.95rem);
2404-
--hero-copy-bottom-offset: clamp(1.8rem, 2.9vw, 2.35rem);
2404+
--hero-copy-bottom-offset: clamp(2.05rem, 3.05vw, 2.6rem);
24052405
}
24062406

24072407
.hero-copy {
@@ -2467,11 +2467,11 @@ body.page-home #about {
24672467
.hero {
24682468
--hero-top-pad: 1.05rem;
24692469
--hero-stage-bottom-pad: 1.1rem;
2470-
--hero-copy-bottom-offset: 1.72rem;
2470+
--hero-copy-bottom-offset: 1.98rem;
24712471
--home-transition-span: clamp(8.5rem, 15vh, 11.5rem);
24722472
--hero-image-size: clamp(29rem, calc(var(--hero-stage-reference) * 0.96), 52rem);
24732473
--hero-image-max-inline: 110vw;
2474-
--hero-image-anchor-y: 43.95%;
2474+
--hero-image-anchor-y: 42.15%;
24752475
--hero-tagline-base-size: clamp(2.25rem, min(calc(var(--hero-stage-reference) * 0.1), 11.2cqi), 3.35rem);
24762476
}
24772477

docs/assets/js/shell.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1291,17 +1291,17 @@
12911291
stageReference * 1.78,
12921292
viewportHeight * 1.42
12931293
);
1294-
lowerLayerStartShift = Math.min(Math.max(viewportHeight * 0.022, 12), 22);
1294+
lowerLayerStartShift = Math.min(Math.max(viewportHeight * 0.016, 8), 16);
12951295
const lowerLayerOverlap = Math.max(
1296-
Math.min(viewportHeight * 0.82, stageReference * 1.14),
1297-
viewportHeight * 0.66
1296+
Math.min(viewportHeight * 0.94, stageReference * 1.2),
1297+
viewportHeight * 0.78
12981298
);
12991299
hero.style.setProperty("--home-transition-distance", `${transitionDistance.toFixed(2)}px`);
13001300
root.style.setProperty("--home-next-layer-overlap", `${lowerLayerOverlap.toFixed(2)}px`);
13011301
};
13021302

13031303
const setAtmosphere = (amount) => {
1304-
root.style.setProperty("--site-atmosphere-opacity", amount.toFixed(4));
1304+
body.style.setProperty("--site-atmosphere-opacity", amount.toFixed(4));
13051305
};
13061306

13071307
const setLowerLayer = (amount) => {
@@ -1323,8 +1323,8 @@
13231323
const silhouetteFade = 1 - range(progress, 0.34, 0.58, easeInOutCubic);
13241324
const silhouetteOpacity = 0.74 * silhouetteAppear * silhouetteFade;
13251325
const heroUnitOpacity = Math.max(baseFade, silhouetteOpacity);
1326-
const atmosphereProgress = range(progress, 0.64, 0.9, easeInOutCubic);
1327-
const nextLayerProgress = range(progress, 0.5, 0.76, easeInOutCubic);
1326+
const atmosphereProgress = range(progress, 0.62, 0.84, easeInOutCubic);
1327+
const nextLayerProgress = range(progress, 0.76, 0.94, easeInOutCubic);
13281328
const backdropSuppression = progress < 0.88 ? "1" : "0";
13291329

13301330
root.style.setProperty("--home-ui-opacity", Math.max(0, uiOpacity).toFixed(4));

docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<link rel="preconnect" href="https://fonts.googleapis.com">
99
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
1010
<link href="https://fonts.googleapis.com/css2?family=Rock+Salt&family=Space+Grotesk:wght@400;500;600;700&family=Unbounded:wght@500;700;800&display=swap" rel="stylesheet">
11-
<link rel="stylesheet" href="assets/css/style.css?v=20260418e">
11+
<link rel="stylesheet" href="assets/css/style.css?v=20260418f">
1212

1313
<link rel="icon" type="image/svg+xml" href="favicon.svg">
1414
<link rel="icon" sizes="192x192" href="android-chrome-192x192.png">
@@ -228,6 +228,6 @@ <h2>A <span class="tagline-script">Closer Look</span> At The Path</h2>
228228

229229
<div id="footer-slot"></div>
230230

231-
<script src="assets/js/shell.js?v=20260418e" defer></script>
231+
<script src="assets/js/shell.js?v=20260418f" defer></script>
232232
</body>
233233
</html>

0 commit comments

Comments
 (0)