mirror of
https://github.com/bitbaum/evig.git
synced 2026-12-04 19:37:46 +01:00
fix(i18n): wire services catalog to translations across all 7 locales
- services/data.ts: strip all hardcoded German strings; add ServiceConfig
with key + categoryKey fields. Service type becomes ServiceConfig +
translated fields, built at runtime in page.tsx.
- services/page.tsx: use useTranslations('services.catalog') + .raw() to
hydrate services from translations; build filter labels from services.page
translations; schemaType now uses actual translated service titles.
- FilterableSection: add 'use client' and useTranslations('common') to
eliminate hardcoded "Alle" allLabel, "Filter zurücksetzen" reset button,
and "{n} von {m} Ergebnissen" results count.
- messages/*.json (all 7 locales): add services.catalog.{computerRepair,
dataRecovery, hardwareRecycling, webDesign, linuxOpenSource,
openSourceSolutions, buildYourComputer} with title/description/features/
highlight/pricing; add services.page.categoryLabels + filterByCategory;
add common.resetFilters + common.resultsCount.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
559f906617
commit
d56dabc13a
11 files changed
+998
-136
No files matched your search
@@ -0,0 +1,206 @@
|
||||
# Design Audit Report
|
||||
|
||||
**Date**: 2026-04-21
|
||||
**Branch**: main
|
||||
**Commit**: 0f5c3ffa
|
||||
|
||||
---
|
||||
|
||||
## Executive Summary
|
||||
|
||||
The codebase has a well-designed *design system* that is largely unused. `tailwind.config.ts` defines a proper semantic token layer (primary/secondary/neutral palettes, status colors), `src/lib/design/tokens.ts` defines button themes and gradients, and reusable `Button`, `Card`, `Badge` components exist in `src/components/ui/`. None of these are used on the homepage — every button, card, and color is manually inlined in JSX.
|
||||
|
||||
The result: the homepage looks inconsistent because it *is* inconsistent. Three different secondary button styles exist side by side. Card radii vary. Colors mix configured semantic tokens with raw Tailwind defaults (emerald, blue, purple) that have no definition in the theme. The footer has a WCAG AA contrast failure. The design system is a SSOT violation waiting to be fixed.
|
||||
|
||||
Information hierarchy is structurally correct (h1 → h2 → h3, mobile-first, max-w containers), but section 2 has six CTAs in one view and the social proof section has no heading — both weaken the visual rhythm.
|
||||
|
||||
---
|
||||
|
||||
## Health Scores
|
||||
|
||||
| Area | Score | Notes |
|
||||
|------|-------|-------|
|
||||
| Design Token SSOT | 3/10 | Tokens defined, almost never used |
|
||||
| Typography | 5/10 | Heading scale exists; body copy has no scale |
|
||||
| Color System | 4/10 | Palette defined; raw colors bypass it everywhere |
|
||||
| Information Hierarchy | 7/10 | Structurally sound; CTA overload in section 2 |
|
||||
| Component Consistency | 3/10 | Button/Card components ignored; everything inline |
|
||||
| Responsive Design | 8/10 | Mobile-first, consistent breakpoints |
|
||||
| Accessibility | 5/10 | Footer contrast fails WCAG AA; form labels missing |
|
||||
| **Overall** | **5/10** | Good bones, poor execution |
|
||||
|
||||
---
|
||||
|
||||
## Critical Issues
|
||||
|
||||
### 1. Footer WCAG AA Contrast Failure
|
||||
`src/components/layout/footer/Footer.tsx`
|
||||
|
||||
- `text-gray-400` (`#a3a3a3`) on `bg-gray-900` (`#171717`) → contrast ratio ≈ **2.5:1** (WCAG AA requires 4.5:1)
|
||||
- Lines: gray-400 at ~L82, L111, L144; gray-500 at L85 — all fail
|
||||
- **Fix:** Replace `text-gray-400` → `text-gray-200`, `text-gray-500` → `text-gray-300` in footer
|
||||
|
||||
### 2. Design Tokens Defined, Never Used
|
||||
`src/lib/design/tokens.ts`, `tailwind.config.ts`
|
||||
|
||||
The file `src/lib/design/tokens.ts` defines `DESIGN_TOKENS.buttons` (themed button colors for every section) and `DESIGN_TOKENS.gradients` (13 named page gradients). The `tailwind.config.ts` defines `primary` (green), `secondary` (orange), `neutral`, `success`, `warning`, `error`, `info` semantic tokens.
|
||||
|
||||
**What actually happens on the homepage:**
|
||||
- `src/app/[locale]/page.tsx:122` — `bg-green-600` (raw class, not `bg-primary-600`)
|
||||
- `src/app/[locale]/page.tsx:160` — `bg-emerald-100` (NOT in tailwind.config.ts at all)
|
||||
- `src/app/[locale]/page.tsx:275` — `bg-purple-100`, `border-purple-300`, `ring-purple-200` (NOT defined)
|
||||
- `src/app/[locale]/page.tsx:164` — `bg-emerald-600 hover:bg-emerald-500` on the Repair card button
|
||||
- PageHero.tsx at L34-38: only component that uses DESIGN_TOKENS — the rest of the codebase ignores it
|
||||
|
||||
**Colors used but not in theme:** emerald (full palette), blue (full palette), purple (full palette)
|
||||
These resolve to Tailwind's bundled defaults, bypassing the configured palette entirely.
|
||||
|
||||
### 3. Button and Card Components Not Used
|
||||
`src/components/ui/button.tsx`, `src/components/ui/card.tsx`
|
||||
|
||||
Both components are fully built with variants and sizes. Neither appears on the homepage. Every button is an inline-styled `<Link>` or `<a>` tag. Every card is a `<div>` or `<Link>` with hand-rolled classes.
|
||||
|
||||
**Three different "secondary" button styles coexist:**
|
||||
- Hero secondary: plain `text-base font-semibold text-gray-900` + arrow (`src/app/[locale]/page.tsx:127`)
|
||||
- Card secondary border style: `border bg-white text-{color}` (`src/app/[locale]/page.tsx:200`)
|
||||
- Community card: entire card is the link, no button element
|
||||
|
||||
**Two different card border radii:** `rounded-2xl` (action cards) vs `rounded-xl` (community cards)
|
||||
|
||||
### 4. Newsletter Form — No Labels
|
||||
`src/components/community/NewsletterSignup.tsx`
|
||||
|
||||
Form inputs use placeholder text as the only label. `<label>` elements are missing. Screen readers and users who focus the input (which clears placeholder) have no indication of what the field is.
|
||||
|
||||
---
|
||||
|
||||
## High-Priority Issues
|
||||
|
||||
### 5. Heading Component Default Scale is Wrong for Marketing Pages
|
||||
`src/components/ui/Heading.tsx:43`
|
||||
|
||||
```tsx
|
||||
const variant = variantProp ?? 'admin'
|
||||
```
|
||||
|
||||
The `admin` scale produces `text-xl` for h1 — far too small for a marketing homepage. Every page that doesn't explicitly pass `variant="site"` gets the admin (dashboard-sized) headings. The homepage uses `<Heading level={2}>` at L137 without specifying variant, likely defaulting to `text-xl` instead of the intended `text-2xl sm:text-3xl`.
|
||||
|
||||
**Fix:** Change default to `'site'` for `[locale]` pages, or make the default `'site'`.
|
||||
|
||||
### 6. Focus Style Inconsistency
|
||||
Multiple files
|
||||
|
||||
Three different focus styles in use:
|
||||
- Skip link (`src/app/layout.tsx:32`): `focus:bg-blue-600` — hardcoded **blue**
|
||||
- Hero button (`src/app/[locale]/page.tsx:123`): `focus-visible:outline-green-600` — outline style, **green**
|
||||
- Nav link (`src/components/layout/header/Header.tsx:100`): `focus-visible:ring-2 focus-visible:ring-emerald-500` — ring style, **emerald**
|
||||
- Button component (`src/components/ui/button.tsx:17`): `focus-visible:ring-green-600` — ring style, **green**
|
||||
|
||||
Skip link should use green (brand color), not blue. All focus indicators should use the same style (prefer `ring-2` over outline for cross-browser consistency) and same color.
|
||||
|
||||
### 7. Social Proof Section Has No Heading
|
||||
`src/app/[locale]/page.tsx:228-256`
|
||||
|
||||
Section 3 (media logos + community metrics) has no `<Heading>` — it jumps directly to logo list and stat numbers. This breaks the page's visual rhythm. The `AsSeenInLogos` component renders `"Bekannt aus"` as a `<p>` tag with `font-medium` styling, not a semantic heading.
|
||||
|
||||
### 8. Six CTAs in Section 2
|
||||
`src/app/[locale]/page.tsx:141-209`
|
||||
|
||||
Three cards × (1 primary CTA + 1 secondary CTA) = 6 calls to action in one content band. Users face choice paralysis. Best practice: one primary CTA per section; secondary action as text link below.
|
||||
|
||||
### 9. Body Text Has No Scale
|
||||
Homepage mixes arbitrary text sizes for body copy with no system:
|
||||
- `text-xs` — footnotes
|
||||
- `text-sm` — labels
|
||||
- `text-base` — body
|
||||
- `text-lg`, `text-xl`, `text-2xl` — emphasis text, all manually picked per element
|
||||
|
||||
No semantic mapping (caption, body, lead, display). Every developer picks a raw Tailwind size.
|
||||
|
||||
---
|
||||
|
||||
## Medium Issues
|
||||
|
||||
### 10. Inline Gradients Bypass Token System
|
||||
`src/app/[locale]/page.tsx`, multiple sections
|
||||
|
||||
`DESIGN_TOKENS.gradients` defines 13 named gradients (`'from-white to-gray-50'`, `'from-green-50 to-emerald-50'`, etc.). The homepage applies gradient classes inline on each section div, duplicating gradient values instead of using the token. `PageHero.tsx:34-38` is the only component using the token.
|
||||
|
||||
### 11. Custom Utilities Defined but Unused
|
||||
`src/app/globals.css:42-80`
|
||||
|
||||
- `.touch-target` (min 44×44px) — defined, never applied; card buttons are 36px tall
|
||||
- `.focus-ring` — defined, but components define their own focus styles
|
||||
- `.grid-cols-responsive` — defined, unused
|
||||
- `.fix-text-rendering` — defined, unused
|
||||
- Custom font sizes `xs-mobile`, `sm-mobile`, `base-mobile` in `tailwind.config.ts:91-95` — defined, unused
|
||||
|
||||
### 12. Dark Mode Half-Implemented
|
||||
`tailwind.config.ts:9` — `darkMode: 'class'`
|
||||
|
||||
`Button` and `Card` components have `dark:` variants. The homepage has none. Footer is fixed dark (no light-mode variant). Dark mode would render the homepage as white-on-white if class were ever toggled.
|
||||
|
||||
### 13. Card Button Touch Targets Below 44px
|
||||
`src/app/[locale]/page.tsx:194-196`
|
||||
|
||||
Card primary buttons: `px-4 py-3` = 12px + 12px vertical = 24px content + 2×12px padding = 48px height. Wait — that's fine (48px > 44px).
|
||||
Card secondary buttons: `px-4 py-2` = 8px + 8px = borderline 32-36px depending on font-size. Below the 44px WCAG 2.5.5 guideline.
|
||||
|
||||
---
|
||||
|
||||
## Quick Wins (< 1 hour each)
|
||||
|
||||
| Fix | File | Impact |
|
||||
|-----|------|--------|
|
||||
| Fix footer contrast: `gray-400` → `gray-200`, `gray-500` → `gray-300` | `Footer.tsx` | WCAG AA compliance |
|
||||
| Fix skip link color: `bg-blue-600` → `bg-green-600` | `src/app/layout.tsx:32` | Brand consistency |
|
||||
| Add `<label>` to newsletter inputs | `NewsletterSignup.tsx` | Accessibility |
|
||||
| Change Heading default variant to `'site'` | `Heading.tsx:43` | Marketing page headings |
|
||||
| Add `underline` to green text links on homepage | `page.tsx:249` | Accessibility |
|
||||
| Add section heading to social proof section | `page.tsx:228` | Visual hierarchy |
|
||||
|
||||
---
|
||||
|
||||
## Medium Effort (1–4 hours each)
|
||||
|
||||
| Task | Impact |
|
||||
|------|--------|
|
||||
| Replace homepage buttons with `<Button>` component | Consistency, DRY |
|
||||
| Replace homepage cards with `<Card>` component | Consistency, DRY |
|
||||
| Standardize focus styles to `ring-2 ring-green-600` everywhere | Accessibility |
|
||||
| Add undefined colors (emerald, blue, purple) to tailwind theme or replace with configured tokens | SSOT |
|
||||
| Reduce section 2 to 3 CTAs (1 primary per card, secondary as text link) | UX clarity |
|
||||
|
||||
---
|
||||
|
||||
## Strategic (Design System Unification)
|
||||
|
||||
The core problem is a design system that nobody follows. The fix isn't adding more tokens — it's enforcing what already exists:
|
||||
|
||||
1. **Mandate Button component** — remove the ability to create unstyled buttons in JSX; the component should cover all cases
|
||||
2. **Remove raw color classes from homepage** — audit with `npm run lint` rule that flags raw `green-*`, `emerald-*`, `blue-*`, `purple-*` outside the ui/ components directory (add eslint-plugin-tailwindcss class order rules)
|
||||
3. **Add Storybook or similar** — make the component library visible and usable
|
||||
4. **Define a typographic scale** — add `prose` CSS class or a `Typography` component for body copy sections, preventing arbitrary text-size mixing
|
||||
|
||||
---
|
||||
|
||||
## File Reference Index
|
||||
|
||||
| File | Issue |
|
||||
|------|-------|
|
||||
| `src/app/[locale]/page.tsx:122` | Raw `bg-green-600` instead of primary token |
|
||||
| `src/app/[locale]/page.tsx:127` | Inconsistent secondary CTA style (no border) |
|
||||
| `src/app/[locale]/page.tsx:160` | `emerald-*` not in theme |
|
||||
| `src/app/[locale]/page.tsx:164` | `bg-emerald-600` on Repair button |
|
||||
| `src/app/[locale]/page.tsx:228–256` | Social proof section missing heading |
|
||||
| `src/app/[locale]/page.tsx:249` | Green link without underline |
|
||||
| `src/app/[locale]/page.tsx:275` | Purple not in theme |
|
||||
| `src/app/layout.tsx:32` | Skip link uses blue, not brand green |
|
||||
| `src/components/ui/Heading.tsx:43` | Default variant is 'admin', not 'site' |
|
||||
| `src/components/layout/footer/Footer.tsx:82,85,111,144` | WCAG AA contrast failure |
|
||||
| `src/components/community/NewsletterSignup.tsx:83–105` | Missing `<label>` on inputs |
|
||||
| `src/lib/design/tokens.ts` | Comprehensive tokens, unused by homepage |
|
||||
| `src/components/ui/button.tsx` | Component exists, unused on homepage |
|
||||
| `src/components/ui/card.tsx` | Component exists, unused on homepage |
|
||||
| `tailwind.config.ts:91-95` | Custom font sizes defined, zero usage |
|
||||
| `src/app/globals.css:42-80` | Multiple utilities defined, unused |
|
||||
+97
-2
@@ -203,7 +203,9 @@
|
||||
"sold": "Verkauft",
|
||||
"reserved": "Reserviert",
|
||||
"currency": "CHF",
|
||||
"skipToContent": "Zum Inhalt springen"
|
||||
"skipToContent": "Zum Inhalt springen",
|
||||
"resetFilters": "Filter zurücksetzen",
|
||||
"resultsCount": "{filtered} von {total} Ergebnissen"
|
||||
},
|
||||
"errors": {
|
||||
"genericTitle": "Etwas ist schiefgelaufen",
|
||||
@@ -721,7 +723,13 @@
|
||||
"appointmentRequested": "Termin angefragt!",
|
||||
"booking": "Wird gebucht...",
|
||||
"bookingFailed": "Terminbuchung fehlgeschlagen",
|
||||
"networkError": "Netzwerkfehler. Bitte versuche es erneut."
|
||||
"networkError": "Netzwerkfehler. Bitte versuche es erneut.",
|
||||
"categoryLabels": {
|
||||
"hardware": "Hardware-Dienstleistungen",
|
||||
"software": "Software-Lösungen",
|
||||
"soon": "Bald verfügbar"
|
||||
},
|
||||
"filterByCategory": "Nach Kategorie filtern"
|
||||
},
|
||||
"servicePage": {
|
||||
"comingSoonBanner": "Dieser Service kommt bald. Kontaktiere uns, um dein Interesse zu bekunden und benachrichtigt zu werden, wenn er verfügbar ist."
|
||||
@@ -1633,6 +1641,93 @@
|
||||
"800-1200": "CHF 800-1200",
|
||||
"1200+": "CHF 1200+"
|
||||
}
|
||||
},
|
||||
"catalog": {
|
||||
"computerRepair": {
|
||||
"title": "Computerreparatur & Aufrüstungen",
|
||||
"description": "Expertenreparaturen für alle Arten von Computern und Komponenten. Wir spezialisieren uns darauf zu reparieren, was andere nicht können, einschliesslich Motherboard-Reparaturen und Bauteil-Level-Fixes.",
|
||||
"features": [
|
||||
"Bauteil-Level-Reparaturen",
|
||||
"Hardware-Aufrüstungen",
|
||||
"Diagnosedienste",
|
||||
"Professionelle Bewertung"
|
||||
],
|
||||
"highlight": "Professionelle Bewertung erforderlich",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"dataRecovery": {
|
||||
"title": "Datenrettung & Transfer",
|
||||
"description": "Sichere und zuverlässige Datentransferdienste für alle Arten von Speichermedien. Wir können Daten von beschädigten Geräten wiederherstellen und auf moderne Speicherlösungen übertragen.",
|
||||
"features": [
|
||||
"Sicherer Datentransfer",
|
||||
"Datenwiederherstellung von beschädigten Geräten",
|
||||
"Unterstützung für Legacy-Medien (Disketten, ZIP-Laufwerke, MO-Laufwerke, SCSI/IDE-Laufwerke)",
|
||||
"Komplette Datensicherheit"
|
||||
],
|
||||
"highlight": "Auswertung vor der Wiederherstellung erforderlich",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"hardwareRecycling": {
|
||||
"title": "Hardware-Recycling",
|
||||
"description": "Verantwortungsvolles Recycling und Aufbereitung von IT-Geräten. Wir geben deinen alten Geräten ein neues Leben und sorgen für sichere Datenlöschung.",
|
||||
"features": [
|
||||
"Sichere Datenlöschung",
|
||||
"Geräteaufbereitung",
|
||||
"Komponenten-Recycling",
|
||||
"Kostenloser Abholservice"
|
||||
],
|
||||
"highlight": "Kostenloser Abholservice verfügbar",
|
||||
"pricing": "Kostenlos für die meisten Geräte"
|
||||
},
|
||||
"webDesign": {
|
||||
"title": "Webdesign & Entwicklung",
|
||||
"description": "Professionelle Webdesign- und Entwicklungsdienstleistungen mit modernen Open-Source-Technologien. Schnelle, responsive Websites mit Next.js, Headless CMS und nachhaltigen Praktiken.",
|
||||
"features": [
|
||||
"Moderne Frameworks (Next.js, React)",
|
||||
"Headless CMS (Strapi, Payload, Tina)",
|
||||
"Responsive Design & Tailwind CSS",
|
||||
"E-Commerce-Lösungen (WooCommerce, Shopware 6)",
|
||||
"SEO-Optimierung & Performance"
|
||||
],
|
||||
"highlight": "Kostenlose Erstberatung",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"linuxOpenSource": {
|
||||
"title": "Linux & Open Source",
|
||||
"description": "Professionelle Linux-Installation, -Konfiguration und -Support-Dienstleistungen. Wir helfen dir, das Beste aus deinem Linux-System mit fachkundiger Anleitung und Wartung herauszuholen.",
|
||||
"features": [
|
||||
"Linux-Installation & Konfiguration",
|
||||
"Systemoptimierung & Wartung",
|
||||
"Sicherheitshärtung",
|
||||
"Performance-Tuning"
|
||||
],
|
||||
"highlight": "Professionelle Bewertung erforderlich",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"openSourceSolutions": {
|
||||
"title": "Open-Source-Lösungen",
|
||||
"description": "Fachkundige Implementierung und Support für Open-Source-Software. Wir helfen dir beim Übergang zu und der Wartung von Open-Source-Lösungen für deine Geschäftsanforderungen.",
|
||||
"features": [
|
||||
"Open-Source-Beratung",
|
||||
"Massgeschneiderte Entwicklung",
|
||||
"Community-Integration",
|
||||
"Sicherheit & Compliance"
|
||||
],
|
||||
"highlight": "Kostenlose Erstberatung",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"buildYourComputer": {
|
||||
"title": "Computer zusammenstellen",
|
||||
"description": "Erhalte einen massgeschneiderten Computer für deine spezifischen Bedürfnisse, unterstützt durch KI-Analyse unseres umfangreichen Inventars. Wir beziehen Teile global und bieten professionelle Montage.",
|
||||
"features": [
|
||||
"KI-gestützte Build-Empfehlungen",
|
||||
"Globales Teile-Beschaffungsnetzwerk",
|
||||
"Professionelle Montage und Tests",
|
||||
"Qualitätsgarantie und Gewährleistung"
|
||||
],
|
||||
"highlight": "Bald verfügbar",
|
||||
"pricing": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
"workshops": {
|
||||
|
||||
+97
-2
@@ -113,7 +113,9 @@
|
||||
"sold": "Sold",
|
||||
"reserved": "Reserved",
|
||||
"currency": "CHF",
|
||||
"skipToContent": "Skip to content"
|
||||
"skipToContent": "Skip to content",
|
||||
"resetFilters": "Reset filters",
|
||||
"resultsCount": "{filtered} of {total} results"
|
||||
},
|
||||
"errors": {
|
||||
"genericTitle": "Something went wrong",
|
||||
@@ -631,7 +633,13 @@
|
||||
"appointmentRequested": "Appointment requested!",
|
||||
"booking": "Booking...",
|
||||
"bookingFailed": "Booking failed",
|
||||
"networkError": "Network error. Please try again."
|
||||
"networkError": "Network error. Please try again.",
|
||||
"categoryLabels": {
|
||||
"hardware": "Hardware Services",
|
||||
"software": "Software Solutions",
|
||||
"soon": "Coming Soon"
|
||||
},
|
||||
"filterByCategory": "Filter by category"
|
||||
},
|
||||
"servicePage": {
|
||||
"comingSoonBanner": "This service is coming soon. Contact us to express your interest and be notified when it becomes available."
|
||||
@@ -1543,6 +1551,93 @@
|
||||
"800-1200": "CHF 800-1200",
|
||||
"1200+": "CHF 1200+"
|
||||
}
|
||||
},
|
||||
"catalog": {
|
||||
"computerRepair": {
|
||||
"title": "Computer Repair & Upgrades",
|
||||
"description": "Expert repairs for all types of computers and components. We specialize in fixing what others cannot, including motherboard repairs and component-level fixes.",
|
||||
"features": [
|
||||
"Component-level repairs",
|
||||
"Hardware upgrades",
|
||||
"Diagnostic services",
|
||||
"Professional assessment"
|
||||
],
|
||||
"highlight": "Professional assessment required",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"dataRecovery": {
|
||||
"title": "Data Recovery & Transfer",
|
||||
"description": "Safe and reliable data transfer services for all types of storage media. We can recover data from damaged devices and transfer it to modern storage solutions.",
|
||||
"features": [
|
||||
"Secure data transfer",
|
||||
"Data recovery from damaged devices",
|
||||
"Support for legacy media (floppy disks, ZIP drives, MO drives, SCSI/IDE drives)",
|
||||
"Complete data security"
|
||||
],
|
||||
"highlight": "Evaluation required before recovery",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"hardwareRecycling": {
|
||||
"title": "Hardware Recycling",
|
||||
"description": "Responsible recycling and refurbishment of IT devices. We give your old devices a new life and ensure secure data erasure.",
|
||||
"features": [
|
||||
"Secure data erasure",
|
||||
"Device refurbishment",
|
||||
"Component recycling",
|
||||
"Free pickup service"
|
||||
],
|
||||
"highlight": "Free pickup service available",
|
||||
"pricing": "Free for most items"
|
||||
},
|
||||
"webDesign": {
|
||||
"title": "Web Design & Development",
|
||||
"description": "Professional web design and development services using modern open-source technologies. Fast, responsive websites with Next.js, headless CMS and sustainable practices.",
|
||||
"features": [
|
||||
"Modern frameworks (Next.js, React)",
|
||||
"Headless CMS (Strapi, Payload, Tina)",
|
||||
"Responsive design & Tailwind CSS",
|
||||
"E-commerce solutions (WooCommerce, Shopware 6)",
|
||||
"SEO optimization & performance"
|
||||
],
|
||||
"highlight": "Free initial consultation",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"linuxOpenSource": {
|
||||
"title": "Linux & Open Source",
|
||||
"description": "Professional Linux installation, configuration and support services. We help you get the most out of your Linux system with expert guidance and maintenance.",
|
||||
"features": [
|
||||
"Linux installation & configuration",
|
||||
"System optimization & maintenance",
|
||||
"Security hardening",
|
||||
"Performance tuning"
|
||||
],
|
||||
"highlight": "Professional assessment required",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"openSourceSolutions": {
|
||||
"title": "Open Source Solutions",
|
||||
"description": "Expert implementation and support for open-source software. We help you transition to and maintain open-source solutions for your business needs.",
|
||||
"features": [
|
||||
"Open-source consulting",
|
||||
"Custom development",
|
||||
"Community integration",
|
||||
"Security & compliance"
|
||||
],
|
||||
"highlight": "Free initial consultation",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"buildYourComputer": {
|
||||
"title": "Build Your Computer",
|
||||
"description": "Get a custom-built computer for your specific needs, supported by AI analysis of our extensive inventory. We source parts globally and offer professional assembly.",
|
||||
"features": [
|
||||
"AI-powered build recommendations",
|
||||
"Global parts sourcing network",
|
||||
"Professional assembly and testing",
|
||||
"Quality guarantee and warranty"
|
||||
],
|
||||
"highlight": "Coming soon",
|
||||
"pricing": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
"workshops": {
|
||||
|
||||
+97
-2
@@ -203,7 +203,9 @@
|
||||
"sold": "Vendido",
|
||||
"reserved": "Reservado",
|
||||
"currency": "CHF",
|
||||
"skipToContent": "Ir al contenido"
|
||||
"skipToContent": "Ir al contenido",
|
||||
"resetFilters": "Restablecer filtros",
|
||||
"resultsCount": "{filtered} de {total} resultados"
|
||||
},
|
||||
"errors": {
|
||||
"genericTitle": "Algo salió mal",
|
||||
@@ -2438,7 +2440,13 @@
|
||||
"appointmentRequested": "¡Cita solicitada!",
|
||||
"booking": "Reservando...",
|
||||
"bookingFailed": "Error al reservar la cita",
|
||||
"networkError": "Error de red. Por favor, inténtalo de nuevo."
|
||||
"networkError": "Error de red. Por favor, inténtalo de nuevo.",
|
||||
"categoryLabels": {
|
||||
"hardware": "Servicios de Hardware",
|
||||
"software": "Soluciones de Software",
|
||||
"soon": "Próximamente"
|
||||
},
|
||||
"filterByCategory": "Filtrar por categoría"
|
||||
},
|
||||
"servicePage": {
|
||||
"comingSoonBanner": "Este servicio estará disponible próximamente. Contáctanos para expresar tu interés y recibir una notificación cuando esté disponible."
|
||||
@@ -3350,6 +3358,93 @@
|
||||
"800-1200": "CHF 800-1200",
|
||||
"1200+": "CHF 1200+"
|
||||
}
|
||||
},
|
||||
"catalog": {
|
||||
"computerRepair": {
|
||||
"title": "Reparación y Mejoras de Ordenadores",
|
||||
"description": "Reparaciones expertas para todo tipo de ordenadores y componentes. Nos especializamos en reparar lo que otros no pueden, incluyendo reparaciones de placas base y arreglos a nivel de componentes.",
|
||||
"features": [
|
||||
"Reparaciones a nivel de componentes",
|
||||
"Mejoras de hardware",
|
||||
"Servicios de diagnóstico",
|
||||
"Evaluación profesional"
|
||||
],
|
||||
"highlight": "Evaluación profesional requerida",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"dataRecovery": {
|
||||
"title": "Recuperación y Transferencia de Datos",
|
||||
"description": "Servicios de transferencia de datos seguros y confiables para todo tipo de medios de almacenamiento. Podemos recuperar datos de dispositivos dañados y transferirlos a soluciones modernas.",
|
||||
"features": [
|
||||
"Transferencia segura de datos",
|
||||
"Recuperación de datos de dispositivos dañados",
|
||||
"Soporte para medios heredados (disquetes, unidades ZIP, MO, SCSI/IDE)",
|
||||
"Seguridad completa de datos"
|
||||
],
|
||||
"highlight": "Evaluación requerida antes de la recuperación",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"hardwareRecycling": {
|
||||
"title": "Reciclaje de Hardware",
|
||||
"description": "Reciclaje y restauración responsable de dispositivos de TI. Damos nueva vida a tus dispositivos antiguos y garantizamos el borrado seguro de datos.",
|
||||
"features": [
|
||||
"Borrado seguro de datos",
|
||||
"Restauración de dispositivos",
|
||||
"Reciclaje de componentes",
|
||||
"Servicio de recogida gratuito"
|
||||
],
|
||||
"highlight": "Servicio de recogida gratuito disponible",
|
||||
"pricing": "Gratuito para la mayoría de artículos"
|
||||
},
|
||||
"webDesign": {
|
||||
"title": "Diseño y Desarrollo Web",
|
||||
"description": "Servicios profesionales de diseño y desarrollo web con tecnologías modernas de código abierto. Sitios web rápidos y responsivos con Next.js, CMS sin cabeza y prácticas sostenibles.",
|
||||
"features": [
|
||||
"Frameworks modernos (Next.js, React)",
|
||||
"CMS sin cabeza (Strapi, Payload, Tina)",
|
||||
"Diseño responsivo & Tailwind CSS",
|
||||
"Soluciones e-commerce (WooCommerce, Shopware 6)",
|
||||
"Optimización SEO & rendimiento"
|
||||
],
|
||||
"highlight": "Consulta inicial gratuita",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"linuxOpenSource": {
|
||||
"title": "Linux & Código Abierto",
|
||||
"description": "Servicios profesionales de instalación, configuración y soporte de Linux. Te ayudamos a sacar el máximo partido de tu sistema Linux con orientación experta y mantenimiento.",
|
||||
"features": [
|
||||
"Instalación y configuración de Linux",
|
||||
"Optimización y mantenimiento del sistema",
|
||||
"Fortalecimiento de seguridad",
|
||||
"Ajuste de rendimiento"
|
||||
],
|
||||
"highlight": "Evaluación profesional requerida",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"openSourceSolutions": {
|
||||
"title": "Soluciones de Código Abierto",
|
||||
"description": "Implementación experta y soporte para software de código abierto. Te ayudamos a hacer la transición y mantener soluciones de código abierto para tus necesidades empresariales.",
|
||||
"features": [
|
||||
"Consultoría de código abierto",
|
||||
"Desarrollo personalizado",
|
||||
"Integración comunitaria",
|
||||
"Seguridad y cumplimiento"
|
||||
],
|
||||
"highlight": "Consulta inicial gratuita",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"buildYourComputer": {
|
||||
"title": "Construye tu Ordenador",
|
||||
"description": "Obtén un ordenador personalizado para tus necesidades específicas, con el apoyo del análisis de IA de nuestro extenso inventario. Obtenemos piezas globalmente y ofrecemos ensamblaje profesional.",
|
||||
"features": [
|
||||
"Recomendaciones de construcción con IA",
|
||||
"Red global de obtención de piezas",
|
||||
"Ensamblaje y pruebas profesionales",
|
||||
"Garantía de calidad"
|
||||
],
|
||||
"highlight": "Próximamente",
|
||||
"pricing": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
"shop": {
|
||||
|
||||
+97
-2
@@ -113,7 +113,9 @@
|
||||
"sold": "Vendu",
|
||||
"reserved": "Réservé",
|
||||
"currency": "CHF",
|
||||
"skipToContent": "Aller au contenu"
|
||||
"skipToContent": "Aller au contenu",
|
||||
"resetFilters": "Réinitialiser les filtres",
|
||||
"resultsCount": "{filtered} sur {total} résultats"
|
||||
},
|
||||
"errors": {
|
||||
"genericTitle": "Une erreur est survenue",
|
||||
@@ -631,7 +633,13 @@
|
||||
"appointmentRequested": "Rendez-vous demandé!",
|
||||
"booking": "Réservation en cours...",
|
||||
"bookingFailed": "Échec de la réservation",
|
||||
"networkError": "Erreur réseau. Veuillez réessayer."
|
||||
"networkError": "Erreur réseau. Veuillez réessayer.",
|
||||
"categoryLabels": {
|
||||
"hardware": "Services Matériels",
|
||||
"software": "Solutions Logicielles",
|
||||
"soon": "Bientôt Disponible"
|
||||
},
|
||||
"filterByCategory": "Filtrer par catégorie"
|
||||
},
|
||||
"servicePage": {
|
||||
"comingSoonBanner": "Ce service arrive bientôt. Contactez-nous pour exprimer votre intérêt et être notifié lorsqu'il sera disponible."
|
||||
@@ -1543,6 +1551,93 @@
|
||||
"800-1200": "CHF 800-1200",
|
||||
"1200+": "CHF 1200+"
|
||||
}
|
||||
},
|
||||
"catalog": {
|
||||
"computerRepair": {
|
||||
"title": "Réparation & Mises à Niveau d'Ordinateurs",
|
||||
"description": "Réparations expertes pour tous types d'ordinateurs et composants. Nous nous spécialisons dans la réparation de ce que d'autres ne peuvent pas, y compris les réparations de carte mère et les corrections au niveau des composants.",
|
||||
"features": [
|
||||
"Réparations au niveau des composants",
|
||||
"Mises à niveau matérielles",
|
||||
"Services de diagnostic",
|
||||
"Évaluation professionnelle"
|
||||
],
|
||||
"highlight": "Évaluation professionnelle requise",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"dataRecovery": {
|
||||
"title": "Récupération & Transfert de Données",
|
||||
"description": "Services de transfert de données sûrs et fiables pour tous types de supports de stockage. Nous pouvons récupérer des données d'appareils endommagés et les transférer vers des solutions modernes.",
|
||||
"features": [
|
||||
"Transfert sécurisé de données",
|
||||
"Récupération de données depuis des appareils endommagés",
|
||||
"Prise en charge des supports anciens (disquettes, lecteurs ZIP, MO, SCSI/IDE)",
|
||||
"Sécurité complète des données"
|
||||
],
|
||||
"highlight": "Évaluation requise avant la récupération",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"hardwareRecycling": {
|
||||
"title": "Recyclage de Matériel",
|
||||
"description": "Recyclage et remise à neuf responsables des appareils informatiques. Nous donnons une nouvelle vie à vos anciens appareils et assurons l'effacement sécurisé des données.",
|
||||
"features": [
|
||||
"Effacement sécurisé des données",
|
||||
"Remise à neuf des appareils",
|
||||
"Recyclage des composants",
|
||||
"Service de collecte gratuit"
|
||||
],
|
||||
"highlight": "Service de collecte gratuit disponible",
|
||||
"pricing": "Gratuit pour la plupart des articles"
|
||||
},
|
||||
"webDesign": {
|
||||
"title": "Design & Développement Web",
|
||||
"description": "Services professionnels de design et développement web avec des technologies modernes open-source. Sites web rapides et responsifs avec Next.js, CMS headless et pratiques durables.",
|
||||
"features": [
|
||||
"Frameworks modernes (Next.js, React)",
|
||||
"CMS headless (Strapi, Payload, Tina)",
|
||||
"Design responsif & Tailwind CSS",
|
||||
"Solutions e-commerce (WooCommerce, Shopware 6)",
|
||||
"Optimisation SEO & performance"
|
||||
],
|
||||
"highlight": "Consultation initiale gratuite",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"linuxOpenSource": {
|
||||
"title": "Linux & Open Source",
|
||||
"description": "Services professionnels d'installation, de configuration et de support Linux. Nous vous aidons à tirer le meilleur parti de votre système Linux avec des conseils experts et une maintenance régulière.",
|
||||
"features": [
|
||||
"Installation & configuration Linux",
|
||||
"Optimisation & maintenance du système",
|
||||
"Durcissement de la sécurité",
|
||||
"Optimisation des performances"
|
||||
],
|
||||
"highlight": "Évaluation professionnelle requise",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"openSourceSolutions": {
|
||||
"title": "Solutions Open Source",
|
||||
"description": "Mise en œuvre experte et support pour les logiciels open-source. Nous vous aidons à passer aux solutions open-source et à les maintenir pour vos besoins professionnels.",
|
||||
"features": [
|
||||
"Conseil open-source",
|
||||
"Développement sur mesure",
|
||||
"Intégration communautaire",
|
||||
"Sécurité & conformité"
|
||||
],
|
||||
"highlight": "Consultation initiale gratuite",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"buildYourComputer": {
|
||||
"title": "Construire votre Ordinateur",
|
||||
"description": "Obtenez un ordinateur sur mesure pour vos besoins spécifiques, soutenu par l'analyse IA de notre vaste inventaire. Nous sourçons des pièces dans le monde entier et proposons un assemblage professionnel.",
|
||||
"features": [
|
||||
"Recommandations de configuration avec IA",
|
||||
"Réseau mondial d'approvisionnement",
|
||||
"Assemblage et tests professionnels",
|
||||
"Garantie de qualité"
|
||||
],
|
||||
"highlight": "Bientôt disponible",
|
||||
"pricing": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
"workshops": {
|
||||
|
||||
+97
-2
@@ -203,7 +203,9 @@
|
||||
"sold": "Venduto",
|
||||
"reserved": "Riservato",
|
||||
"currency": "CHF",
|
||||
"skipToContent": "Vai al contenuto"
|
||||
"skipToContent": "Vai al contenuto",
|
||||
"resetFilters": "Reimposta filtri",
|
||||
"resultsCount": "{filtered} di {total} risultati"
|
||||
},
|
||||
"errors": {
|
||||
"genericTitle": "Qualcosa è andato storto",
|
||||
@@ -2438,7 +2440,13 @@
|
||||
"appointmentRequested": "Appuntamento richiesto!",
|
||||
"booking": "Prenotazione in corso...",
|
||||
"bookingFailed": "Prenotazione non riuscita",
|
||||
"networkError": "Errore di rete. Riprova."
|
||||
"networkError": "Errore di rete. Riprova.",
|
||||
"categoryLabels": {
|
||||
"hardware": "Servizi Hardware",
|
||||
"software": "Soluzioni Software",
|
||||
"soon": "Prossimamente"
|
||||
},
|
||||
"filterByCategory": "Filtra per categoria"
|
||||
},
|
||||
"servicePage": {
|
||||
"comingSoonBanner": "Questo servizio è in arrivo. Contattaci per esprimere il tuo interesse e ricevere una notifica quando sarà disponibile."
|
||||
@@ -3350,6 +3358,93 @@
|
||||
"800-1200": "CHF 800-1200",
|
||||
"1200+": "CHF 1200+"
|
||||
}
|
||||
},
|
||||
"catalog": {
|
||||
"computerRepair": {
|
||||
"title": "Riparazione & Aggiornamento Computer",
|
||||
"description": "Riparazioni esperte per tutti i tipi di computer e componenti. Siamo specializzati nella riparazione di ciò che altri non possono, incluse riparazioni di schede madri e correzioni a livello di componenti.",
|
||||
"features": [
|
||||
"Riparazioni a livello di componenti",
|
||||
"Aggiornamenti hardware",
|
||||
"Servizi diagnostici",
|
||||
"Valutazione professionale"
|
||||
],
|
||||
"highlight": "Valutazione professionale richiesta",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"dataRecovery": {
|
||||
"title": "Recupero & Trasferimento Dati",
|
||||
"description": "Servizi di trasferimento dati sicuri e affidabili per tutti i tipi di supporti di archiviazione. Possiamo recuperare dati da dispositivi danneggiati e trasferirli su soluzioni moderne.",
|
||||
"features": [
|
||||
"Trasferimento sicuro dei dati",
|
||||
"Recupero dati da dispositivi danneggiati",
|
||||
"Supporto per supporti legacy (floppy, ZIP, MO, SCSI/IDE)",
|
||||
"Completa sicurezza dei dati"
|
||||
],
|
||||
"highlight": "Valutazione richiesta prima del recupero",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"hardwareRecycling": {
|
||||
"title": "Riciclaggio Hardware",
|
||||
"description": "Riciclaggio e ricondizionamento responsabile di dispositivi IT. Diamo nuova vita ai tuoi vecchi dispositivi e garantiamo la cancellazione sicura dei dati.",
|
||||
"features": [
|
||||
"Cancellazione sicura dei dati",
|
||||
"Ricondizionamento dispositivi",
|
||||
"Riciclaggio componenti",
|
||||
"Servizio di ritiro gratuito"
|
||||
],
|
||||
"highlight": "Servizio di ritiro gratuito disponibile",
|
||||
"pricing": "Gratuito per la maggior parte degli articoli"
|
||||
},
|
||||
"webDesign": {
|
||||
"title": "Web Design & Sviluppo",
|
||||
"description": "Servizi professionali di web design e sviluppo con tecnologie open-source moderne. Siti web veloci e responsivi con Next.js, CMS headless e pratiche sostenibili.",
|
||||
"features": [
|
||||
"Framework moderni (Next.js, React)",
|
||||
"CMS headless (Strapi, Payload, Tina)",
|
||||
"Design responsivo & Tailwind CSS",
|
||||
"Soluzioni e-commerce (WooCommerce, Shopware 6)",
|
||||
"Ottimizzazione SEO & performance"
|
||||
],
|
||||
"highlight": "Consulenza iniziale gratuita",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"linuxOpenSource": {
|
||||
"title": "Linux & Open Source",
|
||||
"description": "Servizi professionali di installazione, configurazione e supporto Linux. Ti aiutiamo a ottenere il massimo dal tuo sistema Linux con guida esperta e manutenzione.",
|
||||
"features": [
|
||||
"Installazione & configurazione Linux",
|
||||
"Ottimizzazione & manutenzione del sistema",
|
||||
"Hardening della sicurezza",
|
||||
"Performance tuning"
|
||||
],
|
||||
"highlight": "Valutazione professionale richiesta",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"openSourceSolutions": {
|
||||
"title": "Soluzioni Open Source",
|
||||
"description": "Implementazione esperta e supporto per software open-source. Ti aiutiamo a passare alle soluzioni open-source e mantenerle per le tue esigenze aziendali.",
|
||||
"features": [
|
||||
"Consulenza open-source",
|
||||
"Sviluppo personalizzato",
|
||||
"Integrazione comunitaria",
|
||||
"Sicurezza & conformità"
|
||||
],
|
||||
"highlight": "Consulenza iniziale gratuita",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"buildYourComputer": {
|
||||
"title": "Costruisci il tuo Computer",
|
||||
"description": "Ottieni un computer su misura per le tue esigenze specifiche, supportato dall'analisi AI del nostro vasto inventario. Acquistiamo componenti in tutto il mondo e offriamo assemblaggio professionale.",
|
||||
"features": [
|
||||
"Consigli di configurazione con IA",
|
||||
"Rete globale di approvvigionamento",
|
||||
"Assemblaggio e test professionali",
|
||||
"Garanzia di qualità"
|
||||
],
|
||||
"highlight": "Prossimamente",
|
||||
"pricing": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
"shop": {
|
||||
|
||||
+97
-2
@@ -203,7 +203,9 @@
|
||||
"sold": "売り切れ",
|
||||
"reserved": "予約済み",
|
||||
"currency": "CHF",
|
||||
"skipToContent": "コンテンツへスキップ"
|
||||
"skipToContent": "コンテンツへスキップ",
|
||||
"resetFilters": "フィルターをリセット",
|
||||
"resultsCount": "{total}件中{filtered}件"
|
||||
},
|
||||
"errors": {
|
||||
"genericTitle": "エラーが発生しました",
|
||||
@@ -2438,7 +2440,13 @@
|
||||
"appointmentRequested": "予約リクエスト済み!",
|
||||
"booking": "予約中...",
|
||||
"bookingFailed": "予約に失敗しました",
|
||||
"networkError": "ネットワークエラーが発生しました。もう一度お試しください。"
|
||||
"networkError": "ネットワークエラーが発生しました。もう一度お試しください。",
|
||||
"categoryLabels": {
|
||||
"hardware": "ハードウェアサービス",
|
||||
"software": "ソフトウェアソリューション",
|
||||
"soon": "近日公開"
|
||||
},
|
||||
"filterByCategory": "カテゴリーでフィルター"
|
||||
},
|
||||
"servicePage": {
|
||||
"comingSoonBanner": "このサービスは近日公開予定です。関心をお知らせいただくか、サービス開始時の通知をご希望の場合はお問い合わせください。"
|
||||
@@ -3350,6 +3358,93 @@
|
||||
"800-1200": "CHF 800-1200",
|
||||
"1200+": "CHF 1200+"
|
||||
}
|
||||
},
|
||||
"catalog": {
|
||||
"computerRepair": {
|
||||
"title": "パソコン修理・アップグレード",
|
||||
"description": "あらゆる種類のコンピューターとコンポーネントの専門修理。マザーボード修理やコンポーネントレベルの修理など、他社では対応できない修理を専門としています。",
|
||||
"features": [
|
||||
"コンポーネントレベル修理",
|
||||
"ハードウェアアップグレード",
|
||||
"診断サービス",
|
||||
"専門的な評価"
|
||||
],
|
||||
"highlight": "専門的な評価が必要",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"dataRecovery": {
|
||||
"title": "データ復旧・転送",
|
||||
"description": "あらゆる種類のストレージメディアに対応した安全で信頼性の高いデータ転送サービス。破損したデバイスからデータを復旧し、現代のストレージソリューションへ転送します。",
|
||||
"features": [
|
||||
"安全なデータ転送",
|
||||
"破損デバイスからのデータ復旧",
|
||||
"レガシーメディア対応(フロッピー、ZIP、MO、SCSI/IDEドライブ)",
|
||||
"完全なデータセキュリティ"
|
||||
],
|
||||
"highlight": "復旧前に評価が必要",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"hardwareRecycling": {
|
||||
"title": "ハードウェアリサイクル",
|
||||
"description": "ITデバイスの責任あるリサイクルと再生利用。古いデバイスに新しい命を与え、安全なデータ消去を保証します。",
|
||||
"features": [
|
||||
"安全なデータ消去",
|
||||
"デバイスの再生利用",
|
||||
"コンポーネントリサイクル",
|
||||
"無料引き取りサービス"
|
||||
],
|
||||
"highlight": "無料引き取りサービスあり",
|
||||
"pricing": "ほとんどの機器は無料"
|
||||
},
|
||||
"webDesign": {
|
||||
"title": "ウェブデザイン・開発",
|
||||
"description": "最新のオープンソース技術を使ったプロフェッショナルなウェブデザイン・開発サービス。Next.js、ヘッドレスCMS、持続可能な手法による高速でレスポンシブなウェブサイト。",
|
||||
"features": [
|
||||
"モダンフレームワーク(Next.js、React)",
|
||||
"ヘッドレスCMS(Strapi、Payload、Tina)",
|
||||
"レスポンシブデザイン & Tailwind CSS",
|
||||
"ECソリューション(WooCommerce、Shopware 6)",
|
||||
"SEO最適化 & パフォーマンス"
|
||||
],
|
||||
"highlight": "初回相談無料",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"linuxOpenSource": {
|
||||
"title": "Linux & オープンソース",
|
||||
"description": "プロフェッショナルなLinuxインストール、設定、サポートサービス。専門的なガイダンスとメンテナンスでLinuxシステムを最大限に活用するお手伝いをします。",
|
||||
"features": [
|
||||
"Linuxインストール & 設定",
|
||||
"システム最適化 & メンテナンス",
|
||||
"セキュリティ強化",
|
||||
"パフォーマンスチューニング"
|
||||
],
|
||||
"highlight": "専門的な評価が必要",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"openSourceSolutions": {
|
||||
"title": "オープンソースソリューション",
|
||||
"description": "オープンソースソフトウェアの専門的な導入とサポート。ビジネスニーズに合ったオープンソースソリューションへの移行と保守をお手伝いします。",
|
||||
"features": [
|
||||
"オープンソースコンサルティング",
|
||||
"カスタム開発",
|
||||
"コミュニティ統合",
|
||||
"セキュリティ & コンプライアンス"
|
||||
],
|
||||
"highlight": "初回相談無料",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"buildYourComputer": {
|
||||
"title": "カスタムPC構築",
|
||||
"description": "当社の豊富な在庫をAIが分析し、あなたのニーズに合ったカスタムPCをご提供します。世界中からパーツを調達し、プロフェッショナルな組み立てを提供します。",
|
||||
"features": [
|
||||
"AI搭載の構成レコメンデーション",
|
||||
"グローバルパーツ調達ネットワーク",
|
||||
"プロフェッショナルな組み立て・テスト",
|
||||
"品質保証"
|
||||
],
|
||||
"highlight": "近日公開予定",
|
||||
"pricing": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
"shop": {
|
||||
|
||||
+97
-2
@@ -203,7 +203,9 @@
|
||||
"sold": "판매됨",
|
||||
"reserved": "예약됨",
|
||||
"currency": "CHF",
|
||||
"skipToContent": "콘텐츠로 건너뛰기"
|
||||
"skipToContent": "콘텐츠로 건너뛰기",
|
||||
"resetFilters": "필터 초기화",
|
||||
"resultsCount": "{total}개 중 {filtered}개 결과"
|
||||
},
|
||||
"errors": {
|
||||
"genericTitle": "오류가 발생했습니다",
|
||||
@@ -2438,7 +2440,13 @@
|
||||
"appointmentRequested": "예약이 요청되었습니다!",
|
||||
"booking": "예약 중...",
|
||||
"bookingFailed": "예약 실패",
|
||||
"networkError": "네트워크 오류. 다시 시도해 주세요."
|
||||
"networkError": "네트워크 오류. 다시 시도해 주세요.",
|
||||
"categoryLabels": {
|
||||
"hardware": "하드웨어 서비스",
|
||||
"software": "소프트웨어 솔루션",
|
||||
"soon": "출시 예정"
|
||||
},
|
||||
"filterByCategory": "카테고리별 필터"
|
||||
},
|
||||
"servicePage": {
|
||||
"comingSoonBanner": "이 서비스는 곧 제공됩니다. 관심을 알리고 이용 가능할 때 알림을 받으려면 저희에게 연락해 주세요."
|
||||
@@ -3350,6 +3358,93 @@
|
||||
"800-1200": "CHF 800-1200",
|
||||
"1200+": "CHF 1200+"
|
||||
}
|
||||
},
|
||||
"catalog": {
|
||||
"computerRepair": {
|
||||
"title": "컴퓨터 수리 & 업그레이드",
|
||||
"description": "모든 종류의 컴퓨터와 부품에 대한 전문 수리 서비스. 마더보드 수리 및 부품 수준의 수리 등 다른 곳에서 할 수 없는 수리를 전문으로 합니다.",
|
||||
"features": [
|
||||
"부품 수준 수리",
|
||||
"하드웨어 업그레이드",
|
||||
"진단 서비스",
|
||||
"전문적인 평가"
|
||||
],
|
||||
"highlight": "전문적인 평가 필요",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"dataRecovery": {
|
||||
"title": "데이터 복구 & 이전",
|
||||
"description": "모든 종류의 저장 매체를 위한 안전하고 신뢰할 수 있는 데이터 전송 서비스. 손상된 기기에서 데이터를 복구하여 최신 스토리지 솔루션으로 이전합니다.",
|
||||
"features": [
|
||||
"안전한 데이터 전송",
|
||||
"손상된 기기에서 데이터 복구",
|
||||
"레거시 미디어 지원 (플로피, ZIP, MO, SCSI/IDE 드라이브)",
|
||||
"완전한 데이터 보안"
|
||||
],
|
||||
"highlight": "복구 전 평가 필요",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"hardwareRecycling": {
|
||||
"title": "하드웨어 재활용",
|
||||
"description": "IT 기기의 책임감 있는 재활용 및 재생. 오래된 기기에 새 생명을 불어넣고 안전한 데이터 삭제를 보장합니다.",
|
||||
"features": [
|
||||
"안전한 데이터 삭제",
|
||||
"기기 재생",
|
||||
"부품 재활용",
|
||||
"무료 수거 서비스"
|
||||
],
|
||||
"highlight": "무료 수거 서비스 이용 가능",
|
||||
"pricing": "대부분의 물품 무료"
|
||||
},
|
||||
"webDesign": {
|
||||
"title": "웹 디자인 & 개발",
|
||||
"description": "최신 오픈소스 기술을 활용한 전문적인 웹 디자인 및 개발 서비스. Next.js, 헤드리스 CMS 및 지속 가능한 방법으로 빠르고 반응형 웹사이트를 구축합니다.",
|
||||
"features": [
|
||||
"최신 프레임워크 (Next.js, React)",
|
||||
"헤드리스 CMS (Strapi, Payload, Tina)",
|
||||
"반응형 디자인 & Tailwind CSS",
|
||||
"이커머스 솔루션 (WooCommerce, Shopware 6)",
|
||||
"SEO 최적화 & 성능"
|
||||
],
|
||||
"highlight": "무료 초기 상담",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"linuxOpenSource": {
|
||||
"title": "Linux & 오픈소스",
|
||||
"description": "전문적인 Linux 설치, 구성 및 지원 서비스. 전문 가이드와 유지보수로 Linux 시스템을 최대한 활용할 수 있도록 도와드립니다.",
|
||||
"features": [
|
||||
"Linux 설치 & 구성",
|
||||
"시스템 최적화 & 유지보수",
|
||||
"보안 강화",
|
||||
"성능 튜닝"
|
||||
],
|
||||
"highlight": "전문적인 평가 필요",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"openSourceSolutions": {
|
||||
"title": "오픈소스 솔루션",
|
||||
"description": "오픈소스 소프트웨어의 전문적인 구현 및 지원. 비즈니스 요구에 맞는 오픈소스 솔루션으로의 전환과 유지보수를 도와드립니다.",
|
||||
"features": [
|
||||
"오픈소스 컨설팅",
|
||||
"맞춤형 개발",
|
||||
"커뮤니티 통합",
|
||||
"보안 & 컴플라이언스"
|
||||
],
|
||||
"highlight": "무료 초기 상담",
|
||||
"pricing": "CHF 70/h"
|
||||
},
|
||||
"buildYourComputer": {
|
||||
"title": "컴퓨터 조립",
|
||||
"description": "풍부한 재고에 대한 AI 분석을 통해 귀하의 특정 요구에 맞는 맞춤형 컴퓨터를 제공합니다. 전 세계에서 부품을 조달하고 전문적인 조립 서비스를 제공합니다.",
|
||||
"features": [
|
||||
"AI 기반 구성 추천",
|
||||
"글로벌 부품 조달 네트워크",
|
||||
"전문적인 조립 및 테스트",
|
||||
"품질 보증"
|
||||
],
|
||||
"highlight": "곧 출시 예정",
|
||||
"pricing": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
"shop": {
|
||||
|
||||
@@ -9,151 +9,108 @@ import {
|
||||
} from 'lucide-react'
|
||||
import type { FilterConfig } from '@/hooks/useFiltering'
|
||||
|
||||
export interface Service {
|
||||
title: string
|
||||
slug?: string
|
||||
description: string
|
||||
export type ServiceCategoryKey = 'hardware' | 'software' | 'soon'
|
||||
|
||||
/** Pure config — no translatable strings. Translations come from services.catalog.* */
|
||||
export interface ServiceConfig {
|
||||
key: string // camelCase i18n key (maps to services.catalog.{key})
|
||||
slug?: string // booking API slug (only services that support online booking)
|
||||
icon: React.ComponentType<React.SVGProps<SVGSVGElement>>
|
||||
category: string
|
||||
features: string[]
|
||||
pricing: string
|
||||
highlight: string
|
||||
href: string
|
||||
available: boolean
|
||||
categoryKey: ServiceCategoryKey
|
||||
badge?: string
|
||||
[key: string]: unknown // Allow index access for FilterableItem compatibility
|
||||
[key: string]: unknown // Allow index access for FilterableItem compatibility
|
||||
}
|
||||
|
||||
export const services: Service[] = [
|
||||
/** Fully hydrated service with translated strings — built in page.tsx */
|
||||
export type Service = ServiceConfig & {
|
||||
title: string
|
||||
description: string
|
||||
features: string[]
|
||||
category: string
|
||||
highlight: string
|
||||
pricing?: string
|
||||
}
|
||||
|
||||
export const SERVICE_CONFIGS: ServiceConfig[] = [
|
||||
// Hardware Services
|
||||
{
|
||||
key: 'computerRepair',
|
||||
slug: 'computer-repair',
|
||||
title: 'Computerreparatur & Aufrüstungen',
|
||||
description: 'Expertenreparaturen für alle Arten von Computern und Komponenten. Wir spezialisieren uns darauf zu reparieren, was andere nicht können, einschliesslich Motherboard-Reparaturen und Bauteil-Level-Fixes.',
|
||||
icon: Wrench,
|
||||
category: 'Hardware-Dienstleistungen',
|
||||
features: [
|
||||
'Bauteil-Level-Reparaturen',
|
||||
'Hardware-Aufrüstungen',
|
||||
'Diagnosedienste',
|
||||
'Professionelle Bewertung'
|
||||
],
|
||||
pricing: 'CHF 70/hour + parts',
|
||||
highlight: 'Professional assessment required',
|
||||
href: '/services/computer-repair-upgrades',
|
||||
available: true
|
||||
available: true,
|
||||
categoryKey: 'hardware',
|
||||
},
|
||||
{
|
||||
key: 'dataRecovery',
|
||||
slug: 'data-recovery',
|
||||
title: 'Datenrettung & Transfer',
|
||||
description: 'Sichere und zuverlässige Datentransferdienste für alle Arten von Speichermedien. Wir können Daten von beschädigten Geräten wiederherstellen und auf moderne Speicherlösungen übertragen.',
|
||||
icon: HardDrive,
|
||||
category: 'Hardware-Dienstleistungen',
|
||||
features: [
|
||||
'Sicherer Datentransfer',
|
||||
'Datenwiederherstellung von beschädigten Geräten',
|
||||
'Unterstützung für Legacy-Medien (Disketten, ZIP-Laufwerke, MO-Laufwerke, SCSI/IDE-Laufwerke)',
|
||||
'Komplette Datensicherheit'
|
||||
],
|
||||
pricing: 'CHF 70/hour',
|
||||
highlight: 'Evaluation required before recovery',
|
||||
href: '/services/data-recovery-transfer',
|
||||
available: true
|
||||
available: true,
|
||||
categoryKey: 'hardware',
|
||||
},
|
||||
{
|
||||
title: 'Hardware-Recycling',
|
||||
description: 'Verantwortungsvolles Recycling und Aufbereitung von IT-Geräten. Wir geben Ihren alten Geräten ein neues Leben und sorgen für sichere Datenlöschung.',
|
||||
key: 'hardwareRecycling',
|
||||
icon: Shield,
|
||||
category: 'Hardware-Dienstleistungen',
|
||||
features: [
|
||||
'Sichere Datenlöschung',
|
||||
'Geräteaufbereitung',
|
||||
'Komponenten-Recycling',
|
||||
'Kostenloser Abholservice'
|
||||
],
|
||||
pricing: 'Free for most items',
|
||||
highlight: 'Free pickup service available',
|
||||
href: '/services/hardware-recycling',
|
||||
available: true
|
||||
available: true,
|
||||
categoryKey: 'hardware',
|
||||
},
|
||||
|
||||
// Software Solutions
|
||||
{
|
||||
title: 'Webdesign & Entwicklung',
|
||||
description: 'Professionelle Webdesign- und Entwicklungsdienstleistungen mit modernen Open-Source-Technologien. Schnelle, responsive Websites mit Next.js, Headless CMS und nachhaltigen Praktiken.',
|
||||
key: 'webDesign',
|
||||
icon: Globe,
|
||||
category: 'Software-Lösungen',
|
||||
features: [
|
||||
'Moderne Frameworks (Next.js, React)',
|
||||
'Headless CMS (Strapi, Payload, Tina)',
|
||||
'Responsive Design & Tailwind CSS',
|
||||
'E-Commerce-Lösungen (WooCommerce, Shopware 6)',
|
||||
'SEO-Optimierung & Performance'
|
||||
],
|
||||
pricing: 'CHF 70/hour',
|
||||
highlight: 'Free initial consultation',
|
||||
href: '/services/web-design-development',
|
||||
available: true
|
||||
available: true,
|
||||
categoryKey: 'software',
|
||||
},
|
||||
{
|
||||
key: 'linuxOpenSource',
|
||||
slug: 'linux-installation',
|
||||
title: 'Linux & Open Source',
|
||||
description: 'Professionelle Linux-Installation, -Konfiguration und -Support-Dienstleistungen. Wir helfen dir, das Beste aus Ihrem Linux-System mit fachkundiger Anleitung und Wartung herauszuholen.',
|
||||
icon: Server,
|
||||
category: 'Software-Lösungen',
|
||||
features: [
|
||||
'Linux-Installation & Konfiguration',
|
||||
'Systemoptimierung & Wartung',
|
||||
'Sicherheitshärtung',
|
||||
'Performance-Tuning'
|
||||
],
|
||||
pricing: 'CHF 70/hour',
|
||||
highlight: 'Professional assessment required',
|
||||
href: '/services/linux-open-source',
|
||||
available: true
|
||||
available: true,
|
||||
categoryKey: 'software',
|
||||
},
|
||||
{
|
||||
title: 'Open Source Solutions',
|
||||
description: 'Fachkundige Implementierung und Support für Open-Source-Software. Wir helfen dir beim Übergang zu und der Wartung von Open-Source-Lösungen für Ihre Geschäftsanforderungen.',
|
||||
key: 'openSourceSolutions',
|
||||
icon: Code,
|
||||
category: 'Software-Lösungen',
|
||||
features: [
|
||||
'Open-Source-Beratung',
|
||||
'Massgeschneiderte Entwicklung',
|
||||
'Community-Integration',
|
||||
'Sicherheit & Compliance'
|
||||
],
|
||||
pricing: 'CHF 70/hour',
|
||||
highlight: 'Free initial consultation',
|
||||
href: '/services/open-source-solutions',
|
||||
available: true
|
||||
available: true,
|
||||
categoryKey: 'software',
|
||||
},
|
||||
|
||||
// Coming Soon
|
||||
{
|
||||
title: 'Build Your Computer',
|
||||
description: 'Erhalte einen massgeschneiderten Computer für Ihre spezifischen Bedürfnisse, unterstützt durch KI-Analyse unseres umfangreichen Inventars. Wir beziehen Teile global und bieten professionelle Montage.',
|
||||
key: 'buildYourComputer',
|
||||
icon: Cpu,
|
||||
category: 'Bald verfügbar',
|
||||
features: [
|
||||
'KI-gestützte Build-Empfehlungen',
|
||||
'Globales Teile-Beschaffungsnetzwerk',
|
||||
'Professionelle Montage und Tests',
|
||||
'Qualitätsgarantie und Gewährleistung'
|
||||
],
|
||||
pricing: '',
|
||||
highlight: 'Bald verfügbar',
|
||||
href: '/services/build-your-computer',
|
||||
available: false,
|
||||
badge: 'Soon'
|
||||
badge: 'Soon',
|
||||
categoryKey: 'soon',
|
||||
},
|
||||
]
|
||||
|
||||
export const serviceFilters: FilterConfig[] = [
|
||||
{
|
||||
key: 'category',
|
||||
label: 'Nach Kategorie filtern',
|
||||
options: ['Hardware-Dienstleistungen', 'Software-Lösungen', 'Bald verfügbar'],
|
||||
color: 'green'
|
||||
}
|
||||
]
|
||||
/** Category keys in display order — used to build filter options */
|
||||
export const SERVICE_CATEGORY_KEYS: ServiceCategoryKey[] = ['hardware', 'software', 'soon']
|
||||
|
||||
/** Stable filter shape — labels populated from translations in page.tsx */
|
||||
export const SERVICE_FILTER_KEY = 'category' as const
|
||||
|
||||
/** Type-safe filter config builder */
|
||||
export function buildServiceFilters(
|
||||
byCategory: string,
|
||||
categoryLabels: Record<ServiceCategoryKey, string>,
|
||||
): FilterConfig[] {
|
||||
return [
|
||||
{
|
||||
key: SERVICE_FILTER_KEY,
|
||||
label: byCategory,
|
||||
options: SERVICE_CATEGORY_KEYS.map(k => categoryLabels[k]),
|
||||
color: 'green',
|
||||
},
|
||||
]
|
||||
}
|
||||
@@ -17,7 +17,13 @@ import { useRouter } from 'next/navigation'
|
||||
import { FilterableSection } from '@/components/ui/FilterableSection'
|
||||
import Heading from '@/components/ui/Heading'
|
||||
import { PageHero } from '@/components/layout/PageHero'
|
||||
import { services, serviceFilters, type Service } from './data'
|
||||
import {
|
||||
SERVICE_CONFIGS,
|
||||
SERVICE_CATEGORY_KEYS,
|
||||
buildServiceFilters,
|
||||
type Service,
|
||||
type ServiceCategoryKey,
|
||||
} from './data'
|
||||
import { useTranslations } from 'next-intl'
|
||||
|
||||
const ServiceCard: React.FC<{ service: Service }> = ({ service }) => {
|
||||
@@ -185,6 +191,33 @@ const ServiceCard: React.FC<{ service: Service }> = ({ service }) => {
|
||||
|
||||
export default function ServicesPage() {
|
||||
const t = useTranslations('services.page')
|
||||
const tCatalog = useTranslations('services.catalog')
|
||||
|
||||
// Category labels live in services.page (t) to avoid dynamic-key type issues
|
||||
const categoryLabels: Record<ServiceCategoryKey, string> = {
|
||||
hardware: t('categoryLabels.hardware'),
|
||||
software: t('categoryLabels.software'),
|
||||
soon: t('categoryLabels.soon'),
|
||||
}
|
||||
|
||||
// Use .raw() with `as never` to access dynamic service entry keys
|
||||
// (next-intl's typed t() only accepts statically-known keys)
|
||||
type CatalogEntry = { title: string; description: string; features: string[]; highlight: string; pricing: string }
|
||||
const services: Service[] = SERVICE_CONFIGS.map(config => {
|
||||
const entry = tCatalog.raw(config.key as never) as CatalogEntry
|
||||
return {
|
||||
...config,
|
||||
title: entry.title,
|
||||
description: entry.description,
|
||||
features: entry.features,
|
||||
category: categoryLabels[config.categoryKey],
|
||||
highlight: entry.highlight,
|
||||
// Empty string means "no pricing" → shows pricingTbd in ServiceCard
|
||||
pricing: entry.pricing || undefined,
|
||||
}
|
||||
})
|
||||
|
||||
const serviceFilters = buildServiceFilters(t('filterByCategory'), categoryLabels)
|
||||
|
||||
return (
|
||||
<>
|
||||
@@ -202,15 +235,7 @@ export default function ServicesPage() {
|
||||
'url': ORG.website,
|
||||
'logo': `${ORG.website}/logo.png`
|
||||
},
|
||||
'serviceType': [
|
||||
'Computer Reparatur',
|
||||
'Webdesign & Entwicklung',
|
||||
'Datenrettung',
|
||||
'Linux Support',
|
||||
'Hardware Recycling',
|
||||
'Open Source Lösungen',
|
||||
'KI-Lösungen'
|
||||
],
|
||||
'serviceType': services.filter(s => s.available).map(s => s.title),
|
||||
'areaServed': {
|
||||
'@type': 'City',
|
||||
'name': t('schemaCity')
|
||||
@@ -232,7 +257,7 @@ export default function ServicesPage() {
|
||||
items={services}
|
||||
filters={serviceFilters}
|
||||
renderItem={(service) => <ServiceCard service={service as Service} />}
|
||||
keyExtractor={(service) => (service as Service).title}
|
||||
keyExtractor={(service) => (service as Service).key}
|
||||
noResultsMessage={t('noResults')}
|
||||
showResultsCount={true}
|
||||
/>
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
'use client'
|
||||
|
||||
import React from 'react'
|
||||
import { useTranslations } from 'next-intl'
|
||||
import { FilterBar } from './FilterBar'
|
||||
import { FilterableGrid } from './FilterableGrid'
|
||||
import { useFiltering, FilterConfig, FilterableItem } from '@/hooks/useFiltering'
|
||||
@@ -13,6 +16,7 @@ interface FilterableSectionProps<T extends FilterableItem> {
|
||||
keyExtractor: (item: T, index: number) => string
|
||||
noResultsMessage?: string
|
||||
showResultsCount?: boolean
|
||||
/** Override the "All" label for the filter buttons. Defaults to common.all translation. */
|
||||
allLabel?: string
|
||||
className?: string
|
||||
gridColumns?: {
|
||||
@@ -30,12 +34,17 @@ export function FilterableSection<T extends FilterableItem>({
|
||||
filters,
|
||||
renderItem,
|
||||
keyExtractor,
|
||||
noResultsMessage = 'Keine Ergebnisse gefunden, die den ausgewählten Filtern entsprechen.',
|
||||
noResultsMessage,
|
||||
showResultsCount = true,
|
||||
allLabel = 'Alle',
|
||||
allLabel,
|
||||
className = '',
|
||||
gridColumns = { sm: 1, md: 2, lg: 3 }
|
||||
}: FilterableSectionProps<T>) {
|
||||
const t = useTranslations('common')
|
||||
|
||||
const resolvedAllLabel = allLabel ?? t('all')
|
||||
const resolvedNoResults = noResultsMessage ?? t('noResults')
|
||||
|
||||
const {
|
||||
filterState,
|
||||
filteredItems,
|
||||
@@ -48,7 +57,7 @@ export function FilterableSection<T extends FilterableItem>({
|
||||
} = useFiltering({
|
||||
items,
|
||||
filters,
|
||||
allLabel
|
||||
allLabel: resolvedAllLabel
|
||||
})
|
||||
|
||||
return (
|
||||
@@ -59,7 +68,7 @@ export function FilterableSection<T extends FilterableItem>({
|
||||
{description && (
|
||||
<p className="text-lg text-gray-600 dark:text-gray-400 mb-8">{description}</p>
|
||||
)}
|
||||
|
||||
|
||||
<FilterBar
|
||||
filters={filterOptions}
|
||||
filterState={filterState}
|
||||
@@ -79,13 +88,13 @@ export function FilterableSection<T extends FilterableItem>({
|
||||
/>
|
||||
) : (
|
||||
<div className="text-center py-16">
|
||||
<p className="text-lg text-gray-600 dark:text-gray-400 mb-4">{noResultsMessage}</p>
|
||||
<p className="text-lg text-gray-600 dark:text-gray-400 mb-4">{resolvedNoResults}</p>
|
||||
{hasActiveFilters && (
|
||||
<button
|
||||
onClick={resetFilters}
|
||||
className="px-6 py-2 bg-green-600 text-white rounded-lg hover:bg-green-700 transition-colors"
|
||||
>
|
||||
Filter zurücksetzen
|
||||
{t('resetFilters')}
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
@@ -95,7 +104,7 @@ export function FilterableSection<T extends FilterableItem>({
|
||||
{showResultsCount && (
|
||||
<div className="text-center mt-8">
|
||||
<p className="text-gray-500 dark:text-gray-400 text-sm">
|
||||
{filteredItems.length} von {items.length} Ergebnissen
|
||||
{t('resultsCount', { filtered: filteredItems.length, total: items.length })}
|
||||
{getFilterSummary() && ` (${getFilterSummary()})`}
|
||||
</p>
|
||||
</div>
|
||||
@@ -103,4 +112,4 @@ export function FilterableSection<T extends FilterableItem>({
|
||||
</div>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user