your personal website on atproto - mirror
0
fork

Configure Feed

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

small fixes

Florian 9444b37d 2ac245dc

+32 -11
+6 -9
docs/Beta.md
··· 1 1 # Todo for beta 2 2 3 - - opengraph stuff 4 - 5 - - title, description 6 - - fix opengraph image stuff 3 + - fix opengraph image stuff 7 4 8 5 - site.standard 9 - 10 6 - move subpages to own lexicon 11 7 - move description to markdownDescription and set description as text only 12 - - implement verification 13 8 14 9 - fix recent blentos only showing the last ~5 15 10 ··· 25 20 26 21 - allow setting base and accent color 27 22 28 - - edit link of image card 29 - 30 23 - go straight to edit mode (and redirect to edit mode on succesfull login) 31 24 32 25 - ask to fill with some default cards on page creation 33 26 34 27 - share button (copy share link to blento, maybe post to bluesky?) 35 28 36 - - add icons to "change card to..." popover 29 + - add icons to "change card to..." popover 30 + 31 + - show social icon instead of favicon in link card if platform found for link 32 + 33 + - when adding images try to add them in a size that best fits aspect ratio
+8 -1
src/lib/cards/ImageCard/index.ts
··· 29 29 30 30 return item; 31 31 }, 32 - settingsComponent: ImageCardSettings 32 + settingsComponent: ImageCardSettings, 33 + 34 + canChange: (item) => Boolean(item.cardData.image), 35 + 36 + change: (item) => { 37 + return item; 38 + }, 39 + name: 'Image Card' 33 40 } as CardDefinition & { type: 'image' };
+2
src/lib/website/Head.svelte
··· 15 15 16 16 {#if title} 17 17 <title>{title}</title> 18 + <meta property="og:title" content={title} /> 19 + <meta name="twitter:title" content={title} /> 18 20 {/if} 19 21 20 22 {#if image}
+2 -1
src/lib/website/Website.svelte
··· 1 1 <script lang="ts"> 2 2 import Card from '../cards/Card/Card.svelte'; 3 3 import Profile from './Profile.svelte'; 4 - import { getHideProfile, getName, sortItems } from '../helper'; 4 + import { getDescription, getHideProfile, getName, sortItems } from '../helper'; 5 5 import { innerWidth } from 'svelte/reactivity/window'; 6 6 import { setDidContext, setHandleContext, setIsMobile } from './context'; 7 7 import BaseCard from '../cards/BaseCard/BaseCard.svelte'; ··· 33 33 favicon={data.profile.avatar ?? null} 34 34 title={getName(data)} 35 35 image={'/' + data.handle + '/og.png'} 36 + description={getDescription(data)} 36 37 /> 37 38 38 39 <Context {data}>
+14
src/routes/[handle]/.well-known/site.standard.publication/+server.ts
··· 1 + import { loadData } from '$lib/website/load'; 2 + import { error } from '@sveltejs/kit'; 3 + import type { UserCache } from '$lib/types'; 4 + import { text } from '@sveltejs/kit'; 5 + 6 + export async function GET({ params, platform }) { 7 + const cache = platform?.env?.USER_DATA_CACHE as unknown; 8 + 9 + const data = await loadData(params.handle, cache as UserCache, false, params.page); 10 + 11 + if (!data.publication) throw error(300); 12 + 13 + return text(data.did + '/site.standard.publication/blento.self'); 14 + }
src/routes/[handle]/.well_known/site.standard.publication/+server.ts

This is a binary file and will not be displayed.