mirror of
https://github.com/BradNut/personal-website-sveltekit
synced 2025-09-08 23:20:18 +00:00
Fixing some checks
This commit is contained in:
parent
fc4ee0c9ae
commit
f70203ebb4
2 changed files with 7 additions and 6 deletions
|
|
@ -16,7 +16,8 @@ export async function componentToPng(component: Component, props: Record<string,
|
|||
console.log('result', result);
|
||||
const markup = toReactNode(`${result.body}${result.head}`);
|
||||
|
||||
const svg = await satori(markup, {
|
||||
// Cast markup to any to satisfy satori's ReactNode expectation
|
||||
const svg = await satori(markup as any, {
|
||||
fonts: [
|
||||
{
|
||||
name: 'Fira Sans',
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<script lang="ts">
|
||||
import desktop from '$lib/assets/images/Desktop_so_clean.jpg?enhanced';
|
||||
import ExternalLink from '$lib/components/ExternalLink.svelte';
|
||||
import Development from './development.svelte';
|
||||
import HardwareAccessories from './hardware-accessories.svelte';
|
||||
import PrivacyHardwareSoftware from './privacy-hardware-software.svelte';
|
||||
import desktop from "$lib/assets/images/Desktop_so_clean.jpg?enhanced";
|
||||
import ExternalLink from "$lib/components/ExternalLink.svelte";
|
||||
import Development from "./development.svelte";
|
||||
import HardwareAccessories from "./hardware-accessories.svelte";
|
||||
import PrivacyHardwareSoftware from "./privacy-hardware-software.svelte";
|
||||
</script>
|
||||
|
||||
<div class="uses">
|
||||
|
|
|
|||
Loading…
Reference in a new issue