diff --git a/.changeset/quick-plants-tie.md b/.changeset/quick-plants-tie.md new file mode 100644 index 000000000..9255203fd --- /dev/null +++ b/.changeset/quick-plants-tie.md @@ -0,0 +1,5 @@ +--- +"@ryanatkn/fuz": minor +--- + +rename `Spider` from `Fuz_Logo` and publish `Fuz_Logo` and `Spiders` diff --git a/package.json b/package.json index 344f80cf0..ad78373bf 100644 --- a/package.json +++ b/package.json @@ -278,6 +278,16 @@ "default": "./dist/Redirect.svelte", "types": "./dist/Redirect.svelte.d.ts" }, + "./Spider.svelte": { + "svelte": "./dist/Spider.svelte", + "default": "./dist/Spider.svelte", + "types": "./dist/Spider.svelte.d.ts" + }, + "./Spiders.svelte": { + "svelte": "./dist/Spiders.svelte", + "default": "./dist/Spiders.svelte", + "types": "./dist/Spiders.svelte.d.ts" + }, "./style_animations.css": { "default": "./dist/style_animations.css" }, diff --git a/src/lib/Fuz_Logo.svelte b/src/lib/Fuz_Logo.svelte index 59cfae64c..688281659 100644 --- a/src/lib/Fuz_Logo.svelte +++ b/src/lib/Fuz_Logo.svelte @@ -1,60 +1,28 @@ - - - - +{#if image}{:else}{/if} diff --git a/src/lib/Github_Logo.svelte b/src/lib/Github_Logo.svelte index fcba88408..47805cf63 100644 --- a/src/lib/Github_Logo.svelte +++ b/src/lib/Github_Logo.svelte @@ -12,8 +12,6 @@ label = 'the GitHub icon, an octocat silhouette', attrs, }: Props = $props(); - - // TODO do something more optimal preferring {@html}
- +
@@ -80,7 +80,7 @@ {#if show_secondary_nav_dialog && innerWidth && innerWidth <= TERTIARY_NAV_BREAKPOINT} (show_secondary_nav_dialog = false)}>
-
+
diff --git a/src/lib/Library_Content.svelte b/src/lib/Library_Content.svelte index 7ec166f71..71d1bca36 100644 --- a/src/lib/Library_Content.svelte +++ b/src/lib/Library_Content.svelte @@ -4,16 +4,15 @@ import type {Tome} from '$lib/tome.js'; import Package_Summary from '$lib/Package_Summary.svelte'; - import {get_pkg} from '$routes/pkg'; + import type {Package_Meta} from '@ryanatkn/gro/package_meta.js'; interface Props { root_path?: string; tomes: Tome[]; + pkg: Package_Meta; } - const {root_path = '/library', tomes}: Props = $props(); - - const pkg = get_pkg(); + const {root_path = '/library', tomes, pkg}: Props = $props(); {#if $page.url.pathname === base + root_path} diff --git a/src/lib/Library_Primary_Nav.svelte b/src/lib/Library_Primary_Nav.svelte index 546d4191c..d61c8f6f5 100644 --- a/src/lib/Library_Primary_Nav.svelte +++ b/src/lib/Library_Primary_Nav.svelte @@ -4,7 +4,7 @@ import type {Snippet} from 'svelte'; import Breadcrumb from '$lib/Breadcrumb.svelte'; - import Spider from '$routes/Spider.svelte'; + import Fuz_Logo from '$lib/Fuz_Logo.svelte'; interface Props { children?: Snippet; @@ -32,7 +32,7 @@ fuz {:else}
- fuz + fuz
{/if} diff --git a/src/lib/Spider.svelte b/src/lib/Spider.svelte new file mode 100644 index 000000000..b4f3c8346 --- /dev/null +++ b/src/lib/Spider.svelte @@ -0,0 +1,51 @@ + + + + + diff --git a/src/routes/Spiders.svelte b/src/lib/Spiders.svelte similarity index 95% rename from src/routes/Spiders.svelte rename to src/lib/Spiders.svelte index 3a99f62b5..ee7855236 100644 --- a/src/routes/Spiders.svelte +++ b/src/lib/Spiders.svelte @@ -9,10 +9,11 @@ @@ -13,7 +13,7 @@

fuz

-
+
friendly user zystem

diff --git a/src/routes/Spider.svelte b/src/routes/Spider.svelte deleted file mode 100644 index e1729c5af..000000000 --- a/src/routes/Spider.svelte +++ /dev/null @@ -1,32 +0,0 @@ - - -{#if image}{:else}{/if} diff --git a/src/routes/about/+page.svelte b/src/routes/about/+page.svelte index 85ad2f3c7..2f4041891 100644 --- a/src/routes/about/+page.svelte +++ b/src/routes/about/+page.svelte @@ -2,7 +2,7 @@ import Package_Detail from '$lib/Package_Detail.svelte'; import Library_Footer from '$lib/Library_Footer.svelte'; import Breadcrumb from '$lib/Breadcrumb.svelte'; - import Spider from '$routes/Spider.svelte'; + import Fuz_Logo from '$lib/Fuz_Logo.svelte'; import {get_pkg} from '$routes/pkg.js'; @@ -16,7 +16,7 @@

{pkg.repo_name}

- +
@@ -26,7 +26,7 @@
- +
diff --git a/src/routes/library/+page.svelte b/src/routes/library/+page.svelte index 7dc0dbc65..93b9ef4b9 100644 --- a/src/routes/library/+page.svelte +++ b/src/routes/library/+page.svelte @@ -1,10 +1,13 @@ - + diff --git a/src/routes/package.ts b/src/routes/package.ts index fb550e755..f38dd551b 100644 --- a/src/routes/package.ts +++ b/src/routes/package.ts @@ -243,6 +243,16 @@ export const package_json = { default: './dist/Redirect.svelte', types: './dist/Redirect.svelte.d.ts', }, + './Spider.svelte': { + svelte: './dist/Spider.svelte', + default: './dist/Spider.svelte', + types: './dist/Spider.svelte.d.ts', + }, + './Spiders.svelte': { + svelte: './dist/Spiders.svelte', + default: './dist/Spiders.svelte', + types: './dist/Spiders.svelte.d.ts', + }, './style_animations.css': {default: './dist/style_animations.css'}, './style_components.css': {default: './dist/style_components.css'}, './style_reset.css': {default: './dist/style_reset.css'}, @@ -397,6 +407,8 @@ export const src_json = { './Pending_Animation.svelte': {path: 'Pending_Animation.svelte', declarations: []}, './Pending_Button.svelte': {path: 'Pending_Button.svelte', declarations: []}, './Redirect.svelte': {path: 'Redirect.svelte', declarations: []}, + './Spider.svelte': {path: 'Spider.svelte', declarations: []}, + './Spiders.svelte': {path: 'Spiders.svelte', declarations: []}, './style_animations.css': {path: 'style_animations.css', declarations: []}, './style_components.css': {path: 'style_components.css', declarations: []}, './style_reset.css': {path: 'style_reset.css', declarations: []},