Unify public visual identity with coordinated responsive writer-desk scenes
272
Docs/PublicVisualIdentity/AssetManifest.json
Normal file
@ -0,0 +1,272 @@
|
||||
[
|
||||
{
|
||||
"scene": "home",
|
||||
"mode": "wide",
|
||||
"width": 768,
|
||||
"height": 415,
|
||||
"format": "avif",
|
||||
"bytes": 41072,
|
||||
"url": "/images/public/scenes/home-wide-768.avif"
|
||||
},
|
||||
{
|
||||
"scene": "home",
|
||||
"mode": "wide",
|
||||
"width": 768,
|
||||
"height": 415,
|
||||
"format": "webp",
|
||||
"bytes": 37908,
|
||||
"url": "/images/public/scenes/home-wide-768.webp"
|
||||
},
|
||||
{
|
||||
"scene": "home",
|
||||
"mode": "wide",
|
||||
"width": 1152,
|
||||
"height": 622,
|
||||
"format": "avif",
|
||||
"bytes": 80240,
|
||||
"url": "/images/public/scenes/home-wide-1152.avif"
|
||||
},
|
||||
{
|
||||
"scene": "home",
|
||||
"mode": "wide",
|
||||
"width": 1152,
|
||||
"height": 622,
|
||||
"format": "webp",
|
||||
"bytes": 74036,
|
||||
"url": "/images/public/scenes/home-wide-1152.webp"
|
||||
},
|
||||
{
|
||||
"scene": "home",
|
||||
"mode": "wide",
|
||||
"width": 1536,
|
||||
"height": 829,
|
||||
"format": "avif",
|
||||
"bytes": 127930,
|
||||
"url": "/images/public/scenes/home-wide-1536.avif"
|
||||
},
|
||||
{
|
||||
"scene": "home",
|
||||
"mode": "wide",
|
||||
"width": 1536,
|
||||
"height": 829,
|
||||
"format": "webp",
|
||||
"bytes": 122196,
|
||||
"url": "/images/public/scenes/home-wide-1536.webp"
|
||||
},
|
||||
{
|
||||
"scene": "home",
|
||||
"mode": "mobile",
|
||||
"width": 480,
|
||||
"height": 640,
|
||||
"format": "avif",
|
||||
"bytes": 41526,
|
||||
"url": "/images/public/scenes/home-mobile-480.avif"
|
||||
},
|
||||
{
|
||||
"scene": "home",
|
||||
"mode": "mobile",
|
||||
"width": 480,
|
||||
"height": 640,
|
||||
"format": "webp",
|
||||
"bytes": 40960,
|
||||
"url": "/images/public/scenes/home-mobile-480.webp"
|
||||
},
|
||||
{
|
||||
"scene": "home",
|
||||
"mode": "mobile",
|
||||
"width": 704,
|
||||
"height": 939,
|
||||
"format": "avif",
|
||||
"bytes": 73270,
|
||||
"url": "/images/public/scenes/home-mobile-704.avif"
|
||||
},
|
||||
{
|
||||
"scene": "home",
|
||||
"mode": "mobile",
|
||||
"width": 704,
|
||||
"height": 939,
|
||||
"format": "webp",
|
||||
"bytes": 72280,
|
||||
"url": "/images/public/scenes/home-mobile-704.webp"
|
||||
},
|
||||
{
|
||||
"scene": "tour",
|
||||
"mode": "wide",
|
||||
"width": 768,
|
||||
"height": 415,
|
||||
"format": "avif",
|
||||
"bytes": 35893,
|
||||
"url": "/images/public/scenes/tour-wide-768.avif"
|
||||
},
|
||||
{
|
||||
"scene": "tour",
|
||||
"mode": "wide",
|
||||
"width": 768,
|
||||
"height": 415,
|
||||
"format": "webp",
|
||||
"bytes": 29084,
|
||||
"url": "/images/public/scenes/tour-wide-768.webp"
|
||||
},
|
||||
{
|
||||
"scene": "tour",
|
||||
"mode": "wide",
|
||||
"width": 1152,
|
||||
"height": 622,
|
||||
"format": "avif",
|
||||
"bytes": 78375,
|
||||
"url": "/images/public/scenes/tour-wide-1152.avif"
|
||||
},
|
||||
{
|
||||
"scene": "tour",
|
||||
"mode": "wide",
|
||||
"width": 1152,
|
||||
"height": 622,
|
||||
"format": "webp",
|
||||
"bytes": 60998,
|
||||
"url": "/images/public/scenes/tour-wide-1152.webp"
|
||||
},
|
||||
{
|
||||
"scene": "tour",
|
||||
"mode": "wide",
|
||||
"width": 1536,
|
||||
"height": 829,
|
||||
"format": "avif",
|
||||
"bytes": 129084,
|
||||
"url": "/images/public/scenes/tour-wide-1536.avif"
|
||||
},
|
||||
{
|
||||
"scene": "tour",
|
||||
"mode": "wide",
|
||||
"width": 1536,
|
||||
"height": 829,
|
||||
"format": "webp",
|
||||
"bytes": 102226,
|
||||
"url": "/images/public/scenes/tour-wide-1536.webp"
|
||||
},
|
||||
{
|
||||
"scene": "tour",
|
||||
"mode": "mobile",
|
||||
"width": 480,
|
||||
"height": 640,
|
||||
"format": "avif",
|
||||
"bytes": 39858,
|
||||
"url": "/images/public/scenes/tour-mobile-480.avif"
|
||||
},
|
||||
{
|
||||
"scene": "tour",
|
||||
"mode": "mobile",
|
||||
"width": 480,
|
||||
"height": 640,
|
||||
"format": "webp",
|
||||
"bytes": 33072,
|
||||
"url": "/images/public/scenes/tour-mobile-480.webp"
|
||||
},
|
||||
{
|
||||
"scene": "tour",
|
||||
"mode": "mobile",
|
||||
"width": 704,
|
||||
"height": 939,
|
||||
"format": "avif",
|
||||
"bytes": 74183,
|
||||
"url": "/images/public/scenes/tour-mobile-704.avif"
|
||||
},
|
||||
{
|
||||
"scene": "tour",
|
||||
"mode": "mobile",
|
||||
"width": 704,
|
||||
"height": 939,
|
||||
"format": "webp",
|
||||
"bytes": 62232,
|
||||
"url": "/images/public/scenes/tour-mobile-704.webp"
|
||||
},
|
||||
{
|
||||
"scene": "pricing",
|
||||
"mode": "wide",
|
||||
"width": 768,
|
||||
"height": 415,
|
||||
"format": "avif",
|
||||
"bytes": 31681,
|
||||
"url": "/images/public/scenes/pricing-wide-768.avif"
|
||||
},
|
||||
{
|
||||
"scene": "pricing",
|
||||
"mode": "wide",
|
||||
"width": 768,
|
||||
"height": 415,
|
||||
"format": "webp",
|
||||
"bytes": 24416,
|
||||
"url": "/images/public/scenes/pricing-wide-768.webp"
|
||||
},
|
||||
{
|
||||
"scene": "pricing",
|
||||
"mode": "wide",
|
||||
"width": 1152,
|
||||
"height": 622,
|
||||
"format": "avif",
|
||||
"bytes": 73808,
|
||||
"url": "/images/public/scenes/pricing-wide-1152.avif"
|
||||
},
|
||||
{
|
||||
"scene": "pricing",
|
||||
"mode": "wide",
|
||||
"width": 1152,
|
||||
"height": 622,
|
||||
"format": "webp",
|
||||
"bytes": 57356,
|
||||
"url": "/images/public/scenes/pricing-wide-1152.webp"
|
||||
},
|
||||
{
|
||||
"scene": "pricing",
|
||||
"mode": "wide",
|
||||
"width": 1536,
|
||||
"height": 829,
|
||||
"format": "avif",
|
||||
"bytes": 125983,
|
||||
"url": "/images/public/scenes/pricing-wide-1536.avif"
|
||||
},
|
||||
{
|
||||
"scene": "pricing",
|
||||
"mode": "wide",
|
||||
"width": 1536,
|
||||
"height": 829,
|
||||
"format": "webp",
|
||||
"bytes": 101248,
|
||||
"url": "/images/public/scenes/pricing-wide-1536.webp"
|
||||
},
|
||||
{
|
||||
"scene": "pricing",
|
||||
"mode": "mobile",
|
||||
"width": 480,
|
||||
"height": 640,
|
||||
"format": "avif",
|
||||
"bytes": 37632,
|
||||
"url": "/images/public/scenes/pricing-mobile-480.avif"
|
||||
},
|
||||
{
|
||||
"scene": "pricing",
|
||||
"mode": "mobile",
|
||||
"width": 480,
|
||||
"height": 640,
|
||||
"format": "webp",
|
||||
"bytes": 31148,
|
||||
"url": "/images/public/scenes/pricing-mobile-480.webp"
|
||||
},
|
||||
{
|
||||
"scene": "pricing",
|
||||
"mode": "mobile",
|
||||
"width": 704,
|
||||
"height": 939,
|
||||
"format": "avif",
|
||||
"bytes": 73761,
|
||||
"url": "/images/public/scenes/pricing-mobile-704.avif"
|
||||
},
|
||||
{
|
||||
"scene": "pricing",
|
||||
"mode": "mobile",
|
||||
"width": 704,
|
||||
"height": 939,
|
||||
"format": "webp",
|
||||
"bytes": 63368,
|
||||
"url": "/images/public/scenes/pricing-mobile-704.webp"
|
||||
}
|
||||
]
|
||||
1
Docs/PublicVisualIdentity/Evidence/identity-browser.txt
Normal file
@ -0,0 +1 @@
|
||||
PASS coordinated unique scenes at four widths; one responsive AVIF per page, WebP fallback, mobile crop, eager high-priority hero, full-width canvas, no overflow, intact hero/plan/tour structure; ten other public page types remain public and without extra photography despite saved dark app preferences.
|
||||
928
Docs/PublicVisualIdentity/Evidence/performance-before.json
Normal file
@ -0,0 +1,928 @@
|
||||
[
|
||||
{
|
||||
"path": "/",
|
||||
"width": 390,
|
||||
"run": 0,
|
||||
"lcp": {
|
||||
"ms": 208,
|
||||
"url": "",
|
||||
"tag": "H1"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/scene.jpg",
|
||||
"transfer": 146772,
|
||||
"encoded": 146472
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing.jpg",
|
||||
"transfer": 102650,
|
||||
"encoded": 102350
|
||||
}
|
||||
],
|
||||
"css": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/lib/bootstrap/dist/css/bootstrap.min.css",
|
||||
"ms": 24.299999998882413
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/site.css?v=FSOc5A1C0eViohMfIJ7UMECMcEKWyp4REawFYNUZU_E",
|
||||
"ms": 37.40000000037253
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-site.css?v=A61RaK5orsdIyLcOS0KBJZ3ZpRjXIYzKk0QhTUDQvls",
|
||||
"ms": 15.299999998882413
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-art-direction.css?v=KQSqty6z0WO-Xk1YfuGmFaTcL0abmfYHMuP66SkNk-U",
|
||||
"ms": 17.59999999962747
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=A07-q07zMcRqt5ZidpNH6SFiZiXL9xBBUgCMTnkLHes",
|
||||
"ms": 18.300000000745058
|
||||
}
|
||||
],
|
||||
"totalBytes": 982465
|
||||
},
|
||||
{
|
||||
"path": "/",
|
||||
"width": 390,
|
||||
"run": 1,
|
||||
"lcp": {
|
||||
"ms": 144,
|
||||
"url": "",
|
||||
"tag": "H1"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/scene.jpg",
|
||||
"transfer": 146772,
|
||||
"encoded": 146472
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing.jpg",
|
||||
"transfer": 102650,
|
||||
"encoded": 102350
|
||||
}
|
||||
],
|
||||
"css": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/lib/bootstrap/dist/css/bootstrap.min.css",
|
||||
"ms": 43.59999999962747
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-site.css?v=A61RaK5orsdIyLcOS0KBJZ3ZpRjXIYzKk0QhTUDQvls",
|
||||
"ms": 18.100000001490116
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/site.css?v=FSOc5A1C0eViohMfIJ7UMECMcEKWyp4REawFYNUZU_E",
|
||||
"ms": 44.40000000037253
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-art-direction.css?v=KQSqty6z0WO-Xk1YfuGmFaTcL0abmfYHMuP66SkNk-U",
|
||||
"ms": 12.5
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=A07-q07zMcRqt5ZidpNH6SFiZiXL9xBBUgCMTnkLHes",
|
||||
"ms": 14.199999999254942
|
||||
}
|
||||
],
|
||||
"totalBytes": 982465
|
||||
},
|
||||
{
|
||||
"path": "/",
|
||||
"width": 1440,
|
||||
"run": 0,
|
||||
"lcp": {
|
||||
"ms": 188,
|
||||
"url": "",
|
||||
"tag": "H1"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/scene.jpg",
|
||||
"transfer": 146772,
|
||||
"encoded": 146472
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing.jpg",
|
||||
"transfer": 102650,
|
||||
"encoded": 102350
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/calendar.jpg",
|
||||
"transfer": 107124,
|
||||
"encoded": 106824
|
||||
}
|
||||
],
|
||||
"css": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/lib/bootstrap/dist/css/bootstrap.min.css",
|
||||
"ms": 37.19999999925494
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/site.css?v=FSOc5A1C0eViohMfIJ7UMECMcEKWyp4REawFYNUZU_E",
|
||||
"ms": 42.30000000074506
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-site.css?v=A61RaK5orsdIyLcOS0KBJZ3ZpRjXIYzKk0QhTUDQvls",
|
||||
"ms": 14.299999998882413
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-art-direction.css?v=KQSqty6z0WO-Xk1YfuGmFaTcL0abmfYHMuP66SkNk-U",
|
||||
"ms": 18.90000000037253
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=A07-q07zMcRqt5ZidpNH6SFiZiXL9xBBUgCMTnkLHes",
|
||||
"ms": 19.5
|
||||
}
|
||||
],
|
||||
"totalBytes": 1089589
|
||||
},
|
||||
{
|
||||
"path": "/",
|
||||
"width": 1440,
|
||||
"run": 1,
|
||||
"lcp": {
|
||||
"ms": 192,
|
||||
"url": "",
|
||||
"tag": "H1"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/scene.jpg",
|
||||
"transfer": 146772,
|
||||
"encoded": 146472
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing.jpg",
|
||||
"transfer": 102650,
|
||||
"encoded": 102350
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/calendar.jpg",
|
||||
"transfer": 107124,
|
||||
"encoded": 106824
|
||||
}
|
||||
],
|
||||
"css": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/lib/bootstrap/dist/css/bootstrap.min.css",
|
||||
"ms": 45.20000000111759
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/site.css?v=FSOc5A1C0eViohMfIJ7UMECMcEKWyp4REawFYNUZU_E",
|
||||
"ms": 38.5
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-site.css?v=A61RaK5orsdIyLcOS0KBJZ3ZpRjXIYzKk0QhTUDQvls",
|
||||
"ms": 18.199999999254942
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=A07-q07zMcRqt5ZidpNH6SFiZiXL9xBBUgCMTnkLHes",
|
||||
"ms": 13.800000000745058
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-art-direction.css?v=KQSqty6z0WO-Xk1YfuGmFaTcL0abmfYHMuP66SkNk-U",
|
||||
"ms": 18.300000000745058
|
||||
}
|
||||
],
|
||||
"totalBytes": 1089589
|
||||
},
|
||||
{
|
||||
"path": "/features",
|
||||
"width": 390,
|
||||
"run": 0,
|
||||
"lcp": {
|
||||
"ms": 156,
|
||||
"url": "",
|
||||
"tag": "P"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing.jpg",
|
||||
"transfer": 102650,
|
||||
"encoded": 102350
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/workspace.jpg",
|
||||
"transfer": 99038,
|
||||
"encoded": 98738
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/characters.jpg",
|
||||
"transfer": 99510,
|
||||
"encoded": 99210
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/scene.jpg",
|
||||
"transfer": 146772,
|
||||
"encoded": 146472
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/calendar.jpg",
|
||||
"transfer": 107124,
|
||||
"encoded": 106824
|
||||
}
|
||||
],
|
||||
"css": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/lib/bootstrap/dist/css/bootstrap.min.css",
|
||||
"ms": 51.100000001490116
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/site.css?v=FSOc5A1C0eViohMfIJ7UMECMcEKWyp4REawFYNUZU_E",
|
||||
"ms": 40
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-site.css?v=A61RaK5orsdIyLcOS0KBJZ3ZpRjXIYzKk0QhTUDQvls",
|
||||
"ms": 16.59999999962747
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-art-direction.css?v=KQSqty6z0WO-Xk1YfuGmFaTcL0abmfYHMuP66SkNk-U",
|
||||
"ms": 17
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=A07-q07zMcRqt5ZidpNH6SFiZiXL9xBBUgCMTnkLHes",
|
||||
"ms": 42.100000001490116
|
||||
}
|
||||
],
|
||||
"totalBytes": 1288137
|
||||
},
|
||||
{
|
||||
"path": "/features",
|
||||
"width": 390,
|
||||
"run": 1,
|
||||
"lcp": {
|
||||
"ms": 156,
|
||||
"url": "",
|
||||
"tag": "P"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing.jpg",
|
||||
"transfer": 102650,
|
||||
"encoded": 102350
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/workspace.jpg",
|
||||
"transfer": 99038,
|
||||
"encoded": 98738
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/characters.jpg",
|
||||
"transfer": 99510,
|
||||
"encoded": 99210
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/scene.jpg",
|
||||
"transfer": 146772,
|
||||
"encoded": 146472
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/calendar.jpg",
|
||||
"transfer": 107124,
|
||||
"encoded": 106824
|
||||
}
|
||||
],
|
||||
"css": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/lib/bootstrap/dist/css/bootstrap.min.css",
|
||||
"ms": 59.29999999888241
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-site.css?v=A61RaK5orsdIyLcOS0KBJZ3ZpRjXIYzKk0QhTUDQvls",
|
||||
"ms": 17.5
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/site.css?v=FSOc5A1C0eViohMfIJ7UMECMcEKWyp4REawFYNUZU_E",
|
||||
"ms": 29.699999999254942
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-art-direction.css?v=KQSqty6z0WO-Xk1YfuGmFaTcL0abmfYHMuP66SkNk-U",
|
||||
"ms": 17.90000000037253
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=A07-q07zMcRqt5ZidpNH6SFiZiXL9xBBUgCMTnkLHes",
|
||||
"ms": 18.300000000745058
|
||||
}
|
||||
],
|
||||
"totalBytes": 1288137
|
||||
},
|
||||
{
|
||||
"path": "/features",
|
||||
"width": 1440,
|
||||
"run": 0,
|
||||
"lcp": {
|
||||
"ms": 176,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing.jpg",
|
||||
"tag": "IMG"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing.jpg",
|
||||
"transfer": 102650,
|
||||
"encoded": 102350
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/characters.jpg",
|
||||
"transfer": 99510,
|
||||
"encoded": 99210
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/workspace.jpg",
|
||||
"transfer": 99038,
|
||||
"encoded": 98738
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/scene.jpg",
|
||||
"transfer": 146772,
|
||||
"encoded": 146472
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/calendar.jpg",
|
||||
"transfer": 107124,
|
||||
"encoded": 106824
|
||||
}
|
||||
],
|
||||
"css": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/lib/bootstrap/dist/css/bootstrap.min.css",
|
||||
"ms": 41.59999999962747
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/site.css?v=FSOc5A1C0eViohMfIJ7UMECMcEKWyp4REawFYNUZU_E",
|
||||
"ms": 43.5
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-site.css?v=A61RaK5orsdIyLcOS0KBJZ3ZpRjXIYzKk0QhTUDQvls",
|
||||
"ms": 15.799999998882413
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-art-direction.css?v=KQSqty6z0WO-Xk1YfuGmFaTcL0abmfYHMuP66SkNk-U",
|
||||
"ms": 17.59999999962747
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=A07-q07zMcRqt5ZidpNH6SFiZiXL9xBBUgCMTnkLHes",
|
||||
"ms": 17.699999999254942
|
||||
}
|
||||
],
|
||||
"totalBytes": 1288137
|
||||
},
|
||||
{
|
||||
"path": "/features",
|
||||
"width": 1440,
|
||||
"run": 1,
|
||||
"lcp": {
|
||||
"ms": 152,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing.jpg",
|
||||
"tag": "IMG"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing.jpg",
|
||||
"transfer": 102650,
|
||||
"encoded": 102350
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/workspace.jpg",
|
||||
"transfer": 99038,
|
||||
"encoded": 98738
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/characters.jpg",
|
||||
"transfer": 99510,
|
||||
"encoded": 99210
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/scene.jpg",
|
||||
"transfer": 146772,
|
||||
"encoded": 146472
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/calendar.jpg",
|
||||
"transfer": 107124,
|
||||
"encoded": 106824
|
||||
}
|
||||
],
|
||||
"css": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/lib/bootstrap/dist/css/bootstrap.min.css",
|
||||
"ms": 37.90000000037253
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/site.css?v=FSOc5A1C0eViohMfIJ7UMECMcEKWyp4REawFYNUZU_E",
|
||||
"ms": 40.899999998509884
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-site.css?v=A61RaK5orsdIyLcOS0KBJZ3ZpRjXIYzKk0QhTUDQvls",
|
||||
"ms": 16.09999999962747
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-art-direction.css?v=KQSqty6z0WO-Xk1YfuGmFaTcL0abmfYHMuP66SkNk-U",
|
||||
"ms": 17.199999999254942
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=A07-q07zMcRqt5ZidpNH6SFiZiXL9xBBUgCMTnkLHes",
|
||||
"ms": 17.200000001117587
|
||||
}
|
||||
],
|
||||
"totalBytes": 1288137
|
||||
},
|
||||
{
|
||||
"path": "/writing-problems",
|
||||
"width": 390,
|
||||
"run": 0,
|
||||
"lcp": {
|
||||
"ms": 220,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"tag": "SECTION"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"transfer": 176969,
|
||||
"encoded": 176669
|
||||
}
|
||||
],
|
||||
"css": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/lib/bootstrap/dist/css/bootstrap.min.css",
|
||||
"ms": 46.100000001490116
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/site.css?v=FSOc5A1C0eViohMfIJ7UMECMcEKWyp4REawFYNUZU_E",
|
||||
"ms": 42.59999999962747
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-site.css?v=A61RaK5orsdIyLcOS0KBJZ3ZpRjXIYzKk0QhTUDQvls",
|
||||
"ms": 43.09999999962747
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-art-direction.css?v=KQSqty6z0WO-Xk1YfuGmFaTcL0abmfYHMuP66SkNk-U",
|
||||
"ms": 32.30000000074506
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=A07-q07zMcRqt5ZidpNH6SFiZiXL9xBBUgCMTnkLHes",
|
||||
"ms": 46.09999999962747
|
||||
}
|
||||
],
|
||||
"totalBytes": 911449
|
||||
},
|
||||
{
|
||||
"path": "/writing-problems",
|
||||
"width": 390,
|
||||
"run": 1,
|
||||
"lcp": {
|
||||
"ms": 204,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"tag": "SECTION"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"transfer": 176969,
|
||||
"encoded": 176669
|
||||
}
|
||||
],
|
||||
"css": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/lib/bootstrap/dist/css/bootstrap.min.css",
|
||||
"ms": 43.79999999888241
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/site.css?v=FSOc5A1C0eViohMfIJ7UMECMcEKWyp4REawFYNUZU_E",
|
||||
"ms": 38.80000000074506
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-site.css?v=A61RaK5orsdIyLcOS0KBJZ3ZpRjXIYzKk0QhTUDQvls",
|
||||
"ms": 39.100000001490116
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-art-direction.css?v=KQSqty6z0WO-Xk1YfuGmFaTcL0abmfYHMuP66SkNk-U",
|
||||
"ms": 39.399999998509884
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=A07-q07zMcRqt5ZidpNH6SFiZiXL9xBBUgCMTnkLHes",
|
||||
"ms": 39.40000000037253
|
||||
}
|
||||
],
|
||||
"totalBytes": 911449
|
||||
},
|
||||
{
|
||||
"path": "/writing-problems",
|
||||
"width": 1440,
|
||||
"run": 0,
|
||||
"lcp": {
|
||||
"ms": 248,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"tag": "SECTION"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"transfer": 176969,
|
||||
"encoded": 176669
|
||||
}
|
||||
],
|
||||
"css": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/lib/bootstrap/dist/css/bootstrap.min.css",
|
||||
"ms": 39.5
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/site.css?v=FSOc5A1C0eViohMfIJ7UMECMcEKWyp4REawFYNUZU_E",
|
||||
"ms": 45.19999999925494
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-site.css?v=A61RaK5orsdIyLcOS0KBJZ3ZpRjXIYzKk0QhTUDQvls",
|
||||
"ms": 20.59999999962747
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-art-direction.css?v=KQSqty6z0WO-Xk1YfuGmFaTcL0abmfYHMuP66SkNk-U",
|
||||
"ms": 20.800000000745058
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=A07-q07zMcRqt5ZidpNH6SFiZiXL9xBBUgCMTnkLHes",
|
||||
"ms": 41.70000000111759
|
||||
}
|
||||
],
|
||||
"totalBytes": 911449
|
||||
},
|
||||
{
|
||||
"path": "/writing-problems",
|
||||
"width": 1440,
|
||||
"run": 1,
|
||||
"lcp": {
|
||||
"ms": 292,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"tag": "SECTION"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"transfer": 176969,
|
||||
"encoded": 176669
|
||||
}
|
||||
],
|
||||
"css": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/lib/bootstrap/dist/css/bootstrap.min.css",
|
||||
"ms": 39.80000000074506
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-site.css?v=A61RaK5orsdIyLcOS0KBJZ3ZpRjXIYzKk0QhTUDQvls",
|
||||
"ms": 40.69999999925494
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/site.css?v=FSOc5A1C0eViohMfIJ7UMECMcEKWyp4REawFYNUZU_E",
|
||||
"ms": 43.69999999925494
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-art-direction.css?v=KQSqty6z0WO-Xk1YfuGmFaTcL0abmfYHMuP66SkNk-U",
|
||||
"ms": 15.599999999627471
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=A07-q07zMcRqt5ZidpNH6SFiZiXL9xBBUgCMTnkLHes",
|
||||
"ms": 31.300000000745058
|
||||
}
|
||||
],
|
||||
"totalBytes": 911449
|
||||
},
|
||||
{
|
||||
"path": "/pricing",
|
||||
"width": 390,
|
||||
"run": 0,
|
||||
"lcp": {
|
||||
"ms": 124,
|
||||
"url": "",
|
||||
"tag": "H1"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [],
|
||||
"css": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/lib/bootstrap/dist/css/bootstrap.min.css",
|
||||
"ms": 43.30000000074506
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/site.css?v=FSOc5A1C0eViohMfIJ7UMECMcEKWyp4REawFYNUZU_E",
|
||||
"ms": 32.40000000037253
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-site.css?v=A61RaK5orsdIyLcOS0KBJZ3ZpRjXIYzKk0QhTUDQvls",
|
||||
"ms": 12.599999999627471
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-art-direction.css?v=KQSqty6z0WO-Xk1YfuGmFaTcL0abmfYHMuP66SkNk-U",
|
||||
"ms": 32.79999999888241
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=A07-q07zMcRqt5ZidpNH6SFiZiXL9xBBUgCMTnkLHes",
|
||||
"ms": 14.300000000745058
|
||||
}
|
||||
],
|
||||
"totalBytes": 733043
|
||||
},
|
||||
{
|
||||
"path": "/pricing",
|
||||
"width": 390,
|
||||
"run": 1,
|
||||
"lcp": {
|
||||
"ms": 124,
|
||||
"url": "",
|
||||
"tag": "H1"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [],
|
||||
"css": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/lib/bootstrap/dist/css/bootstrap.min.css",
|
||||
"ms": 40.40000000037253
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/site.css?v=FSOc5A1C0eViohMfIJ7UMECMcEKWyp4REawFYNUZU_E",
|
||||
"ms": 41.20000000111759
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-site.css?v=A61RaK5orsdIyLcOS0KBJZ3ZpRjXIYzKk0QhTUDQvls",
|
||||
"ms": 12.599999999627471
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-art-direction.css?v=KQSqty6z0WO-Xk1YfuGmFaTcL0abmfYHMuP66SkNk-U",
|
||||
"ms": 16.5
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=A07-q07zMcRqt5ZidpNH6SFiZiXL9xBBUgCMTnkLHes",
|
||||
"ms": 25.90000000037253
|
||||
}
|
||||
],
|
||||
"totalBytes": 733043
|
||||
},
|
||||
{
|
||||
"path": "/pricing",
|
||||
"width": 1440,
|
||||
"run": 0,
|
||||
"lcp": {
|
||||
"ms": 128,
|
||||
"url": "",
|
||||
"tag": "H1"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [],
|
||||
"css": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/lib/bootstrap/dist/css/bootstrap.min.css",
|
||||
"ms": 33
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/site.css?v=FSOc5A1C0eViohMfIJ7UMECMcEKWyp4REawFYNUZU_E",
|
||||
"ms": 43.59999999962747
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-site.css?v=A61RaK5orsdIyLcOS0KBJZ3ZpRjXIYzKk0QhTUDQvls",
|
||||
"ms": 36.40000000037253
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-art-direction.css?v=KQSqty6z0WO-Xk1YfuGmFaTcL0abmfYHMuP66SkNk-U",
|
||||
"ms": 27.59999999962747
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=A07-q07zMcRqt5ZidpNH6SFiZiXL9xBBUgCMTnkLHes",
|
||||
"ms": 36.40000000037253
|
||||
}
|
||||
],
|
||||
"totalBytes": 733043
|
||||
},
|
||||
{
|
||||
"path": "/pricing",
|
||||
"width": 1440,
|
||||
"run": 1,
|
||||
"lcp": {
|
||||
"ms": 108,
|
||||
"url": "",
|
||||
"tag": "H1"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [],
|
||||
"css": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/lib/bootstrap/dist/css/bootstrap.min.css",
|
||||
"ms": 35.69999999925494
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/site.css?v=FSOc5A1C0eViohMfIJ7UMECMcEKWyp4REawFYNUZU_E",
|
||||
"ms": 38.20000000111759
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-site.css?v=A61RaK5orsdIyLcOS0KBJZ3ZpRjXIYzKk0QhTUDQvls",
|
||||
"ms": 20.899999998509884
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-art-direction.css?v=KQSqty6z0WO-Xk1YfuGmFaTcL0abmfYHMuP66SkNk-U",
|
||||
"ms": 28.199999999254942
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=A07-q07zMcRqt5ZidpNH6SFiZiXL9xBBUgCMTnkLHes",
|
||||
"ms": 28.40000000037253
|
||||
}
|
||||
],
|
||||
"totalBytes": 733043
|
||||
},
|
||||
{
|
||||
"path": "/writing-problems/timeline-doesnt-add-up",
|
||||
"width": 390,
|
||||
"run": 0,
|
||||
"lcp": {
|
||||
"ms": 228,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"tag": "DIV"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"transfer": 176969,
|
||||
"encoded": 176669
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/timeline-chronology-640.avif",
|
||||
"transfer": 18348,
|
||||
"encoded": 18048
|
||||
}
|
||||
],
|
||||
"css": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/lib/bootstrap/dist/css/bootstrap.min.css",
|
||||
"ms": 43.80000000074506
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/site.css?v=FSOc5A1C0eViohMfIJ7UMECMcEKWyp4REawFYNUZU_E",
|
||||
"ms": 39.30000000074506
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-site.css?v=A61RaK5orsdIyLcOS0KBJZ3ZpRjXIYzKk0QhTUDQvls",
|
||||
"ms": 20.600000001490116
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-art-direction.css?v=KQSqty6z0WO-Xk1YfuGmFaTcL0abmfYHMuP66SkNk-U",
|
||||
"ms": 21.199999999254942
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=A07-q07zMcRqt5ZidpNH6SFiZiXL9xBBUgCMTnkLHes",
|
||||
"ms": 23
|
||||
}
|
||||
],
|
||||
"totalBytes": 931112
|
||||
},
|
||||
{
|
||||
"path": "/writing-problems/timeline-doesnt-add-up",
|
||||
"width": 390,
|
||||
"run": 1,
|
||||
"lcp": {
|
||||
"ms": 208,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"tag": "DIV"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"transfer": 176969,
|
||||
"encoded": 176669
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/timeline-chronology-640.avif",
|
||||
"transfer": 18348,
|
||||
"encoded": 18048
|
||||
}
|
||||
],
|
||||
"css": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/lib/bootstrap/dist/css/bootstrap.min.css",
|
||||
"ms": 32.30000000074506
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/site.css?v=FSOc5A1C0eViohMfIJ7UMECMcEKWyp4REawFYNUZU_E",
|
||||
"ms": 37.40000000037253
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-site.css?v=A61RaK5orsdIyLcOS0KBJZ3ZpRjXIYzKk0QhTUDQvls",
|
||||
"ms": 17
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-art-direction.css?v=KQSqty6z0WO-Xk1YfuGmFaTcL0abmfYHMuP66SkNk-U",
|
||||
"ms": 14.600000001490116
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=A07-q07zMcRqt5ZidpNH6SFiZiXL9xBBUgCMTnkLHes",
|
||||
"ms": 17.09999999962747
|
||||
}
|
||||
],
|
||||
"totalBytes": 931112
|
||||
},
|
||||
{
|
||||
"path": "/writing-problems/timeline-doesnt-add-up",
|
||||
"width": 1440,
|
||||
"run": 0,
|
||||
"lcp": {
|
||||
"ms": 264,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"tag": "DIV"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"transfer": 176969,
|
||||
"encoded": 176669
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/timeline-chronology.avif",
|
||||
"transfer": 43174,
|
||||
"encoded": 42874
|
||||
}
|
||||
],
|
||||
"css": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/lib/bootstrap/dist/css/bootstrap.min.css",
|
||||
"ms": 29.90000000037253
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/site.css?v=FSOc5A1C0eViohMfIJ7UMECMcEKWyp4REawFYNUZU_E",
|
||||
"ms": 36.29999999888241
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-site.css?v=A61RaK5orsdIyLcOS0KBJZ3ZpRjXIYzKk0QhTUDQvls",
|
||||
"ms": 38.19999999925494
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-art-direction.css?v=KQSqty6z0WO-Xk1YfuGmFaTcL0abmfYHMuP66SkNk-U",
|
||||
"ms": 38.69999999925494
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=A07-q07zMcRqt5ZidpNH6SFiZiXL9xBBUgCMTnkLHes",
|
||||
"ms": 39.30000000074506
|
||||
}
|
||||
],
|
||||
"totalBytes": 955938
|
||||
},
|
||||
{
|
||||
"path": "/writing-problems/timeline-doesnt-add-up",
|
||||
"width": 1440,
|
||||
"run": 1,
|
||||
"lcp": {
|
||||
"ms": 280,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"tag": "DIV"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.avif",
|
||||
"transfer": 176969,
|
||||
"encoded": 176669
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/timeline-chronology.avif",
|
||||
"transfer": 43174,
|
||||
"encoded": 42874
|
||||
}
|
||||
],
|
||||
"css": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/lib/bootstrap/dist/css/bootstrap.min.css",
|
||||
"ms": 55
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/site.css?v=FSOc5A1C0eViohMfIJ7UMECMcEKWyp4REawFYNUZU_E",
|
||||
"ms": 49.40000000037253
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-site.css?v=A61RaK5orsdIyLcOS0KBJZ3ZpRjXIYzKk0QhTUDQvls",
|
||||
"ms": 27.90000000037253
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/public-art-direction.css?v=KQSqty6z0WO-Xk1YfuGmFaTcL0abmfYHMuP66SkNk-U",
|
||||
"ms": 30.09999999962747
|
||||
},
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/css/writing-solver.css?v=A07-q07zMcRqt5ZidpNH6SFiZiXL9xBBUgCMTnkLHes",
|
||||
"ms": 30.700000001117587
|
||||
}
|
||||
],
|
||||
"totalBytes": 955938
|
||||
}
|
||||
]
|
||||
6
Docs/PublicVisualIdentity/Evidence/regressions.txt
Normal file
@ -0,0 +1,6 @@
|
||||
Build succeeds, zero errors (existing nullable test warnings).
|
||||
Full regression harness: 395 PASS.
|
||||
Public browser: all seven application themes with browser/standalone and signed-in/out modes; public pages stay public; only installed authentication adopts the selected application theme; normal auth validation and pricing CTA contracts preserved.
|
||||
Application house-theme check: existing seven choices, selection persistence, text/control/focus/data contrast and workspace layouts pass. No application-theme files modified.
|
||||
New visual browser: three distinct scene assets, one responsive variant per page, mobile art direction and WebP fallback; eager/high-priority hero; full-width canvas; 390/768/1440/1920; ten other public types, no overflow or extra photography.
|
||||
Pixel preservation: Solver entry and permanent result match the prior live runtime exactly at 390 and 1440px.
|
||||
146
Docs/PublicVisualIdentity/Evidence/responsive-selection.json
Normal file
@ -0,0 +1,146 @@
|
||||
[
|
||||
{
|
||||
"name": "home",
|
||||
"width": 390,
|
||||
"selected": "http://127.0.0.1:5238/images/public/scenes/home-mobile-480.avif",
|
||||
"resources": [
|
||||
{
|
||||
"url": "http://127.0.0.1:5238/images/public/scenes/home-mobile-480.avif",
|
||||
"bytes": 41826,
|
||||
"encoded": 41526
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "tour",
|
||||
"width": 390,
|
||||
"selected": "http://127.0.0.1:5238/images/public/scenes/tour-mobile-480.avif",
|
||||
"resources": [
|
||||
{
|
||||
"url": "http://127.0.0.1:5238/images/public/scenes/tour-mobile-480.avif",
|
||||
"bytes": 40158,
|
||||
"encoded": 39858
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "pricing",
|
||||
"width": 390,
|
||||
"selected": "http://127.0.0.1:5238/images/public/scenes/pricing-mobile-480.avif",
|
||||
"resources": [
|
||||
{
|
||||
"url": "http://127.0.0.1:5238/images/public/scenes/pricing-mobile-480.avif",
|
||||
"bytes": 37932,
|
||||
"encoded": 37632
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "home",
|
||||
"width": 768,
|
||||
"selected": "http://127.0.0.1:5238/images/public/scenes/home-wide-768.avif",
|
||||
"resources": [
|
||||
{
|
||||
"url": "http://127.0.0.1:5238/images/public/scenes/home-wide-768.avif",
|
||||
"bytes": 41372,
|
||||
"encoded": 41072
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "tour",
|
||||
"width": 768,
|
||||
"selected": "http://127.0.0.1:5238/images/public/scenes/tour-wide-768.avif",
|
||||
"resources": [
|
||||
{
|
||||
"url": "http://127.0.0.1:5238/images/public/scenes/tour-wide-768.avif",
|
||||
"bytes": 36193,
|
||||
"encoded": 35893
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "pricing",
|
||||
"width": 768,
|
||||
"selected": "http://127.0.0.1:5238/images/public/scenes/pricing-wide-768.avif",
|
||||
"resources": [
|
||||
{
|
||||
"url": "http://127.0.0.1:5238/images/public/scenes/pricing-wide-768.avif",
|
||||
"bytes": 31981,
|
||||
"encoded": 31681
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "home",
|
||||
"width": 1440,
|
||||
"selected": "http://127.0.0.1:5238/images/public/scenes/home-wide-1536.avif",
|
||||
"resources": [
|
||||
{
|
||||
"url": "http://127.0.0.1:5238/images/public/scenes/home-wide-1536.avif",
|
||||
"bytes": 128230,
|
||||
"encoded": 127930
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "tour",
|
||||
"width": 1440,
|
||||
"selected": "http://127.0.0.1:5238/images/public/scenes/tour-wide-1536.avif",
|
||||
"resources": [
|
||||
{
|
||||
"url": "http://127.0.0.1:5238/images/public/scenes/tour-wide-1536.avif",
|
||||
"bytes": 129384,
|
||||
"encoded": 129084
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "pricing",
|
||||
"width": 1440,
|
||||
"selected": "http://127.0.0.1:5238/images/public/scenes/pricing-wide-1536.avif",
|
||||
"resources": [
|
||||
{
|
||||
"url": "http://127.0.0.1:5238/images/public/scenes/pricing-wide-1536.avif",
|
||||
"bytes": 126283,
|
||||
"encoded": 125983
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "home",
|
||||
"width": 1920,
|
||||
"selected": "http://127.0.0.1:5238/images/public/scenes/home-wide-1536.avif",
|
||||
"resources": [
|
||||
{
|
||||
"url": "http://127.0.0.1:5238/images/public/scenes/home-wide-1536.avif",
|
||||
"bytes": 128230,
|
||||
"encoded": 127930
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "tour",
|
||||
"width": 1920,
|
||||
"selected": "http://127.0.0.1:5238/images/public/scenes/tour-wide-1536.avif",
|
||||
"resources": [
|
||||
{
|
||||
"url": "http://127.0.0.1:5238/images/public/scenes/tour-wide-1536.avif",
|
||||
"bytes": 129384,
|
||||
"encoded": 129084
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "pricing",
|
||||
"width": 1920,
|
||||
"selected": "http://127.0.0.1:5238/images/public/scenes/pricing-wide-1536.avif",
|
||||
"resources": [
|
||||
{
|
||||
"url": "http://127.0.0.1:5238/images/public/scenes/pricing-wide-1536.avif",
|
||||
"bytes": 126283,
|
||||
"encoded": 125983
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
1
Docs/PublicVisualIdentity/Evidence/solver-clean-urls.txt
Normal file
@ -0,0 +1 @@
|
||||
PASS clean URLs: 52 direct pages; private evidence/refresh/fresh sharing; Back/Forward; revised diagnosis; 390/1440; JS/no-JS; canonical/OG/structured data; robots; sitemap Development noindex
|
||||
1
Docs/PublicVisualIdentity/Evidence/solver-modal.txt
Normal file
@ -0,0 +1 @@
|
||||
PASS seven result families × four widths: aligned main/action, shared wider prose/related area; modal fit/aspect, deferred image, keyboard focus/Tab/Escape, close/backdrop, scroll lock/restoration, no new tab or overflow; reassurance recap; no-JS image fallback.
|
||||
@ -0,0 +1,25 @@
|
||||
{
|
||||
"pixelComparisons": [
|
||||
{
|
||||
"name": "solver",
|
||||
"width": 390,
|
||||
"changedChannelBytes": 0
|
||||
},
|
||||
{
|
||||
"name": "result",
|
||||
"width": 390,
|
||||
"changedChannelBytes": 0
|
||||
},
|
||||
{
|
||||
"name": "solver",
|
||||
"width": 1440,
|
||||
"changedChannelBytes": 0
|
||||
},
|
||||
{
|
||||
"name": "result",
|
||||
"width": 1440,
|
||||
"changedChannelBytes": 0
|
||||
}
|
||||
],
|
||||
"mobileDpr2": "http://127.0.0.1:5238/images/public/scenes/home-mobile-704.avif"
|
||||
}
|
||||
1
Docs/PublicVisualIdentity/Evidence/solver-review.txt
Normal file
@ -0,0 +1 @@
|
||||
PASS Development review: admin-only opt-in; collapsed observer; signal arithmetic; result snapshot/export/replay/resolve/resume; filters; direct-entry unchanged; revision and Back/Forward; multi-select; neutral and insufficient outcomes; no-JS at 390/1440; forged cookie denied.
|
||||
1
Docs/PublicVisualIdentity/Evidence/theme-isolation.txt
Normal file
@ -0,0 +1 @@
|
||||
PASS public theme isolation: all seven themes, browser/standalone, signed in/out; authentication palette and validation; responsive layouts, assets, navigation, checkout links and public SEO.
|
||||
BIN
Docs/PublicVisualIdentity/Masters/home-desk-v1.png
Normal file
|
After Width: | Height: | Size: 2.0 MiB |
BIN
Docs/PublicVisualIdentity/Masters/pricing-desk-v1.png
Normal file
|
After Width: | Height: | Size: 2.0 MiB |
BIN
Docs/PublicVisualIdentity/Masters/tour-desk-v1.png
Normal file
|
After Width: | Height: | Size: 2.0 MiB |
27
Docs/PublicVisualIdentity/Prompts.md
Normal file
@ -0,0 +1,27 @@
|
||||
# Original background generation
|
||||
|
||||
Built-in `image_gen.imagegen` tool, photorealistic-natural mode, 2 November 2026. No CLI/API fallback or stock imagery. One distinct generation per asset; no raster repainting or fabricated application UI. The approved Solver image was inspected as the visual reference and remains unchanged. The three original generated PNGs are retained under Masters/. Public derivatives are generated deterministically by `Tools/PublicVisualIdentity/build-assets.cjs` with Sharp: crop, resize and encode only.
|
||||
|
||||
## Home — final prompt
|
||||
|
||||
Use case: photorealistic-natural. Create a new original PlotDirector HOME website decorative photographic background, wide landscape 3:2 or wider, high-quality master. This belongs to the same visual family as a warm author's desk: soft golden afternoon window light, tactile cream/parchment, deep plum bookcloth, muted olive/sage, tan wood, soft shallow depth of field. Scene: the pleasant lived-in chaos of a novelist's work being brought under control. Along the far LEFT edge: a small uneven stack of worn manuscript sheets and an olive linen notebook, pencil and a few loose cream index cards. At the far RIGHT edge: a plum clothbound book, a fountain pen, a small warm ceramic tea cup with gentle steam and a few loose manuscript pages. The CENTRE 70 percent must remain almost empty warm pale parchment/desk light, without objects, readable marks or shadows competing with website typography. Objects should be cropped naturally by the outer edges, subtly out of focus, not arranged as product photography. Let pale cream dominate and transition naturally around the centre and lower edge. Slightly more active/creative than a calm reference shelf-and-tea scene. This is an atmospheric background only: NO words, letters, logos, typography, interface, computers, laptops, phones, people, labels, watermarks, framed image, collage panels or artificial stock-photo gloss. Preserve natural material realism and gentle editorial warmth. Generate ONE composition, not a contact sheet.
|
||||
|
||||
Saved master: `Masters/home-desk-v1.png` (1536×1024). Built-in source: `exec-38620287-59f5-4f89-a24d-669392e36a21.png`.
|
||||
|
||||
## Tour — final prompt
|
||||
|
||||
Use case: photorealistic-natural. Generate ONE original wide landscape decorative photographic background for PlotDirector's TOUR public page. Coordinated family with a warm lived-in writer's desk: golden window light, cream/parchment, muted sage/olive, deep plum cloth, warm charcoal brown, restrained tan. Distinct composition: viewed from a gentle overhead angle, organised loose index cards with a few bookmarks and soft page tabs along the far LEFT perimeter, a thin open notebook partly cropped at the upper RIGHT perimeter, a simple fountain pen and neatly gathered manuscript leaves at the far lower RIGHT. Small natural irregularities, worn paper fibres, believable soft shadows, shallow depth of field. The mood is a friendly guided exploration of the connected machinery of a novel, never a corporate office. Keep the entire CENTRAL 70 percent almost empty very pale warm parchment negative space for existing website headings and live application demonstrations, and naturally fade material detail toward the centre and bottom. Objects clustered at extreme margins, no hard rectangular photograph borders. Compatible photographic realism and light with the approved PlotDirector solver desk; do not repeat the solver's bookshelf/tea arrangement or the Home composition. NO readable text, letters, labels, logos, watermark, computers, phones, software UI, people, collage grid, contact sheet or pristine stock-photography styling. High-quality master.
|
||||
|
||||
Saved master: `Masters/tour-desk-v1.png` (1672×941). Built-in source: `exec-1bafc8ac-1c34-4b86-afa9-5d46128939ea.png`.
|
||||
|
||||
## Pricing — final prompt
|
||||
|
||||
Use case: photorealistic-natural. Generate ONE original wide landscape decorative photographic background for PlotDirector PRICING. A notably quieter scene in the same warm author's-desk family: soft golden afternoon window light, pale cream parchment, tan wood, muted olive/sage, deep plum accents, warm charcoal-brown shadows. Distinct composition: at the extreme upper LEFT corner a single small closed plum linen book resting on a thin cream notebook, with a simple pen alongside; at the extreme lower RIGHT corner just the edge of a handmade tea cup on a quiet wooden coaster, a little folded sage linen. No other desk clutter. Use a gentle overhead oblique view, soft depth of field, believable tactile natural materials, editorial warmth rather than commercial product styling. CENTRAL 75 percent exceptionally clear pale cream, almost blank, for prices and plan comparisons. Outer elements may be partially cut off by the frame; soft unobtrusive shadows feather naturally into the clear centre and bottom. Calm, comfortable, straightforward, no sales circus. Compatible with a lived-in novelist's desk website, distinct from Home's manuscripts and Tour's organised index-card scene. NO text, lettering, labels, prices, logos, people, electronics, screens, interfaces, watermarks, montage, decorative rectangular frame or pristine corporate desk. High-quality master.
|
||||
|
||||
Saved master: `Masters/pricing-desk-v1.png` (1672×941). Built-in source: `exec-453e5b3b-8ca7-4318-9151-71741ead9fbe.png`.
|
||||
|
||||
## Delivery
|
||||
|
||||
Each scene has AVIF and WebP in wide widths 768 / 1152 / 1536px and distinct mobile portrait crops at 480 / 704px. Original master dimensions are retained rather than manufacturing a larger master through upscaling. Desktop wide assets retain the native detail appropriate to a soft decorative background, including the verified 1920px viewport. Mobile focuses on the left notebook/book/card grouping and fades beneath the copy; it does not scale the entire desktop scene down into tiny objects.
|
||||
|
||||
Inventory: [AssetManifest.json](AssetManifest.json), with exact dimensions, bytes and public URLs for all 30 derivatives. Masters are outside the web application's static directory. No generated image is an application screenshot; existing real application imagery remains separate content.
|
||||
44
Docs/PublicVisualIdentity/Report.md
Normal file
@ -0,0 +1,44 @@
|
||||
# One public PlotDirector visual identity
|
||||
|
||||
The approved Solver's cream/parchment, plum, muted sage, warm ink, tan borders and restrained gold now live in the shared public system rather than making unrelated pages depend on solver-specific CSS. The Solver's original image, layout, content, screenshot mappings and behaviour remain unchanged. A pixel comparison of the Solver entry and a permanent result at 390/1440px against the prior live runtime found zero changed channel bytes.
|
||||
|
||||
## Three different scenes
|
||||
|
||||
- **Home:** an olive notebook, loose manuscript leaves, pencil, plum book and tea at the edges. The existing headline, manuscript/sticky-note illustration, deliberate density, section order and all copy remain intact. The photographic perimeter adds the feeling of work in progress being brought into focus.
|
||||
- **Tour:** organised cards, tabs, bookmark, open notebook and gathered pages. Existing headings, navigation stops and real application screenshots remain the content. Warm alternating surfaces and restrained paper shadows frame the guided exploration.
|
||||
- **Pricing:** a single closed book/notebook and pen, with tea/linen at the opposite edge. Its centre is especially quiet. Cards use warm paper and sage emphasis; plan names, prices, entitlements, trial behaviour and CTA destinations are untouched.
|
||||
|
||||
Each photographic layer fills the hero canvas independently of the constrained content. The shared fade follows the content edge, protecting small text, and dissolves into cream before the next section. No centred rectangular image block, tiling or page-sized blank gutters. Mobile uses deliberate left-side portrait crops and a stronger fade so content stays primary. Existing illustration and real software demonstrations remain separate from the generated photographs.
|
||||
|
||||
## Shared implementation
|
||||
|
||||
`public-site.css` owns palette/content-width primitives. `public-visual-system.css` owns public navigation/controls, photography/fades and restrained public surface treatments. `_PublicScene.cshtml` supplies the same accessible decorative picture structure for three page-specific compositions. Photographs are aria-hidden, empty-alt background layers and never contain a software mock-up. The three views add the shared partial and classes without rewriting content.
|
||||
|
||||
`writing-solver.css` now contains Solver-specific rules; the public layout requests it only for Writing Problems and its existing review pages. Home/Tour/Pricing and ordinary support/account pages no longer download a Solver stylesheet they do not need. The shared public styles are gated by `html[data-site-theme="public"]`; they cannot match a PWA authentication root that has adopted an application theme. No application CSS, palette or theme implementation changes.
|
||||
|
||||
## Other pages audited
|
||||
|
||||
| Page type | Treatment and photography decision |
|
||||
| --- | --- |
|
||||
| Solver entry, browse and all permanent results | Existing approved Solver canvas retained; shared primitive extraction verified visually and through existing tests. No new image or content. |
|
||||
| Public feature detail pages | Existing related Solver-style visual canvas retained; no gratuitous new hero. |
|
||||
| Help index/category/article | Cream canvas, warm card borders, plum controls, editorial headings. No photographic hero: search and guidance stay primary. |
|
||||
| Our Story/About | Quiet sage/cream vignette, warm rule and existing narrative typography. No photograph: the author's story leads. |
|
||||
| Contact | Same restrained public surfaces, clear contact links/cards. No extra photographic payload. |
|
||||
| Privacy and Terms | Cream and warm ink, readable existing long-form structure, subtle heading rule. No photograph competing with legal copy. |
|
||||
| Browser login/register/account entry | Warm public card/controls and existing public chrome, regardless of saved application theme. No photo distracting from entry/verification. |
|
||||
| Installed/PWA authentication | Existing selected application theme and architecture preserved; the new public layer does not match its root. |
|
||||
|
||||
## Assets and provenance
|
||||
|
||||
Built-in **imagegen** workflow, three original images, retained in [Masters](Masters/). Exact final prompt set and provenance: [Prompts.md](Prompts.md).
|
||||
|
||||
Thirty optimised delivery derivatives are under `PlotLine/wwwroot/images/public/scenes/`: each scene has wide 768/1152/1536px and portrait 480/704px sizes in AVIF and WebP. [AssetManifest.json](AssetManifest.json) records exact dimensions, bytes and public paths. `Tools/PublicVisualIdentity/build-assets.cjs` reproduces the derivatives from retained masters using crop/resize/encode only. Originals are outside the application's static directory; no master PNG is referenced by a page.
|
||||
|
||||
The widest AVIFs are approximately 123–126 KiB at high quality; 480px mobile AVIFs approximately 37–41 KiB. Smaller than the requested approximate targets without harsh quality reduction. A 2× 390px device selects the 704px portrait rather than a desktop image. AVIF is preferred with a real WebP fallback. One variant downloads per page; responsive image markup is eager/high-priority for the hero, with absolute dimensions/cover layout so imagery cannot shift content. No new JavaScript or gallery dependency.
|
||||
|
||||
## Visual and regression verification
|
||||
|
||||
All four target widths (390/768/1440/1920) checked for the three new scenes and ten other page types: no horizontal overflow, readable central surfaces, genuine distinct compositions. Side-by-side captures in [Verification](Verification/) show **Home → Tour → Solver → Pricing**, left to right. Captures contain viewport content only, no browser chrome, and are internal evidence rather than public assets.
|
||||
|
||||
All 395 regression checks pass. Existing public browser checks cover all seven themes, signed-in/out browser/standalone paths, authentication validation, navigation and pricing CTA contracts. The stale public test's old default-theme expectation was aligned with the already-approved PlotDirector default, without changing theme code. House-theme selection, contrast and application workspace checks also pass unchanged. Solver clean-URL, modal and Review Mode regressions are retained. Delivery/live performance results are recorded in Deployment.md.
|
||||
BIN
Docs/PublicVisualIdentity/Verification/comparison-1440.webp
Normal file
|
After Width: | Height: | Size: 101 KiB |
BIN
Docs/PublicVisualIdentity/Verification/comparison-1920.webp
Normal file
|
After Width: | Height: | Size: 83 KiB |
BIN
Docs/PublicVisualIdentity/Verification/comparison-390.webp
Normal file
|
After Width: | Height: | Size: 148 KiB |
5
PlotLine.Tests/Browser/public-content-snapshot.cjs
Normal file
@ -0,0 +1,5 @@
|
||||
const{chromium}=require('playwright'),fs=require('node:fs'),assert=require('node:assert/strict');
|
||||
(async()=>{const b=await chromium.launch();try{const c=await b.newContext(),p=await c.newPage(),snapshot={};for(const path of ['/','/features','/pricing','/help','/about','/contact','/privacy','/terms','/Account/Login','/Account/Register']){
|
||||
await p.goto('https://dev.plotdirector.com'+path);
|
||||
snapshot[path]={text:await p.locator('main').innerText(),canonical:(await p.locator('link[rel=canonical]').count())?await p.locator('link[rel=canonical]').getAttribute('href'):null,actions:await p.locator('main a').evaluateAll(es=>es.map(e=>({text:e.textContent.trim(),href:e.getAttribute('href')})))};
|
||||
}fs.writeFileSync(process.argv[2],JSON.stringify(snapshot,null,2));if(process.argv[3]){assert.deepEqual(snapshot,JSON.parse(fs.readFileSync(process.argv[3])));console.log('PASS ten live public pages retain substantive text, prices, link destinations and canonicals.');}}finally{await b.close();}})().catch(e=>{console.error(e);process.exit(1)});
|
||||
@ -3,7 +3,7 @@
|
||||
const { chromium } = require('playwright');
|
||||
const assert = require('node:assert/strict');
|
||||
const base = 'http://127.0.0.1:5238';
|
||||
const themes = ['warm-light', 'warm-dark', 'modern-light', 'modern-dark', 'rose-pink', 'baby-blue'];
|
||||
const themes = ['plotdirector', 'warm-light', 'warm-dark', 'modern-light', 'modern-dark', 'rose-pink', 'baby-blue'];
|
||||
(async () => {
|
||||
const browser = await chromium.launch();
|
||||
const errors = [];
|
||||
@ -69,7 +69,7 @@ const themes = ['warm-light', 'warm-dark', 'modern-light', 'modern-dark', 'rose-
|
||||
const firstPage = await firstVisit.newPage();
|
||||
firstPage.on('pageerror', e => errors.push(e.message));
|
||||
await firstPage.goto(base + '/public-fixture/login?anonymous=true');
|
||||
assert.equal(await firstPage.locator('html').getAttribute('data-app-theme'), 'warm-light');
|
||||
assert.equal(await firstPage.locator('html').getAttribute('data-app-theme'), 'plotdirector');
|
||||
await firstVisit.close();
|
||||
}
|
||||
const page = await browser.newPage({ reducedMotion: 'reduce' });
|
||||
@ -115,6 +115,6 @@ const themes = ['warm-light', 'warm-dark', 'modern-light', 'modern-dark', 'rose-
|
||||
await page.waitForURL(url => url.pathname === articlePath);
|
||||
assert(await page.locator('.help-markdown-body').isVisible());
|
||||
assert.deepEqual(errors, []);
|
||||
console.log('PASS public theme isolation: all six themes, browser/standalone, signed in/out; authentication palette and validation; responsive layouts, assets, navigation, checkout links and public SEO.');
|
||||
console.log('PASS public theme isolation: all seven themes, browser/standalone, signed in/out; authentication palette and validation; responsive layouts, assets, navigation, checkout links and public SEO.');
|
||||
} finally { await browser.close(); }
|
||||
})().catch(error => { console.error(error); process.exitCode = 1; });
|
||||
|
||||
8
PlotLine.Tests/Browser/public-visual-identity.cjs
Normal file
@ -0,0 +1,8 @@
|
||||
const{chromium}=require('playwright'),assert=require('node:assert/strict'),fs=require('node:fs');
|
||||
const base=process.env.PUBLIC_BASE_URL||'http://127.0.0.1:5238',live=new URL(base).hostname==='dev.plotdirector.com';
|
||||
(async()=>{const b=await chromium.launch(),results=[];try{for(const width of [390,768,1440,1920]){const c=await b.newContext({viewport:{width,height:1000},reducedMotion:'reduce'});await c.addCookies([{name:'solver-anonymous',value:'true',url:base}]);await c.addInitScript(()=>{localStorage.setItem('plotdirector.applicationTheme','modern-dark');localStorage.setItem('plotline.theme','dark')});const p=await c.newPage();
|
||||
for(const [name,path]of [['home',live?'/':'/public-fixture/home?anonymous=true'],['tour',live?'/features':'/public-fixture/tour?anonymous=true'],['pricing',live?'/pricing':'/public-fixture/pricing?anonymous=true']]){assert.equal((await p.goto(base+path)).status(),200);await p.waitForLoadState('networkidle');assert.equal(await p.locator('html').getAttribute('data-site-theme'),'public');assert.equal(await p.locator('html').getAttribute('data-app-theme'),null);const layer=p.locator('.public-scene'),img=layer.locator('img');assert.equal(await layer.getAttribute('aria-hidden'),'true');assert.equal(await img.getAttribute('loading'),'eager');assert.equal(await img.getAttribute('fetchpriority'),'high');await img.evaluate(e=>e.decode());const selected=await img.evaluate(e=>e.currentSrc);assert(selected.endsWith('.avif'));assert(selected.includes(name+'-'+(width<=600?'mobile':'wide')));assert(!selected.includes('writing-solver'));const box=await layer.boundingBox();assert(Math.abs(box.x)<1&&Math.abs(box.width-width)<1,'Photo is boxed into the content container');assert.equal(await p.evaluate(()=>document.documentElement.scrollWidth>innerWidth),false);const resources=await p.evaluate(()=>performance.getEntriesByType('resource').filter(r=>r.name.includes('/images/public/scenes/')).map(r=>({url:r.name,bytes:r.transferSize,encoded:r.encodedBodySize})));assert.equal(resources.length,1,'Duplicate background variants downloaded');assert(resources[0].encoded<(width<=600?100000:300000));if(width===390)assert(selected.includes('480'));if(name==='home'){assert((await p.locator('h1').innerText()).includes('Finally finish the novel'));assert.equal(await p.locator('.manuscript-sheet').count(),1);}if(name==='tour')assert((await p.locator('.tour-stop').count())>=9);if(name==='pricing')assert((await p.locator('.pricing-card').count())>=1);results.push({name,width,selected,resources});if(process.env.PUBLIC_CAPTURE_DIR){fs.mkdirSync(process.env.PUBLIC_CAPTURE_DIR,{recursive:true});await p.screenshot({path:`${process.env.PUBLIC_CAPTURE_DIR}/${name}-${width}.png`});}}
|
||||
for(const path of ['/help','/writing-problems/browse','/writing-problems/timeline-doesnt-add-up','/features/plot-lines','/about','/contact','/privacy','/terms',live?'/Account/Login':'/public-fixture/login?anonymous=true',live?'/Account/Register':'/public-fixture/register?anonymous=true']){assert.equal((await p.goto(base+path)).status(),200);assert.equal(await p.locator('html').getAttribute('data-site-theme'),'public');assert.equal(await p.locator('html').getAttribute('data-app-theme'),null);assert.equal(await p.locator('.public-scene').count(),0);assert.equal(await p.evaluate(()=>document.documentElement.scrollWidth>innerWidth),false,`${path}/${width}`);if(process.env.PUBLIC_CAPTURE_DIR&&width===390&&['/help','/about',live?'/Account/Login':'/public-fixture/login?anonymous=true'].includes(path))await p.screenshot({path:`${process.env.PUBLIC_CAPTURE_DIR}/other-${path.split('/').at(-1).split('?')[0]}-${width}.png`});}
|
||||
await c.close();}
|
||||
// A real WebP path when the browser does not support AVIF.
|
||||
const c=await b.newContext({viewport:{width:390,height:1000}}),p=await c.newPage();const path=live?'/':'/public-fixture/home?anonymous=true';await p.route(base+path,async route=>{const r=await route.fetch();await route.fulfill({response:r,body:(await r.text()).replaceAll('type="image/avif"','type="image/unsupported"')})});await p.goto(base+path);await p.locator('.public-scene img').evaluate(e=>e.decode());assert((await p.locator('.public-scene img').evaluate(e=>e.currentSrc)).endsWith('mobile-480.webp'));await c.close();fs.writeFileSync(process.env.PUBLIC_METRICS||'/tmp/public-identity-assets.json',JSON.stringify(results,null,2));console.log('PASS coordinated unique scenes at four widths; one responsive AVIF per page, WebP fallback, mobile crop, eager high-priority hero, full-width canvas, no overflow, intact hero/plan/tour structure; ten other public page types remain public and without extra photography despite saved dark app preferences.');}finally{await b.close()}})().catch(e=>{console.error(e);process.exit(1)});
|
||||
2
PlotLine.Tests/Browser/public-visual-performance.cjs
Normal file
@ -0,0 +1,2 @@
|
||||
const{chromium}=require('playwright'),fs=require('node:fs');
|
||||
(async()=>{const b=await chromium.launch(),samples=[];try{for(const path of ['/','/features','/writing-problems','/pricing','/writing-problems/timeline-doesnt-add-up'])for(const width of [390,1440])for(let run=0;run<2;run++){const c=await b.newContext({viewport:{width,height:1000},reducedMotion:'reduce'});const p=await c.newPage();await p.addInitScript(()=>{window.metrics={lcp:null,cls:0};new PerformanceObserver(l=>{for(const e of l.getEntries())window.metrics.lcp={ms:e.startTime,url:e.url,tag:e.element?.tagName};}).observe({type:'largest-contentful-paint',buffered:true});new PerformanceObserver(l=>{for(const e of l.getEntries())if(!e.hadRecentInput)window.metrics.cls+=e.value;}).observe({type:'layout-shift',buffered:true});});await p.goto('https://dev.plotdirector.com'+path);await p.waitForLoadState('networkidle');await p.waitForTimeout(400);samples.push(await p.evaluate(({path,width,run})=>({path,width,run,...window.metrics,images:performance.getEntriesByType('resource').filter(r=>/\.(avif|webp|png|jpe?g)(\?|$)/.test(r.name)).map(r=>({url:r.name,transfer:r.transferSize,encoded:r.encodedBodySize})),css:performance.getEntriesByType('resource').filter(r=>r.initiatorType==='link').map(r=>({url:r.name,ms:r.responseEnd-r.startTime})),totalBytes:performance.getEntriesByType('resource').reduce((n,r)=>n+r.transferSize,0)}),{path,width,run}));await c.close();}fs.writeFileSync(process.argv[2],JSON.stringify(samples,null,2));console.log('Recorded',samples.length,'live fresh-context measurements');}finally{await b.close();}})().catch(e=>{console.error(e);process.exit(1)});
|
||||
@ -3,7 +3,8 @@
|
||||
ViewData["ShellClass"] = "marketing-shell";
|
||||
}
|
||||
<article class="writer-home">
|
||||
<section class="writer-hero">
|
||||
<section class="writer-hero public-scene-host public-scene-host--home">
|
||||
<partial name="_PublicScene" model='@("home")' />
|
||||
<div class="marketing-container writer-hero-grid">
|
||||
<div class="writer-hero-copy">
|
||||
<p class="marketing-eyebrow"><span class="eyebrow-line"></span> A little order. A lot more story.</p>
|
||||
|
||||
@ -8,7 +8,8 @@
|
||||
}
|
||||
|
||||
<article class="marketing-home pricing-page">
|
||||
<section class="pricing-hero">
|
||||
<section class="pricing-hero public-scene-host public-scene-host--pricing">
|
||||
<partial name="_PublicScene" model='@("pricing")' />
|
||||
<div class="marketing-container pricing-hero__inner">
|
||||
<p class="marketing-eyebrow">Pricing</p>
|
||||
<h1>A little room.<br />Or a whole story world.</h1>
|
||||
|
||||
@ -3,7 +3,8 @@
|
||||
ViewData["ShellClass"] = "marketing-shell";
|
||||
}
|
||||
<article class="writer-tour">
|
||||
<section class="tour-hero">
|
||||
<section class="tour-hero public-scene-host public-scene-host--tour">
|
||||
<partial name="_PublicScene" model='@("tour")' />
|
||||
<div class="marketing-container">
|
||||
<p class="marketing-eyebrow">A look around PlotDirector</p>
|
||||
<h1>Come inside.<br /><em>Bring your story.</em>
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
@inject IConfiguration Configuration
|
||||
@inject PlotLine.Data.IAppearanceRepository AppearancePreferences
|
||||
@{
|
||||
var isSolverPage = ViewContext.RouteData.Values["controller"]?.ToString() is "WritingProblems" or "WritingSolverReview";
|
||||
var isAuthentication = string.Equals(ViewContext.RouteData.Values["controller"]?.ToString(), "Account", StringComparison.OrdinalIgnoreCase);
|
||||
string? accountTheme = null;
|
||||
if (isAuthentication && User.Identity?.IsAuthenticated == true && int.TryParse(User.FindFirstValue(ClaimTypes.NameIdentifier), out var accountUserId))
|
||||
@ -74,7 +75,8 @@
|
||||
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
|
||||
<link rel="stylesheet" href="~/css/public-site.css" asp-append-version="true" />
|
||||
<link rel="stylesheet" href="~/css/public-art-direction.css" asp-append-version="true" />
|
||||
<link rel="stylesheet" href="~/css/writing-solver.css" asp-append-version="true" />
|
||||
<link rel="stylesheet" href="~/css/public-visual-system.css" asp-append-version="true" />
|
||||
@if(isSolverPage) { <link rel="stylesheet" href="~/css/writing-solver.css" asp-append-version="true" /> }
|
||||
<link rel="icon" href="~/favicon.svg" type="image/svg+xml" />
|
||||
<meta name="theme-color" content="#f8f5ee" />
|
||||
@if (isAuthentication)
|
||||
|
||||
10
PlotLine/Views/Shared/_PublicScene.cshtml
Normal file
@ -0,0 +1,10 @@
|
||||
@model string
|
||||
@{ var stem="/images/public/scenes/"+Model; }
|
||||
<div class="public-scene" aria-hidden="true">
|
||||
<picture>
|
||||
<source media="(max-width:600px)" type="image/avif" srcset="@(stem)-mobile-480.avif 480w, @(stem)-mobile-704.avif 704w" sizes="100vw" />
|
||||
<source type="image/avif" srcset="@(stem)-wide-768.avif 768w, @(stem)-wide-1152.avif 1152w, @(stem)-wide-1536.avif 1536w" sizes="100vw" />
|
||||
<source media="(max-width:600px)" type="image/webp" srcset="@(stem)-mobile-480.webp 480w, @(stem)-mobile-704.webp 704w" sizes="100vw" />
|
||||
<img src="@(stem)-wide-1536.webp" srcset="@(stem)-wide-768.webp 768w, @(stem)-wide-1152.webp 1152w, @(stem)-wide-1536.webp 1536w" sizes="100vw" width="1536" height="829" alt="" loading="eager" fetchpriority="high" decoding="async" />
|
||||
</picture>
|
||||
</div>
|
||||
@ -1,12 +1,13 @@
|
||||
/* A dedicated public palette. No application preference participates in this scope. */
|
||||
html[data-site-theme="public"] {
|
||||
--paper: #f8f5ee; --paper-deep: #eee9de; --ink: #292c27; --muted: #65665b; --gold: #e3b85e; --gold-dark: #876127; --sage: #e6eade; --line: #d9d8cb;
|
||||
--public-content-width:1280px;
|
||||
--paper:#fcf3e5; --paper-deep:#f0e2cf; --ink:#30242b; --muted:#71625c; --gold:#c7ac67; --gold-dark:#7c733d; --sage:#e8eadc; --line:#dfcdb9; --plum:#54223f;
|
||||
--marketing-navy: var(--ink); --marketing-ink: var(--ink); --marketing-gold: var(--gold); --marketing-cream: var(--paper); --marketing-offwhite: #fffdf7; --marketing-muted: var(--muted); --marketing-line: var(--line);
|
||||
scroll-behavior: smooth; scroll-padding-top: 110px;
|
||||
body.public-site { margin: 0; background: var(--paper); color: var(--ink); font-family: "Segoe UI", system-ui, sans-serif; font-size: 16px; line-height: 1.7; }
|
||||
.public-site *, .public-site *::before, .public-site *::after { box-sizing: border-box; }
|
||||
.public-site { h1,h2,h3,h4 { color: var(--ink); } h1,h2,h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; line-height: 1.08; } h1 { font-size: clamp(3.6rem,6vw,6.4rem); } h2 { font-size: clamp(2.6rem,4.1vw,4.4rem); } h3 { font-size: clamp(2rem,3vw,3rem); } h1 em,h2 em { font-weight: 400; color: #6b7655; } :where(p) { margin: 0 0 1.2rem; } :where(a) { color: inherit; } img { max-width: 100%; } :focus-visible { outline: 3px solid #916122; outline-offset: 5px; } }
|
||||
.marketing-container { width: min(1280px, calc(100% - 112px)); max-width: 1280px; margin-inline: auto; padding: 0; }
|
||||
.marketing-container { width: min(var(--public-content-width), calc(100% - 112px)); max-width: var(--public-content-width); margin-inline: auto; padding: 0; }
|
||||
.marketing-shell { width: 100%; max-width: none; padding: 0; margin: 0; }
|
||||
.marketing-shell main { padding: 0; }
|
||||
.public-skip { position: fixed; top: -100px; left: 20px; z-index: 1000; padding: 10px 20px; color: var(--paper); background: var(--ink); }
|
||||
|
||||
40
PlotLine/wwwroot/css/public-visual-system.css
Normal file
@ -0,0 +1,40 @@
|
||||
/* Shared public identity. Never matches application/PWA-auth roots without data-site-theme. */
|
||||
html[data-site-theme="public"] {
|
||||
.public-header { background:#fcf3e5f5; }
|
||||
.marketing-btn--primary,.public-site a.marketing-btn--primary { background:var(--plum); border-color:var(--plum); color:#fff9f0; }
|
||||
.marketing-btn--primary:hover { background:#6a3153; border-color:#6a3153; color:#fff9f0; }
|
||||
.writer-problems,.story-problems { background:#f3e7d6; }
|
||||
.public-links { gap:22px; }
|
||||
#publicMenu { margin-left:38px; }
|
||||
.public-footer { background:#f0e5d4; }
|
||||
.public-scene-host { --public-scene-reading-edge:max(32px,calc((100vw - var(--public-content-width)) / 2)); position:relative; isolation:isolate; background:var(--paper); }
|
||||
.public-scene-host>.marketing-container { position:relative; z-index:1; }
|
||||
.public-scene { position:absolute; inset:0; overflow:hidden; pointer-events:none; z-index:0; }
|
||||
.public-scene picture,.public-scene img { display:block; width:100%; height:100%; }
|
||||
.public-scene img { object-fit:cover; object-position:center 42%; }
|
||||
.public-scene::after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,var(--paper),#fcf3e500 35%),linear-gradient(90deg,#fcf3e50a,#fcf3e5f5 var(--public-scene-reading-edge),#fcf3e5ed 50%,#fcf3e5f5 calc(100% - var(--public-scene-reading-edge)),#fcf3e50a); }
|
||||
.public-scene-host--pricing .public-scene::after { background:linear-gradient(0deg,var(--paper),#fcf3e522 75%),linear-gradient(90deg,#fcf3e540,#fcf3e5f5 17%,#fcf3e5fa 50%,#fcf3e5f5 83%,#fcf3e540); }
|
||||
.public-scene-host--home .public-scene img { object-position:center 40%; }
|
||||
.writer-home :is(.writer-problems,.bring-manuscript,.writer-philosophy),.writer-tour .tour-stop { border-top:1px solid var(--line); }
|
||||
.writer-home .product-print,.writer-tour .product-print { background:#fffaf2; border-color:var(--line); box-shadow:0 8px 25px #573b2712; }
|
||||
.tour-jump { background:var(--paper-deep); border-block:1px solid var(--line); }
|
||||
.writer-tour .tour-stop:nth-of-type(even) { background:#f6ecdd; }
|
||||
.writer-tour .tour-paper-note { background:var(--sage); border-color:var(--line); }
|
||||
.pricing-card { border-radius:10px 6px 10px 6px; background:#fffaf2; border-color:var(--line); box-shadow:0 4px 15px #573b270b; }
|
||||
.pricing-card--featured { border-color:#75816a; background:#edf0e3; box-shadow:0 5px 20px #536b4814; }
|
||||
.pricing-card--trial { background:#f6ead6; }
|
||||
.pricing-card__heading { border-bottom:0; }
|
||||
.pricing-badge { background:#dfe5d3; color:#405238; }
|
||||
.public-info-page .public-hero { background:radial-gradient(ellipse at 0 0,#e8eadc80,transparent 65%),var(--paper); border-bottom:1px solid var(--line); }
|
||||
.public-info-page :is(.public-card,.plain-card),.public-auth-main .auth-card { background:#fffaf2; border-color:var(--line); box-shadow:0 4px 18px #573b2709; }
|
||||
.marketing-shell>:is(.plain-card,.edit-panel,.list-section) { background:#fffaf2; border-color:var(--line); }
|
||||
.marketing-shell>.page-heading { border-bottom:1px solid var(--line); padding-bottom:24px; }
|
||||
.public-site :is(.btn-primary,button.btn-primary) { background:var(--plum); border-color:var(--plum); color:#fff9f0; }
|
||||
.public-site :is(.btn-primary,button.btn-primary):hover { background:#6a3153; border-color:#6a3153; }
|
||||
.public-site .form-control:focus { border-color:#94718a; box-shadow:0 0 0 .2rem #54223f1c; }
|
||||
}
|
||||
@media(max-width:1000px) { html[data-site-theme="public"] { .public-links { gap:14px; } #publicMenu { margin-left:20px; } } }
|
||||
@media(max-width:600px) {
|
||||
html[data-site-theme="public"] .public-scene img { object-position:left top; }
|
||||
html[data-site-theme="public"] .public-scene::after,html[data-site-theme="public"] .public-scene-host--pricing .public-scene::after { background:linear-gradient(0deg,var(--paper) 25%,#fcf3e5dc 70%,#fcf3e5c9),linear-gradient(90deg,#fcf3e540,#fcf3e5cc); }
|
||||
}
|
||||
@ -2,15 +2,6 @@
|
||||
html[data-site-theme="public"] {
|
||||
--solver-result-width:71.25rem; --solver-reading-width:56rem;
|
||||
--solver-desk-image:url('/images/public/writing-solver-desk.png');
|
||||
--paper:#fcf3e5; --paper-deep:#f0e2cf; --ink:#30242b; --muted:#71625c;
|
||||
--line:#dfcdb9; --sage:#e8eadc; --gold:#c7ac67; --gold-dark:#7c733d; --plum:#54223f;
|
||||
.public-header { background:#fcf3e5f5; }
|
||||
.marketing-btn--primary,.public-site a.marketing-btn--primary { background:var(--plum); border-color:var(--plum); color:#fff9f0; }
|
||||
.marketing-btn--primary:hover { background:#6a3153; border-color:#6a3153; color:#fff9f0; }
|
||||
.writer-problems,.story-problems { background:#f3e7d6; }
|
||||
.writer-hero { background:radial-gradient(ellipse at 85% 50%,#eddfca 0,transparent 60%); }
|
||||
.public-links { gap:22px; }
|
||||
#publicMenu { margin-left:38px; }
|
||||
.solver-space { background-color:var(--paper); background-image:linear-gradient(90deg,transparent,#fcf3e5ed 22%,#fcf3e5f7 50%,#fcf3e5ed 78%,transparent),var(--solver-desk-image); background-position:center top; background-size:cover; padding:48px 24px 32px; min-height:760px; }
|
||||
.solver-content { width:min(930px,100%); margin:auto; }
|
||||
.solver-space--entry .solver-content { width:min(1000px,100%); text-align:center; }
|
||||
@ -60,7 +51,6 @@ html[data-site-theme="public"] {
|
||||
@media(prefers-reduced-motion:reduce) { scroll-behavior:auto; .marketing-btn { transition:none; transform:none; } }
|
||||
}
|
||||
html[data-site-theme="public"] main.marketing-shell > .solver-space { max-width:none; width:100%; }
|
||||
html[data-site-theme="public"] .public-footer { background:#f0e5d4; }
|
||||
|
||||
html[data-site-theme="public"] .solver-neutral { max-width:var(--solver-reading-width); margin-inline:auto; }
|
||||
html[data-site-theme="public"] .solver-neutral .solver-intro { margin-left:0; max-width:none; }
|
||||
|
||||
BIN
PlotLine/wwwroot/images/public/scenes/home-mobile-480.avif
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
PlotLine/wwwroot/images/public/scenes/home-mobile-480.webp
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
PlotLine/wwwroot/images/public/scenes/home-mobile-704.avif
Normal file
|
After Width: | Height: | Size: 72 KiB |
BIN
PlotLine/wwwroot/images/public/scenes/home-mobile-704.webp
Normal file
|
After Width: | Height: | Size: 71 KiB |
BIN
PlotLine/wwwroot/images/public/scenes/home-wide-1152.avif
Normal file
|
After Width: | Height: | Size: 78 KiB |
BIN
PlotLine/wwwroot/images/public/scenes/home-wide-1152.webp
Normal file
|
After Width: | Height: | Size: 72 KiB |
BIN
PlotLine/wwwroot/images/public/scenes/home-wide-1536.avif
Normal file
|
After Width: | Height: | Size: 125 KiB |
BIN
PlotLine/wwwroot/images/public/scenes/home-wide-1536.webp
Normal file
|
After Width: | Height: | Size: 119 KiB |
BIN
PlotLine/wwwroot/images/public/scenes/home-wide-768.avif
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
PlotLine/wwwroot/images/public/scenes/home-wide-768.webp
Normal file
|
After Width: | Height: | Size: 37 KiB |
BIN
PlotLine/wwwroot/images/public/scenes/pricing-mobile-480.avif
Normal file
|
After Width: | Height: | Size: 37 KiB |
BIN
PlotLine/wwwroot/images/public/scenes/pricing-mobile-480.webp
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
PlotLine/wwwroot/images/public/scenes/pricing-mobile-704.avif
Normal file
|
After Width: | Height: | Size: 72 KiB |
BIN
PlotLine/wwwroot/images/public/scenes/pricing-mobile-704.webp
Normal file
|
After Width: | Height: | Size: 62 KiB |
BIN
PlotLine/wwwroot/images/public/scenes/pricing-wide-1152.avif
Normal file
|
After Width: | Height: | Size: 72 KiB |
BIN
PlotLine/wwwroot/images/public/scenes/pricing-wide-1152.webp
Normal file
|
After Width: | Height: | Size: 56 KiB |
BIN
PlotLine/wwwroot/images/public/scenes/pricing-wide-1536.avif
Normal file
|
After Width: | Height: | Size: 123 KiB |
BIN
PlotLine/wwwroot/images/public/scenes/pricing-wide-1536.webp
Normal file
|
After Width: | Height: | Size: 99 KiB |
BIN
PlotLine/wwwroot/images/public/scenes/pricing-wide-768.avif
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
PlotLine/wwwroot/images/public/scenes/pricing-wide-768.webp
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
PlotLine/wwwroot/images/public/scenes/tour-mobile-480.avif
Normal file
|
After Width: | Height: | Size: 39 KiB |
BIN
PlotLine/wwwroot/images/public/scenes/tour-mobile-480.webp
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
PlotLine/wwwroot/images/public/scenes/tour-mobile-704.avif
Normal file
|
After Width: | Height: | Size: 72 KiB |
BIN
PlotLine/wwwroot/images/public/scenes/tour-mobile-704.webp
Normal file
|
After Width: | Height: | Size: 61 KiB |
BIN
PlotLine/wwwroot/images/public/scenes/tour-wide-1152.avif
Normal file
|
After Width: | Height: | Size: 76 KiB |
BIN
PlotLine/wwwroot/images/public/scenes/tour-wide-1152.webp
Normal file
|
After Width: | Height: | Size: 60 KiB |
BIN
PlotLine/wwwroot/images/public/scenes/tour-wide-1536.avif
Normal file
|
After Width: | Height: | Size: 126 KiB |
BIN
PlotLine/wwwroot/images/public/scenes/tour-wide-1536.webp
Normal file
|
After Width: | Height: | Size: 100 KiB |
BIN
PlotLine/wwwroot/images/public/scenes/tour-wide-768.avif
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
PlotLine/wwwroot/images/public/scenes/tour-wide-768.webp
Normal file
|
After Width: | Height: | Size: 28 KiB |
11
Tools/PublicVisualIdentity/build-assets.cjs
Normal file
@ -0,0 +1,11 @@
|
||||
// Deterministic delivery derivatives from the original, retained imagegen masters.
|
||||
const sharp=require('../../PlotLine.Tests/Browser/node_modules/sharp'),fs=require('node:fs'),path=require('node:path');
|
||||
(async()=>{const inventory=[];for(const scene of ['home','tour','pricing']){const source=`Docs/PublicVisualIdentity/Masters/${scene}-desk-v1.png`,meta=await sharp(source).metadata();
|
||||
for(const mode of ['wide','mobile'])for(const width of mode==='wide'?[768,1152,1536]:[480,704])for(const format of ['avif','webp']){
|
||||
const height=mode==='wide'?Math.round(width*.54):Math.round(width*4/3);let pipeline=sharp(source);
|
||||
if(mode==='mobile'){const cropWidth=Math.floor(meta.height*.75);pipeline=pipeline.extract({left:0,top:0,width:cropWidth,height:meta.height});}
|
||||
pipeline=pipeline.resize(width,height,{fit:'cover',position:mode==='wide'?'centre':'northwest'});
|
||||
const name=`${scene}-${mode}-${width}.${format}`,destination=path.join('PlotLine/wwwroot/images/public/scenes',name);
|
||||
await pipeline[format](format==='avif'?{quality:84,effort:5,chromaSubsampling:'4:4:4'}:{quality:90,effort:5}).toFile(destination);
|
||||
inventory.push({scene,mode,width,height,format,bytes:fs.statSync(destination).size,url:'/images/public/scenes/'+name});}
|
||||
}fs.writeFileSync('Docs/PublicVisualIdentity/AssetManifest.json',JSON.stringify(inventory,null,2)+'\n');console.log('Generated',inventory.length,'derivatives');})().catch(e=>{console.error(e);process.exit(1)});
|
||||