Skip to content

Commit 11f965b

Browse files
committed
Upgrade to Sigil 0.2.7.1 - fixes JSON parsing in hydration + auto-loading bundle
1 parent 212bb85 commit 11f965b

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ dependencies {
4646
implementation("org.jsoup:jsoup:1.18.1")
4747

4848
// Summon SSR framework + Sigil 3D/effects library
49-
// Sigil 0.2.6.0 - SSR canvas works in both Summon pipeline and direct use
49+
// Sigil 0.2.7.1 - Fixed JSON parsing in hydration + auto-loading hydration bundle
5050
implementation("codes.yousef:summon:0.5.8.4")
5151
implementation("codes.yousef:materia-jvm:0.3.3.0")
52-
implementation("codes.yousef.sigil:sigil-schema-jvm:0.2.6.0")
53-
implementation("codes.yousef.sigil:sigil-summon-jvm:0.2.6.0")
52+
implementation("codes.yousef.sigil:sigil-schema-jvm:0.2.7.1")
53+
implementation("codes.yousef.sigil:sigil-summon-jvm:0.2.7.1")
5454
implementation("ch.qos.logback:logback-classic:$logback_version")
5555

5656
// Cloud Firestore (ready for future integrations)

src/main/kotlin/code/yousef/portfolio/ssr/PortfolioRenderer.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ class PortfolioRenderer(
9191
head.link("stylesheet", "https://fonts.googleapis.com/icon?family=Material+Icons", null, null, null, null)
9292
// Hydration script also loads synchronously to ensure polyfill is applied
9393
head.script(HYDRATION_SCRIPT_PATH, "summon-hydration-runtime", "application/javascript", false, false, null)
94-
// Sigil hydration script for WebGPU/WebGL canvas effects (aurora background)
95-
head.script(SIGIL_HYDRATION_SCRIPT_PATH, "sigil-hydration-runtime", "application/javascript", false, false, null)
94+
// Sigil hydration bundle auto-loads via sigilStaticAssets() - no manual script needed
9695
// Non-critical cleanup script (async)
9796
head.script("/static/textarea-cleanup.js", "textarea-cleanup", "application/javascript", true, false, null)
9897
// (Structured data currently omitted until HeadScope gains inline support)

src/main/kotlin/code/yousef/portfolio/ssr/SiteMetadata.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ const val SUMMON_MARKETING_URL = "https://summon.yousef.codes"
55
const val MATERIA_MARKETING_URL = "https://materia.yousef.codes"
66
const val SIGIL_MARKETING_URL = "https://sigil.yousef.codes"
77
const val HYDRATION_SCRIPT_PATH = "/summon-hydration.js"
8-
const val SIGIL_HYDRATION_SCRIPT_PATH = "/sigil-hydration.js"
8+
// Note: Sigil hydration bundle auto-loads via sigilStaticAssets() - no constant needed

0 commit comments

Comments
 (0)