-
![]()
+
{{skill.title}}
@@ -30,14 +38,16 @@
import type { RichText } from './RichText/Types'
type Skill = {
- img: string
+ img: Function
title: string
text: RichText[]
}
+const getExplanationImage = (img : string) => getImage('/img/explanations/', img)
+
const skills : Skill[] = [
{
- img: 'https://picsum.photos/550/350.webp?random=1',
+ img: getExplanationImage('components'),
title: 'Das, was du sehen kannst',
text: [
{
@@ -90,7 +100,7 @@ const skills : Skill[] = [
},
],
}, {
- img: 'https://picsum.photos/550/350.webp?random=2',
+ img: getExplanationImage('components'),
title: 'Da, wo du eintragen kannst',
text: [
{
@@ -191,7 +201,7 @@ const skills : Skill[] = [
},
],
}, {
- img: 'https://picsum.photos/550/350.webp?random=3',
+ img: getExplanationImage('components'),
title: 'Was dabei am Ende rauskommt',
text: [
{
diff --git a/public/img/explanations/components@1x.webp b/public/img/explanations/components@1x.webp
new file mode 100644
index 0000000..1af52c2
Binary files /dev/null and b/public/img/explanations/components@1x.webp differ
diff --git a/public/img/explanations/components@2x.webp b/public/img/explanations/components@2x.webp
new file mode 100644
index 0000000..5b386ff
Binary files /dev/null and b/public/img/explanations/components@2x.webp differ
diff --git a/public/img/explanations/components@3x.webp b/public/img/explanations/components@3x.webp
new file mode 100644
index 0000000..8d5f9c9
Binary files /dev/null and b/public/img/explanations/components@3x.webp differ