@invisibleloop/pulse 0.10.0 → 0.10.2

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.
@@ -12,7 +12,7 @@ import pkg from '../../../package.json' with { type: 'json' }
12
12
  // Populated by initLayoutManifest() in server.js before the server starts.
13
13
  let _manifest = {}
14
14
  export function initLayoutManifest(m) { _manifest = m }
15
- const asset = href => _manifest[href] || href
15
+ export const asset = href => _manifest[href] || href
16
16
 
17
17
  const version = typeof pkg !== 'undefined' ? (pkg?.version ?? '') : ''
18
18
 
@@ -6,6 +6,7 @@
6
6
  * Built entirely from Pulse UI components, zero custom HTML.
7
7
  */
8
8
 
9
+ import { asset } from '../../lib/layout.js'
9
10
  import {
10
11
  nav as uiNav,
11
12
  hero,
@@ -303,7 +304,7 @@ const downloadCta = section({
303
304
 
304
305
  const pageFooter = footer({
305
306
  logo: `${iconFeather({ size: 18 })}<span class="u-font-bold" style="letter-spacing:-0.02em">Lumio</span>`,
306
- logoHref: '#',
307
+ logoHref: '/',
307
308
  links: [
308
309
  { label: 'Privacy', href: '#' },
309
310
  { label: 'Terms', href: '#' },
@@ -339,5 +340,5 @@ export default {
339
340
  ${downloadCta}
340
341
  </main>
341
342
  ${pageFooter}
342
- <script src="/pulse-ui.js" defer></script>`,
343
+ <script src="${asset('/pulse-ui.js')}" defer></script>`,
343
344
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@invisibleloop/pulse",
3
- "version": "0.10.0",
3
+ "version": "0.10.2",
4
4
  "type": "module",
5
5
  "description": "AI-first frontend framework. The spec is the source of truth.",
6
6
  "license": "MIT",
@@ -1 +1 @@
1
- 0.10.0
1
+ 0.10.2