FIX: better buttons
Better button stuff, better image naming and scaling
This commit is contained in:
parent
cbe1f89ec6
commit
266301aa58
6 changed files with 18 additions and 8 deletions
|
@ -1,6 +1,13 @@
|
|||
<template>
|
||||
<article class="Person flex-col">
|
||||
<img loading="lazy" width="150" height="150" :src="img" :alt="`Bild von ${name}`" />
|
||||
<img
|
||||
loading="lazy"
|
||||
width="150"
|
||||
height="150"
|
||||
:srcset="[getImage('1x', true), getImage('2x', true), getImage('3x', true)].join(', ')"
|
||||
:src="getImage('1x', false)"
|
||||
:alt="`Bild von ${name}`"
|
||||
/>
|
||||
<h3>{{name}}</h3>
|
||||
<p>
|
||||
<span v-for="tag in tags">{{tag}}</span>
|
||||
|
@ -19,5 +26,7 @@ type Props = {
|
|||
link: string
|
||||
}
|
||||
|
||||
defineProps<Props>()
|
||||
const { img } = defineProps<Props>()
|
||||
|
||||
const getImage = (size : '1x' | '2x' | '3x', set : boolean) => `/img/network/${img}@${size}.webp${set ? ` ${size}` : ''}`
|
||||
</script>
|
||||
|
|
|
@ -109,35 +109,35 @@ const shuffle = <T>(unshuffled : T[]) => unshuffled
|
|||
const network = shuffle([
|
||||
{
|
||||
name: 'Robert Janus',
|
||||
img: '/img/network/robert.webp',
|
||||
img: 'robert',
|
||||
tags: ['Digitalberatung', 'Webentwicklung', 'eCommerce'],
|
||||
flavour: 'Website, SEO und Conversions. Auf einen Klick.',
|
||||
link: 'https://robertjanus.de/webertoire',
|
||||
},
|
||||
{
|
||||
name: 'Matthias Lehmann',
|
||||
img: '/img/network/matthias.webp',
|
||||
img: 'matthias',
|
||||
tags: ['Onlineportale für Patienten', 'Kunden', 'Mitarbeiter'],
|
||||
flavour: 'Software die macht, was DU willst!',
|
||||
link: 'https://mind-deploy.de',
|
||||
},
|
||||
{
|
||||
name: 'Maximilian Schluer',
|
||||
img: '/img/network/maximilian.webp',
|
||||
img: 'maxmilian',
|
||||
tags: ['iOS Development', 'Software-QA'],
|
||||
flavour: 'Kann dein iOS-Team unterstützen oder dein Software-Qualitätsproblem lösen – egal welches.',
|
||||
link: 'https://max-schluer.de',
|
||||
},
|
||||
{
|
||||
name: 'Maria Salcedo',
|
||||
img: '/img/network/maria.webp',
|
||||
img: 'maria',
|
||||
tags: ['Backend', 'DevOps', 'Architektur'],
|
||||
flavour: 'Effizient und kommunikativ. "You build it, you run it."',
|
||||
link: 'https://masagu.dev',
|
||||
},
|
||||
{
|
||||
name: 'Judith Böhlert',
|
||||
img: '/img/network/judith.webp',
|
||||
img: 'judith',
|
||||
tags: ['Full-stack', 'Frontend'],
|
||||
flavour: 'MVPs und Prototypen - schnell, schick und ohne Drama.',
|
||||
link: 'https://judithboehlert.com',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue