@luhtech/site-template 0.3.3 → 0.3.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luhtech/site-template",
3
- "version": "0.3.3",
3
+ "version": "0.3.5",
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",
@@ -18,6 +18,13 @@
18
18
  // don't collide), the nav-logo target selector, and the optional
19
19
  // drifting background data-text lines.
20
20
  //
21
+ // -mt-16 cancels SiteLayout's <main> py-16 top padding -- found live as a
22
+ // visible white bar between the nav and the hero photo (screenshot report,
23
+ // 2026-09-08): the section's own w-screen/-translate-x-1/2 breakout only
24
+ // undoes <main>'s horizontal padding, not the vertical padding above it.
25
+ // LuhTech-Business's own hand-built (pre-template) hero already carried
26
+ // this exact -mt-16, just never generalized into this component before.
27
+ //
21
28
  // heading/lede are meant to carry the SAME brand.identity.tagline/
22
29
  // oneLiner values applyBrandDefaults() binds onto a standard Hero
23
30
  // section on "/" -- this component is a presentation alternative to
@@ -61,7 +68,7 @@ const {
61
68
 
62
69
  const rowPositions = [4, 24, 40, 62, 80, 96];
63
70
  ---
64
- <section class="relative w-screen left-1/2 -translate-x-1/2 h-[85vh] min-h-[520px] overflow-hidden hero-motion" id="hero">
71
+ <section class="relative w-screen left-1/2 -translate-x-1/2 -mt-16 h-[85vh] min-h-[520px] overflow-hidden hero-motion" id="hero">
65
72
  <img src={photoSrc} alt={photoAlt} width="1376" height="768" class="absolute inset-0 w-full h-full object-cover" />
66
73
  <div class="absolute inset-0 hero-gradient"></div>
67
74
  {dataLines.length > 0 && (
@@ -64,7 +64,7 @@ const nav =
64
64
  </a>
65
65
  <header class="bg-ink text-canvas">
66
66
  <nav class="max-w-4xl mx-auto flex items-center justify-between px-6 py-4">
67
- <a href="/" class="font-display font-semibold tracking-tight transition-opacity hover:opacity-80 focus-visible:outline focus-visible:outline-2 focus-visible:outline-accent-primary focus-visible:rounded">
67
+ <a href="/" class="flex items-center gap-2 font-display font-semibold tracking-tight transition-opacity hover:opacity-80 focus-visible:outline focus-visible:outline-2 focus-visible:outline-accent-primary focus-visible:rounded">
68
68
  <slot name="logo" />
69
69
  </a>
70
70
  <ul class="flex items-center gap-6 text-sm">