Files
sapl/docs/Design library/pages-data.js
T

85 lines
7.8 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// SAPL Atelier Intelligence — shared data for Boards, Moodboard, Trends pages
window.PAGES_DATA = (function () {
const img = (id, w = 600) =>
"https://images.unsplash.com/" + id + "?q=80&auto=format&fit=crop&w=" + w + "&h=" + Math.round(w * 4 / 3);
const imgSq = (id, w = 600) =>
"https://images.unsplash.com/" + id + "?q=80&auto=format&fit=crop&w=" + w + "&h=" + w;
const BOARDS = [
{
id: "b1", name: "Paris pitch — Oct", season: "AW26", team: "Delhi NCR",
pieces: 18, updatedAt: "3 days ago", mine: true,
images: [img("photo-1515372039744-b8f02a3ae446"), img("photo-1496747611176-843222e1e57c"), img("photo-1539109136881-3be0616acf4b"), img("photo-1524504388940-b1c1722653e1")],
},
{
id: "b2", name: "AW26 knit edit", season: "AW26", team: "Bengaluru",
pieces: 9, updatedAt: "1 week ago", mine: true,
images: [img("photo-1434389677669-e08b4cac3105"), img("photo-1495385794356-15371f348c31")],
},
{
id: "b3", name: "Maison L · client edit", season: "AW26", team: "Mumbai",
pieces: 24, updatedAt: "2 weeks ago", mine: false,
images: [img("photo-1490481651871-ab68de25d43d"), img("photo-1539008835657-9e8e9680c956"), img("photo-1475180098004-ca77a66827be"), img("photo-1551488831-00ddcb6c6bd3")],
},
{
id: "b4", name: "Test", season: "AW26", team: "Delhi NCR",
pieces: 2, updatedAt: "5 days ago", mine: true,
images: [img("photo-1485968579580-b6d095142e6e"), img("photo-1509631179647-0177331693ae")],
},
{
id: "b5", name: "TRANS AW26 Womenswear", season: "AW26", team: "All teams",
pieces: 55, updatedAt: "Yesterday", mine: false,
images: [img("photo-1469334031218-e382a71b716b"), img("photo-1525450824786-227cbef70703"), img("photo-1515886657613-9f3515b0c78f"), img("photo-1529139574466-a303027c1d8b")],
},
{
id: "b6", name: "Quiet luxury — resort", season: "SS27", team: "Mumbai",
pieces: 12, updatedAt: "4 days ago", mine: true,
images: [img("photo-1487222477894-8943e31ef7b2"), img("photo-1515886657613-9f3515b0c78f"), img("photo-1539008835657-9e8e9680c956"), img("photo-1490481651871-ab68de25d43d")],
},
];
const TREND_REPORTS = [
{
id: "tr1", buyer: "Primark", season: "SS26", status: "complete",
date: "2026-06-03",
brief: "relaxed feminine, earthy tones, linen textures, SS occasion wear",
summary: "The buyer is seeking a deconstructed, raw aesthetic with a strong emphasis on texture and organic imperfections. Silhouettes should feel relaxed to oversized, with a focus on layered, distressed, or frayed fabric effects. The colour palette is muted and earthy, leaning into off-whites, taupes, and deep browns, with a grunge-inspired, lived-in feel. This direction suits casual to avant-garde occasions, prioritising fabric innovation and tactile surfaces.",
signals: ["deconstructed aesthetic", "relaxed silhouettes", "grunge-inspired colour palette"],
vsPrevious: "Compared to last season, there is a stronger emphasis on texture and organic imperfections, with a focus on fabric innovation and tactile surfaces.",
stats: { items: 8, hero: 0, trend: 8, highRelevance: 8 },
fullReport: "Top Trend Signals\n\nDeconstructed, raw aesthetic with emphasis on texture and organic imperfections. Relaxed to oversized silhouettes with layering potential. Earthy, muted colour palette: off-whites, taupes, deep browns.\n\nSilhouette Direction\nPrioritise fluid, relaxed shapes with room for movement. Bias-cut and sack silhouettes resonate strongly.\n\nFabric Intelligence\nLinen and linen-look wovens are dominant. Texture effects — fraying, slubbing, raw edges — signal handmade credibility.",
items: [
{ id: "ti1", title: "White broderie anglaise column dress", src: img("photo-1515372039744-b8f02a3ae446", 480), tags: ["TREND", "PINTEREST"], relevance: "HIGH", colours: ["#e8e0d2", "#5c4632"], category: "Dress", dna: "Relaxed", desc: "Linen-look woven. Strong resort and spring/summer signal. Clean, minimal silhouette." },
{ id: "ti2", title: "Ivory draped blouse, oversized sleeve", src: img("photo-1496747611176-843222e1e57c", 480), tags: ["PINTEREST"], relevance: "HIGH", colours: ["#ece9e2"], category: "Blouse", dna: "Relaxed", desc: "Relaxed linen-feel resort. Strong loungewear signal." },
{ id: "ti3", title: "Taupe cocoon coat, raw hem", src: img("photo-1539109136881-3be0616acf4b", 480), tags: ["TREND", "PINTEREST"], relevance: "HIGH", colours: ["#8e8a85", "#3a3a38"], category: "Outerwear", dna: "Soft Armour", desc: "Oversized cocoon. Fraying edges, natural slubbing. Fabric innovation signal." },
{ id: "ti4", title: "Bias-cut earthy two-piece, indigo", src: img("photo-1524504388940-b1c1722653e1", 480), tags: ["TREND", "PINTEREST"], relevance: "HIGH", colours: ["#2e3a5c", "#b58a5a"], category: "Co-ord", dna: "Heritage Remix", desc: "Mirror-worked border. Artisanal credibility. Resort to occasion direction." },
{ id: "ti5", title: "Natural linen-look crochet layer", src: img("photo-1434389677669-e08b4cac3105", 480), tags: ["TREND"], relevance: "HIGH", colours: ["#b58a5a", "#c9c2b4"], category: "Knit", dna: "Earthbound", desc: "Deconstructed texture at play. Fraying edges, natural slubbing." },
{ id: "ti6", title: "Raw-edge organic voile blouse", src: img("photo-1495385794356-15371f348c31", 480), tags: ["TREND", "PINTEREST"], relevance: "MED", colours: ["#e8e0d2"], category: "Blouse", dna: "Relaxed", desc: "Linen-look woven with clean, relaxed silhouette." },
{ id: "ti7", title: "Sand-toned wrap with volume", src: img("photo-1490481651871-ab68de25d43d", 480), tags: ["PINTEREST"], relevance: "HIGH", colours: ["#c9c2b4", "#6b4a32"], category: "Outerwear", dna: "Soft Armour", desc: "Oversized cocoon. Raw hems, tactile woven surface." },
{ id: "ti8", title: "Taupe bias-cut column dress", src: img("photo-1475180098004-ca77a66827be", 480), tags: ["TREND"], relevance: "MED", colours: ["#8e8a85"], category: "Dress", dna: "Liquid Minimal", desc: "Bias column, clean fall. Resort and evening direction." },
],
},
{
id: "tr2", buyer: "Marks & Spencer", season: "AW26", status: "complete",
date: "2026-05-28",
brief: "smart-casual heritage, wool and tweed, occasion dressing for 35–55 demographic",
summary: "Classic British heritage updated for a confident, contemporary consumer. Tartan and houndstooth in dusty updated colourways, tailored separates with a relaxed hand-feel, and elevated occasion dressing with restrained embellishment.",
signals: ["heritage pattern revival", "relaxed tailoring", "dusty tonal neutrals"],
vsPrevious: "A shift toward relaxed tailoring and away from formal suiting. Pattern interest is up, particularly in updated heritage weaves.",
stats: { items: 6, hero: 2, trend: 6, highRelevance: 5 },
fullReport: "Tartan and heritage checks are resurging in dusty, desaturated colourways. Relaxed tailoring with a generous cut through the shoulder is the dominant silhouette. Occasion dressing leans toward refined separates over full-look dressing.",
items: [],
},
];
const MOODBOARD_MOCK_RESULT = {
dna: ["Earthbound", "Liquid Minimal"],
palette: [{ name: "Umber", hex: "#6b4a32" }, { name: "Stone", hex: "#c9c2b4" }, { name: "Bone", hex: "#e8e0d2" }, { name: "Charcoal", hex: "#3a3a38" }],
signals: ["artisanal texture", "fluid silhouettes", "earthy palette", "tactile craftsmanship"],
brief: "The moodboard reads as a quiet, grounded aesthetic — rooted in natural materials and organic forms. Bias cuts, hand-applied texture, and a muted earthy palette are the defining signals. Design direction: viscose or linen-based fluid shapes with placement embroidery or crochet value addition.",
matchingStyles: ["SA W675 A", "SA W693 D", "SA W655 A", "SA W647 C"],
};
return { BOARDS, TREND_REPORTS, MOODBOARD_MOCK_RESULT };
})();