diff --git a/docs/Beta.md b/docs/Beta.md index f72acd6..f57394a 100644 --- a/docs/Beta.md +++ b/docs/Beta.md @@ -1,15 +1,10 @@ # Todo for beta -- opengraph stuff - - - title, description - - fix opengraph image stuff +- fix opengraph image stuff - site.standard - - move subpages to own lexicon - move description to markdownDescription and set description as text only - - implement verification - fix recent blentos only showing the last ~5 @@ -25,12 +20,14 @@ - allow setting base and accent color -- edit link of image card - - go straight to edit mode (and redirect to edit mode on succesfull login) - ask to fill with some default cards on page creation - share button (copy share link to blento, maybe post to bluesky?) -- add icons to "change card to..." popover \ No newline at end of file +- add icons to "change card to..." popover + +- show social icon instead of favicon in link card if platform found for link + +- when adding images try to add them in a size that best fits aspect ratio \ No newline at end of file diff --git a/src/lib/cards/ImageCard/index.ts b/src/lib/cards/ImageCard/index.ts index 9d05ba7..30d3c03 100644 --- a/src/lib/cards/ImageCard/index.ts +++ b/src/lib/cards/ImageCard/index.ts @@ -29,5 +29,12 @@ export const ImageCardDefinition = { return item; }, - settingsComponent: ImageCardSettings + settingsComponent: ImageCardSettings, + + canChange: (item) => Boolean(item.cardData.image), + + change: (item) => { + return item; + }, + name: 'Image Card' } as CardDefinition & { type: 'image' }; diff --git a/src/lib/website/Head.svelte b/src/lib/website/Head.svelte index 9b768f8..08aa863 100644 --- a/src/lib/website/Head.svelte +++ b/src/lib/website/Head.svelte @@ -15,6 +15,8 @@ {#if title} {title} + + {/if} {#if image} diff --git a/src/lib/website/Website.svelte b/src/lib/website/Website.svelte index 14b678a..6e09527 100644 --- a/src/lib/website/Website.svelte +++ b/src/lib/website/Website.svelte @@ -1,7 +1,7 @@