@luhtech/site-template 0.3.4 → 0.3.6
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
|
+
"version": "0.3.6",
|
|
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",
|
package/src/content/loadPage.ts
CHANGED
|
@@ -3,7 +3,7 @@ import Ajv from 'ajv';
|
|
|
3
3
|
import addFormats from 'ajv-formats';
|
|
4
4
|
import { fetchSchema, fetchSupportSchema } from './schemaFetch.js';
|
|
5
5
|
|
|
6
|
-
const PAGE_PIN = '1.
|
|
6
|
+
const PAGE_PIN = '1.1.0';
|
|
7
7
|
const CAPABILITY_CLAIM_PIN = '0.2.0';
|
|
8
8
|
|
|
9
9
|
let validatorPromise: ReturnType<typeof buildValidator> | null = null;
|
|
@@ -35,6 +35,7 @@ export interface PageBlock {
|
|
|
35
35
|
blockType: string;
|
|
36
36
|
text: string;
|
|
37
37
|
label?: string;
|
|
38
|
+
href?: string;
|
|
38
39
|
}
|
|
39
40
|
|
|
40
41
|
export interface PageClaim {
|
|
@@ -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">
|