your personal website on atproto - mirror blento.app

Merge pull request #58 from flo-bit/fix-favicon

fix favicon

authored by Florian and committed by GitHub 800a84eb 985b5df9

+6 -4
+3 -2
src/lib/website/EditableWebsite.svelte
··· 15 savePage, 16 scrollToItem, 17 setPositionOfNewItem, 18 - validateLink 19 } from '../helper'; 20 import EditableProfile from './EditableProfile.svelte'; 21 import type { Item, WebsiteData } from '../types'; ··· 579 /> 580 581 <Head 582 - favicon={data.profile.avatar ?? null} 583 title={getName(data)} 584 image={'/' + data.handle + '/og.png'} 585 accentColor={data.publication?.preferences?.accentColor}
··· 15 savePage, 16 scrollToItem, 17 setPositionOfNewItem, 18 + validateLink, 19 + getImage 20 } from '../helper'; 21 import EditableProfile from './EditableProfile.svelte'; 22 import type { Item, WebsiteData } from '../types'; ··· 580 /> 581 582 <Head 583 + favicon={getImage(data.publication, data.did, 'icon') || data.profile.avatar} 584 title={getName(data)} 585 image={'/' + data.handle + '/og.png'} 586 accentColor={data.publication?.preferences?.accentColor}
+3 -2
src/lib/website/Website.svelte
··· 6 getHideProfileSection, 7 getProfilePosition, 8 getName, 9 - sortItems 10 } from '../helper'; 11 import { innerWidth } from 'svelte/reactivity/window'; 12 import { setDidContext, setHandleContext, setIsMobile } from './context'; ··· 56 </script> 57 58 <Head 59 - favicon={data.profile.avatar ?? null} 60 title={getName(data)} 61 image={'/' + data.handle + '/og.png'} 62 description={getDescription(data)}
··· 6 getHideProfileSection, 7 getProfilePosition, 8 getName, 9 + sortItems, 10 + getImage 11 } from '../helper'; 12 import { innerWidth } from 'svelte/reactivity/window'; 13 import { setDidContext, setHandleContext, setIsMobile } from './context'; ··· 57 </script> 58 59 <Head 60 + favicon={getImage(data.publication, data.did, 'icon') || data.profile.avatar} 61 title={getName(data)} 62 image={'/' + data.handle + '/og.png'} 63 description={getDescription(data)}