From 066dbea278518204b0ecb4052071d99f0bce8bd7 Mon Sep 17 00:00:00 2001 From: Bognar Date: Fri, 6 Feb 2026 11:04:29 +0100 Subject: [PATCH] small fixes --- app/kapcsolat/page.tsx | 45 ++++++++++++------- lib/translations.ts | 45 +++++++++++-------- out/404.html | 2 +- out/404/index.html | 2 +- out/__next.__PAGE__.txt | 4 +- out/__next._full.txt | 8 ++-- out/__next._head.txt | 2 +- out/__next._index.txt | 6 +-- out/__next._tree.txt | 2 +- out/_next/static/chunks/2cb0ff15897c67e4.js | 1 + ...f3f38119f6f1c17.js => 7644c98974b8d3d8.js} | 2 +- out/_next/static/chunks/8ef15234e1dfbafd.js | 1 - out/_next/static/chunks/c17a0bc1ebd38b85.js | 1 - ...95e546615b0662a.js => e205baa082f6954a.js} | 2 +- out/_next/static/chunks/fb55e0274548264f.js | 1 + .../_buildManifest.js | 0 .../_clientMiddlewareManifest.json | 0 .../_ssgManifest.js | 0 out/_not-found/__next._full.txt | 6 +-- out/_not-found/__next._head.txt | 2 +- out/_not-found/__next._index.txt | 6 +-- out/_not-found/__next._not-found.txt | 2 +- out/_not-found/__next._not-found/__PAGE__.txt | 2 +- out/_not-found/__next._tree.txt | 2 +- out/_not-found/index.html | 2 +- out/_not-found/index.txt | 6 +-- out/akciok/facebook-google/__next._full.txt | 8 ++-- out/akciok/facebook-google/__next._head.txt | 2 +- out/akciok/facebook-google/__next._index.txt | 6 +-- out/akciok/facebook-google/__next._tree.txt | 2 +- out/akciok/facebook-google/__next.akciok.txt | 2 +- .../__next.akciok/facebook-google.txt | 2 +- .../facebook-google/__PAGE__.txt | 4 +- out/akciok/facebook-google/index.html | 2 +- out/akciok/facebook-google/index.txt | 8 ++-- out/akciok/tiktok/__next._full.txt | 8 ++-- out/akciok/tiktok/__next._head.txt | 2 +- out/akciok/tiktok/__next._index.txt | 6 +-- out/akciok/tiktok/__next._tree.txt | 2 +- out/akciok/tiktok/__next.akciok.txt | 2 +- out/akciok/tiktok/__next.akciok/tiktok.txt | 2 +- .../tiktok/__next.akciok/tiktok/__PAGE__.txt | 4 +- out/akciok/tiktok/index.html | 2 +- out/akciok/tiktok/index.txt | 8 ++-- out/arak/__next._full.txt | 8 ++-- out/arak/__next._head.txt | 2 +- out/arak/__next._index.txt | 6 +-- out/arak/__next._tree.txt | 2 +- out/arak/__next.arak.txt | 2 +- out/arak/__next.arak/__PAGE__.txt | 4 +- out/arak/index.html | 2 +- out/arak/index.txt | 8 ++-- out/feltetelek/__next._full.txt | 8 ++-- out/feltetelek/__next._head.txt | 2 +- out/feltetelek/__next._index.txt | 6 +-- out/feltetelek/__next._tree.txt | 2 +- out/feltetelek/__next.feltetelek.txt | 2 +- out/feltetelek/__next.feltetelek/__PAGE__.txt | 4 +- out/feltetelek/index.html | 2 +- out/feltetelek/index.txt | 8 ++-- out/flotta/__next._full.txt | 8 ++-- out/flotta/__next._head.txt | 2 +- out/flotta/__next._index.txt | 6 +-- out/flotta/__next._tree.txt | 2 +- out/flotta/__next.flotta.txt | 2 +- out/flotta/__next.flotta/__PAGE__.txt | 4 +- out/flotta/index.html | 2 +- out/flotta/index.txt | 8 ++-- out/index.html | 2 +- out/index.txt | 8 ++-- out/kapcsolat/__next._full.txt | 8 ++-- out/kapcsolat/__next._head.txt | 2 +- out/kapcsolat/__next._index.txt | 6 +-- out/kapcsolat/__next._tree.txt | 2 +- out/kapcsolat/__next.kapcsolat.txt | 2 +- out/kapcsolat/__next.kapcsolat/__PAGE__.txt | 4 +- out/kapcsolat/index.html | 2 +- out/kapcsolat/index.txt | 8 ++-- out/szolgaltatasok/__next._full.txt | 10 ++--- out/szolgaltatasok/__next._head.txt | 2 +- out/szolgaltatasok/__next._index.txt | 6 +-- out/szolgaltatasok/__next._tree.txt | 2 +- out/szolgaltatasok/__next.szolgaltatasok.txt | 2 +- .../__next.szolgaltatasok/__PAGE__.txt | 4 +- out/szolgaltatasok/index.html | 2 +- out/szolgaltatasok/index.txt | 10 ++--- 86 files changed, 215 insertions(+), 193 deletions(-) create mode 100644 out/_next/static/chunks/2cb0ff15897c67e4.js rename out/_next/static/chunks/{1f3f38119f6f1c17.js => 7644c98974b8d3d8.js} (96%) delete mode 100644 out/_next/static/chunks/8ef15234e1dfbafd.js delete mode 100644 out/_next/static/chunks/c17a0bc1ebd38b85.js rename out/_next/static/chunks/{095e546615b0662a.js => e205baa082f6954a.js} (73%) create mode 100644 out/_next/static/chunks/fb55e0274548264f.js rename out/_next/static/{f4iFKPyjwbfrAVP23okHf => vXA42BT--otZXOVkyV5wQ}/_buildManifest.js (100%) rename out/_next/static/{f4iFKPyjwbfrAVP23okHf => vXA42BT--otZXOVkyV5wQ}/_clientMiddlewareManifest.json (100%) rename out/_next/static/{f4iFKPyjwbfrAVP23okHf => vXA42BT--otZXOVkyV5wQ}/_ssgManifest.js (100%) diff --git a/app/kapcsolat/page.tsx b/app/kapcsolat/page.tsx index b17b1d0..8a393be 100644 --- a/app/kapcsolat/page.tsx +++ b/app/kapcsolat/page.tsx @@ -5,7 +5,7 @@ import Footer from "@/components/footer" import PageReveal from "@/components/page-reveal" import { Button } from "@/components/ui/button" import { Card } from "@/components/ui/card" -import { ArrowLeft, Phone, Mail, MessageSquare, Clock, MapPin, Smartphone } from "lucide-react" +import { ArrowLeft, Phone, Mail, Clock } from "lucide-react" import Link from "next/link" import { useLanguage } from "@/lib/language-context" import { cn } from "@/lib/utils" @@ -16,24 +16,24 @@ export default function ContactPage() { const contactMethods = [ { - icon: Smartphone, - label: t.contactPage.info.phone, - value: t.contactPage.info.phoneValue, - href: `tel:${t.contactPage.info.phoneValue.replace(/\s/g, "")}`, - color: "bg-primary" + icon: Clock, + label: t.contactPage.info.infoLine, + values: t.contactPage.info.infoLineValues as string[], + type: "tel", + color: "bg-blue-500" }, { icon: Phone, - label: t.contactPage.info.landline, - value: t.contactPage.info.landlineValue, - href: `tel:${t.contactPage.info.landlineValue.replace(/\s/g, "")}`, - color: "bg-blue-500" + label: t.contactPage.info.dutyLine, + values: [t.contactPage.info.dutyLineValue as string], + type: "tel", + color: "bg-primary" }, { icon: Mail, label: t.contactPage.info.email, - value: t.contactPage.info.emailValue, - href: `mailto:${t.contactPage.info.emailValue}`, + values: [t.contactPage.info.emailValue as string], + type: "mailto", color: "bg-purple-500" } ] @@ -87,9 +87,22 @@ export default function ContactPage() {

{method.label}

- - {method.value} - +
+ {method.values.map((value, valueIdx) => { + const href = method.type === "mailto" + ? `mailto:${value}` + : `tel:${value.replace(/\s/g, "")}` + return ( + + {value} + + ) + })} +
))} @@ -153,4 +166,4 @@ export default function ContactPage() {