mirror of
https://github.com/LukeHagar/LukeHagar.com.git
synced 2025-12-06 04:20:17 +00:00
conditionally render component
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import '$lib/theme-luke.css';
|
import '$lib/theme-luke.css';
|
||||||
import '../app.postcss';
|
import '../app.css';
|
||||||
|
|
||||||
import { onMount } from 'svelte';
|
import { onMount } from 'svelte';
|
||||||
|
|
||||||
@@ -48,6 +48,8 @@
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<ParticlesComponent id="tsparticles" options={particlesConfig} />
|
{#if ParticlesComponent}
|
||||||
|
<ParticlesComponent id="tsparticles" options={particlesConfig} />
|
||||||
|
{/if}
|
||||||
<!-- Page Route Content -->
|
<!-- Page Route Content -->
|
||||||
{@render children?.()}
|
{@render children?.()}
|
||||||
|
|||||||
@@ -24,13 +24,13 @@
|
|||||||
<title>LukeHagar.com</title>
|
<title>LukeHagar.com</title>
|
||||||
<!-- Meta -->
|
<!-- Meta -->
|
||||||
<meta name="title" content="LukeHagar.com" />
|
<meta name="title" content="LukeHagar.com" />
|
||||||
<meta name="description" content="Nothing special, just something for me to link to :)" />
|
<meta name="description" content="a simple personal portfolio" />
|
||||||
<!-- Open Graph -->
|
<!-- Open Graph -->
|
||||||
<meta property="og:title" content="LukeHagar.com" />
|
<meta property="og:title" content="LukeHagar.com" />
|
||||||
<meta property="og:description" content="Nothing special, just something for me to link to :)" />
|
<meta property="og:description" content="a simple personal portfolio" />
|
||||||
<meta property="og:type" content="image/jpeg" />
|
|
||||||
<meta property="og:url" content="https://lukehagar.com" />
|
<meta property="og:url" content="https://lukehagar.com" />
|
||||||
<meta property="og:image" content="/Luke.png" />
|
<meta property="og:image" content="/Luke.png" />
|
||||||
|
<meta property="og:type" content="image/png" />
|
||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
|
|||||||
Reference in New Issue
Block a user