@gleich/ui 1.2.7 → 1.2.8
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/dist/dynamic-head.svelte +2 -3
- package/dist/dynamic-head.svelte.d.ts +0 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/sitename.d.ts +1 -0
- package/dist/sitename.js +2 -0
- package/package.json +1 -1
package/dist/dynamic-head.svelte
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { page } from '$app/state';
|
|
3
|
+
import { siteName } from './sitename.js';
|
|
3
4
|
|
|
4
5
|
let {
|
|
5
6
|
title,
|
|
6
7
|
description,
|
|
7
|
-
siteName,
|
|
8
8
|
opengraphImage = {
|
|
9
9
|
url: 'https://mattglei.ch/opengraph.png',
|
|
10
10
|
width: '1200',
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
}: {
|
|
16
16
|
title: string;
|
|
17
17
|
description: string;
|
|
18
|
-
siteName: string;
|
|
19
18
|
opengraphImage?: OpenGraphImage;
|
|
20
19
|
keywords?: string[];
|
|
21
20
|
iconRoot?: string;
|
|
@@ -77,7 +76,7 @@
|
|
|
77
76
|
<meta property="og:title" content={title} />
|
|
78
77
|
<meta property="og:description" content={description} />
|
|
79
78
|
<meta property="og:url" content={page.url.href} />
|
|
80
|
-
<meta property="og:site_name" content={siteName} />
|
|
79
|
+
<meta property="og:site_name" content={$siteName} />
|
|
81
80
|
<meta property="og:locale" content="en-US" />
|
|
82
81
|
<meta property="og:image" content={opengraphImage.url} />
|
|
83
82
|
<meta property="og:image:width" content={opengraphImage.width} />
|
package/dist/index.d.ts
CHANGED
|
@@ -7,4 +7,5 @@ import Layout from './layout.svelte';
|
|
|
7
7
|
import Logo from './logo.svelte';
|
|
8
8
|
import NavLogo from './nav-logo.svelte';
|
|
9
9
|
import Scrolling from './scrolling.svelte';
|
|
10
|
-
|
|
10
|
+
import { siteName } from './sitename.js';
|
|
11
|
+
export { siteName, Card, Copyright, DynamicHead, Error, Image, Layout, Logo, NavLogo, Scrolling };
|
package/dist/index.js
CHANGED
|
@@ -7,4 +7,5 @@ import Layout from './layout.svelte';
|
|
|
7
7
|
import Logo from './logo.svelte';
|
|
8
8
|
import NavLogo from './nav-logo.svelte';
|
|
9
9
|
import Scrolling from './scrolling.svelte';
|
|
10
|
-
|
|
10
|
+
import { siteName } from './sitename.js';
|
|
11
|
+
export { siteName, Card, Copyright, DynamicHead, Error, Image, Layout, Logo, NavLogo, Scrolling };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const siteName: import("svelte/store").Writable<string>;
|
package/dist/sitename.js
ADDED