diff --git a/src/lib/components/AppMenus.svelte b/src/lib/components/AppMenus.svelte index 5cda261..dda661d 100644 --- a/src/lib/components/AppMenus.svelte +++ b/src/lib/components/AppMenus.svelte @@ -20,9 +20,9 @@
-
+
{#each currentApps.slice(0, 1) as menu} {/each}
-
+
{#each currentApps.slice(1) as menu} import { base } from '$app/paths' - export let content = '' + export let content function transformImagePaths(htmlContent: string) { return htmlContent.replace(/(]+src=")([^"]+)(")/gi, (match, prefix, src, suffix) => { diff --git a/src/lib/components/layouts/Footer.svelte b/src/lib/components/layouts/Footer.svelte index 2c47cc2..9c7bb11 100644 --- a/src/lib/components/layouts/Footer.svelte +++ b/src/lib/components/layouts/Footer.svelte @@ -30,7 +30,7 @@
- Apps + Apps
@@ -53,11 +53,11 @@
- Blog + Blog
@@ -67,4 +67,8 @@ tr td { @apply py-1; } + + .footer-menu { + @apply text-xl font-semibold hover:underline; + } diff --git a/src/routes/apps/[slug]/+page.svelte b/src/routes/apps/[slug]/+page.svelte index a1da7df..6db892c 100644 --- a/src/routes/apps/[slug]/+page.svelte +++ b/src/routes/apps/[slug]/+page.svelte @@ -2,12 +2,15 @@ import { base } from '$app/paths' import Cta from '$lib/components/elements/CTA.svelte' import Head from '$lib/components/layouts/Head.svelte' + import RenderMarkdown from '$lib/components/RenderMarkdown.svelte' import Title from '$lib/components/Title.svelte' import { appLogos } from '$utils/constants' import Icon from '@iconify/svelte' export let data + let hoverGithub = false + $: app = data.app @@ -32,15 +35,28 @@
- - +
+ (hoverGithub = e.detail)} + target="_blank" + text="View on Github" + classes="px-2 !text-base lg:!text-xl" + url={app?.github} + /> + +
-
- {@html app.content} +
+ +

App Preview