mirror of
https://github.com/bartvdbraak/hellob.art.git
synced 2025-06-29 07:49:10 +00:00
feat: add custom icons and type
This commit is contained in:
parent
8d07d3ec7b
commit
3f44e70fa0
2 changed files with 25 additions and 19 deletions
|
@ -7,10 +7,21 @@
|
|||
|
||||
import catImg from '$lib/assets/root-cat.jpg?enhanced';
|
||||
import meImg from '$lib/assets/root-me.jpg?enhanced';
|
||||
import { Cat, PersonStanding } from 'lucide-svelte';
|
||||
|
||||
const images = [
|
||||
{ src: meImg, alt: 'Portrait of Bart van der Braak', style: 'object-[50%_10%]' },
|
||||
{ src: catImg, alt: 'Noire yawning cat and a bottle of whiskey with glass', style: '' }
|
||||
{
|
||||
src: meImg,
|
||||
alt: 'Portrait of Bart van der Braak',
|
||||
style: 'object-[50%_10%]',
|
||||
icon: PersonStanding
|
||||
},
|
||||
{
|
||||
src: catImg,
|
||||
alt: 'Noire yawning cat and a bottle of whiskey with glass',
|
||||
style: '',
|
||||
icon: Cat
|
||||
}
|
||||
];
|
||||
|
||||
$: title = $page.data.title;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue