data endpoint for entity 90008 (aka. a website)
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

refactor: cleanup warnings

dusk b4eadbe1 62fb94c3

+5 -12
+1 -1
src/lib/bluesky.ts
··· 1 1 import { env } from '$env/dynamic/private' 2 - import { Bot, Post } from "@skyware/bot"; 2 + import { Bot, type Post } from "@skyware/bot"; 3 3 import { get, writable } from 'svelte/store' 4 4 5 5 const bskyClient = writable<null | Bot>(null)
-1
src/routes/+page.svelte
··· 1 1 <script lang="ts"> 2 2 import { PUBLIC_BASE_URL } from '$env/static/public'; 3 3 import Note from '../components/note.svelte'; 4 - import Tooltip from '../components/tooltip.svelte'; 5 4 import Window from '../components/window.svelte'; 6 5 import LatestStuff from './lateststuff.md'; 7 6
+2 -2
src/routes/entries/_layout.svelte
··· 2 2 import { PUBLIC_BASE_URL } from '$env/static/public'; 3 3 import Window from '../../components/window.svelte'; 4 4 import '../../styles/app.css'; 5 - import { page } from '$app/stores'; 5 + import { page } from '$app/state'; 6 6 7 7 interface Props { 8 8 title: any; ··· 37 37 <Window title="metadata" sticky> 38 38 <div class="prose prose-ralsei"> 39 39 <ul> 40 - <link class="u-url" href="{PUBLIC_BASE_URL}{$page.url.pathname}" /> 40 + <link class="u-url" href="{PUBLIC_BASE_URL}{page.url.pathname}" /> 41 41 <li>author: <a rel="author" class="p-author h-card" href={PUBLIC_BASE_URL}>dusk</a></li> 42 42 <li>published on: <time class="dt-published" datetime="{date} 00:00:00">{date}</time></li> 43 43 <li class="max-w-80 text-wrap">
+1 -7
src/routes/entries/japan-trip24/+page.md
··· 9 9 export let data 10 10 </script> 11 11 12 - <style> 13 - picture { 14 - margin: 0 !important; 15 - } 16 - </style> 17 - 18 12 ## 1-16 / 09 / 2024 19 13 20 14 photos i took while on a japan trip ··· 26 20 27 21 <div class="grid gap-0.5 auto-rows-min md:grid-cols-4"> 28 22 {#each data.images as image} 29 - <a class="!animate-none" href={image.og}><img loading="lazy" width={480} height={480} src={image.thumb} class="w-full h-full object-cover [image-rendering:high-quality_!important]"/></a> 23 + <a class="!animate-none" href={image.og}><img loading="lazy" width={480} height={480} src={image.thumb} alt="from japan trip" class="w-full h-full object-cover [image-rendering:high-quality_!important]"/></a> 30 24 {/each} 31 25 </div>
+1 -1
src/routes/log/+page.server.ts
··· 1 - import { getLastPosts, getUserPosts } from '$lib/bluesky.js'; 1 + import { getLastPosts } from '$lib/bluesky.js'; 2 2 import { noteFromBskyPost } from '../../components/note.svelte'; 3 3 4 4 export const load = async ({ }) => {