@luhtech/site-template 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -0
- package/package.json +1 -1
- package/src/components/Icon.astro +17 -0
package/README.md
CHANGED
|
@@ -173,6 +173,21 @@ convention for the same reason -- orient the reader inside a long page):
|
|
|
173
173
|
an empty 200px rail next to a single-section page is dead space, not
|
|
174
174
|
navigation.
|
|
175
175
|
|
|
176
|
+
## Icon set: generic vs. construction-specific (0.5.1)
|
|
177
|
+
|
|
178
|
+
`Icon.astro`'s shared ~24-icon set mixes true portfolio-generic icons with
|
|
179
|
+
Ectropy-specific ones (found live building LuhTech-Business's own visual
|
|
180
|
+
system out to the same standard). The file now documents the split
|
|
181
|
+
explicitly in its own header comment -- a consumer wiring `Section`'s
|
|
182
|
+
`icons` prop on a non-construction venture site should only reach for the
|
|
183
|
+
GENERIC subset (location-pin, decision-chain, cost-tag, schema-doc,
|
|
184
|
+
integration-plug, sync-loop, audit-trail, studio-compass, portfolio-grid,
|
|
185
|
+
code-bracket, team-people, handshake, rocket, data-flow, mail-envelope,
|
|
186
|
+
message-bubble, external-link, lock); the remainder (voxel-grid,
|
|
187
|
+
field-inspection, hard-hat, building, field-team, zone-map, change-order,
|
|
188
|
+
crane) reads as borrowed Ectropy content anywhere else. No icons were
|
|
189
|
+
added, removed, or renamed -- documentation only.
|
|
190
|
+
|
|
176
191
|
## Migrating a venture site
|
|
177
192
|
|
|
178
193
|
A migration is: author `content/site.<venture>.json` + `content/pages/*.json`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luhtech/site-template",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Shared Astro component library + content-instance contract for LuhTech venture marketing sites -- one template renders every site from content/page.schema.json + content/site.schema.json instances.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -6,6 +6,23 @@
|
|
|
6
6
|
// is common across the portfolio rather than brand-specific. Copied verbatim
|
|
7
7
|
// from luh-tech/LuhTech-Business's own Icon.astro -- keep this file in sync
|
|
8
8
|
// if the shared set grows.
|
|
9
|
+
//
|
|
10
|
+
// d-2026-09-09-sr-article-venture-routing-content-cells (LuhTech-Business
|
|
11
|
+
// build-out): this one file mixes truly portfolio-generic icons with
|
|
12
|
+
// Ectropy-specific ones. A consumer wiring Section's `icons` prop should
|
|
13
|
+
// only reach for the GENERIC subset unless it is genuinely a construction
|
|
14
|
+
// venture -- reaching for a construction icon on a non-construction site
|
|
15
|
+
// (e.g. LuhTech-Business, the holding/consultancy site) would be exactly
|
|
16
|
+
// the "borrowed Ectropy content" mistake this split exists to prevent.
|
|
17
|
+
//
|
|
18
|
+
// GENERIC (safe for any venture): location-pin, decision-chain, cost-tag,
|
|
19
|
+
// schema-doc, integration-plug, sync-loop, audit-trail, studio-compass,
|
|
20
|
+
// portfolio-grid, code-bracket, team-people, handshake, rocket, data-flow,
|
|
21
|
+
// mail-envelope, message-bubble, external-link, lock.
|
|
22
|
+
//
|
|
23
|
+
// CONSTRUCTION-SPECIFIC (Ectropy and other construction-venture sites
|
|
24
|
+
// only): voxel-grid, field-inspection, hard-hat, building, field-team,
|
|
25
|
+
// zone-map, change-order, crane.
|
|
9
26
|
const ICONS: Record<string, string> = {
|
|
10
27
|
'voxel-grid': `<rect x="3" y="3" width="8" height="8" rx="1.5"/><rect x="13" y="3" width="8" height="8" rx="1.5"/><rect x="3" y="13" width="8" height="8" rx="1.5"/><rect x="13" y="13" width="8" height="8" rx="1.5"/>`,
|
|
11
28
|
'location-pin': `<path d="M12 21s7-6.5 7-12a7 7 0 1 0-14 0c0 5.5 7 12 7 12z"/><circle cx="12" cy="9" r="2.25"/>`,
|