generated from ryanatkn/fuz_template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add
Project_Links.svelte
and use it in Community_Links_Panel.svelte
- Loading branch information
Showing
6 changed files
with
88 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@ryanatkn/fuz': patch | ||
--- | ||
|
||
add `Project_Links.svelte` and use it in `Community_Links_Panel.svelte` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,22 @@ | ||
<script lang="ts"> | ||
import type {Snippet} from 'svelte'; | ||
import Community_Links from '$lib/Community_Links.svelte'; | ||
import Project_Links from '$lib/Project_Links.svelte'; | ||
interface Props { | ||
children?: Snippet; | ||
} | ||
const {children}: Props = $props(); | ||
</script> | ||
|
||
<section class="panel p_lg"> | ||
<h2 class="mt_0 mb_lg">Links</h2> | ||
{#if children} | ||
{@render children()} | ||
{:else} | ||
<h2 class="mt_0 mb_lg">Links</h2> | ||
{/if} | ||
<Community_Links /> | ||
<div class="box row"><Project_Links /></div> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<script lang="ts"> | ||
import Zzz_Logo from '$lib/Zzz_Logo.svelte'; | ||
import Moss_Logo from '$lib/Moss_Logo.svelte'; | ||
import Fuz_Logo from '$lib/Fuz_Logo.svelte'; | ||
import Gro_Logo from '$lib/Gro_Logo.svelte'; | ||
import Fuzling from '$lib/Fuzling.svelte'; | ||
const size = 'var(--icon_size_lg)'; | ||
</script> | ||
|
||
<!--<a href="https://www.spiderspace.org/"></a>--><!--<a href="https://www.webdevladder.net/"></a>--><a | ||
class="project_link" | ||
title="Zzz - social web app framework" | ||
href="https://zzz.ryanatkn.com/"><Zzz_Logo {size} /><span class="name">Zzz</span></a | ||
> | ||
<a class="project_link" title="Moss - CSS framework" href="https://moss.ryanatkn.com/" | ||
><Moss_Logo {size} /><span class="name">Moss</span></a | ||
> | ||
<a class="project_link" title="Fuz - Svelte UI library" href="https://www.fuz.dev/" | ||
><Fuz_Logo {size} /><span class="name">Fuz</span></a | ||
> | ||
<a | ||
class="project_link" | ||
title="Gro - task runner and toolkit extending SvelteKit" | ||
href="https://gro.ryanatkn.com/"><Gro_Logo {size} /><span class="name">Gro</span></a | ||
> | ||
<a | ||
class="project_link" | ||
title="fuz_template - a static web app and Node library template with TypeScript, Svelte, SvelteKit, Vite, esbuild, Fuz, and Gro" | ||
href="https://template.fuz.dev/"><Fuzling {size} /><span class="name">fuz_template</span></a | ||
> | ||
|
||
<style> | ||
.project_link { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
padding: var(--space_md); | ||
text-align: center; | ||
} | ||
.project_link:hover { | ||
text-decoration: none; | ||
} | ||
.project_link:hover .name { | ||
text-decoration: underline; | ||
} | ||
.project_link .name { | ||
display: block; | ||
margin-top: var(--size_sm); | ||
font-size: var(--size_lg); | ||
font-weight: 400; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters