add: updated some stuff

This commit is contained in:
webfussel 2024-09-12 10:42:59 +02:00
parent 8ed351a419
commit f106c8c0f4
2 changed files with 31 additions and 25 deletions

View file

@ -4,14 +4,14 @@
background-repeat: no-repeat; background-repeat: no-repeat;
.service-list { .service-list {
display: flex; display: grid;
flex-wrap: wrap; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
align-items: stretch; grid-template-rows: repeat(4, auto);
& article { & article {
flex-grow: 1; grid-row: span 4;
flex-shrink: 0; display: grid;
flex-basis: clamp(350px, calc(33% - 3rem), 500px); grid-template-rows: subgrid;
position: relative; position: relative;
& .chip { & .chip {
@ -52,20 +52,20 @@
} }
} }
@media (width < 1640px) {
.Services {
& .service-list article:last-child {
grid-column: 1/-1;
}
}
}
@media (width < 600px) { @media (width < 600px) {
.Services { .Services {
& .service-list {
width: 80vw;
& article {
flex-basis: 100%;
}
}
& .network-list { & .network-list {
--height: 380px; --height: 380px;
& article { & article {
flex-basis: 80vw; flex-basis: 70vw;
} }
} }
} }

View file

@ -45,28 +45,34 @@
<script setup lang="ts"> <script setup lang="ts">
import check from 'iconoir/icons/regular/double-check.svg' import check from 'iconoir/icons/regular/double-check.svg'
import type { Person } from '#components'
import mail from 'iconoir/icons/regular/mail.svg' import mail from 'iconoir/icons/regular/mail.svg'
const slots : number = 0
const slotsLabel = `${slots} ${slots === 1 ? `Slot` : `Slots`} frei`
const freeFromDate = new Date(2025, 0, 1)
const intl = new Intl.DateTimeFormat('de-DE', { day: '2-digit', month: '2-digit', year: 'numeric'})
const readableDate = intl.format(freeFromDate)
const services = [ const services = [
{ {
title: 'Bug Research', title: 'Quick Check',
price: '99 € / Einmalig', price: '149 € / Einmalig',
availability: 'Frei', availability: 'Frei',
smallClaim: 'Du hast einen Bug, aber weißt nicht woher? Kein Ding.', smallClaim: 'Du hast eine Homepage und willst mal drüber schauen lassen?',
button: 'Jetzt untersuchen', button: 'Jetzt untersuchen',
link: 'https://tidycal.com/webfussel/bug-research', link: 'https://tidycal.com/webfussel/quick-check',
list: [ list: [
'Untersuchung des Quellcodes', 'Untersuchung des Quellcodes',
'Konkrete Lösungsvorschläge', 'Untersuchung der Performance',
'Ergebnisse innerhalb von 7 Tagen', 'Tipps zu CSS und Best Practices',
'Behebung unkompliziert nachbuchen', 'Behebung unkompliziert nachbuchen',
'JavaScript, TypeScript, Vue oder Nuxt', 'Für selbst gebaute Seiten',
], ],
}, { }, {
title: 'Projektbuchung', title: 'Projektbuchung',
price: 'ab 999 € je nach Umfang', price: 'ab 999 € je nach Umfang',
availability: '1 Slot Frei', availability: slotsLabel,
smallClaim: 'Umsetzung deiner Vision. Von einzelnen Tickets bis hin zu kompletten Anwendungen.', smallClaim: 'Umsetzung deiner Vision. Von einzelnen Tickets bis hin zu kompletten Anwendungen.',
button: 'Jetzt durchstarten', button: 'Jetzt durchstarten',
link: 'https://tidycal.com/webfussel/project-booking', link: 'https://tidycal.com/webfussel/project-booking',
@ -78,7 +84,7 @@ const services = [
], ],
}, { }, {
title: 'Stundenbuchung', title: 'Stundenbuchung',
availability: 'Frei ab 01.01.2025', availability: `Frei ab ${readableDate}`,
price: '105 € / Stunde', price: '105 € / Stunde',
smallClaim: 'Du brauchst einfach Unterstützung im Team, bis sich der Trubel legt?', smallClaim: 'Du brauchst einfach Unterstützung im Team, bis sich der Trubel legt?',
button: 'Jetzt buchen', button: 'Jetzt buchen',