From d6dbc71071e06d93069fd88afec3982cf9c370ec Mon Sep 17 00:00:00 2001 From: Ksan Date: Mon, 31 Aug 2026 12:03:56 +0200 Subject: [PATCH] added phone number and updated some things --- components/layout/Footer.tsx | 8 +++++--- components/sections/ContactForm.tsx | 7 +++++++ components/sections/Hero.tsx | 13 +------------ lib/dictionaries.ts | 10 +++++----- 4 files changed, 18 insertions(+), 20 deletions(-) diff --git a/components/layout/Footer.tsx b/components/layout/Footer.tsx index 25f6b80..1ebca29 100644 --- a/components/layout/Footer.tsx +++ b/components/layout/Footer.tsx @@ -1,5 +1,5 @@ import Link from "next/link"; -import { Mail } from "lucide-react"; +import { Mail, Phone } from "lucide-react"; import { FaLinkedin } from "react-icons/fa6"; import { SiGitea } from "react-icons/si"; import type { Locale, Dictionary } from "@/lib/dictionaries"; @@ -23,6 +23,7 @@ export default function Footer({ locale, dict }: FooterProps) { [dict.footer.connect]: [ { label: "Source Code", href: "https://git.ksan.dev/ksan", external: true }, { label: "Email", href: "mailto:contact@ksan.dev", external: true }, + { label: "+387 66 644 094", href: "tel:+38766644094", external: true }, { label: "LinkedIn", href: "https://www.linkedin.com/in/%C4%91or%C4%91e-k%C5%A1an-886871266", external: true }, ], }; @@ -30,6 +31,7 @@ export default function Footer({ locale, dict }: FooterProps) { const socials = [ { icon: SiGitea, href: "https://git.ksan.dev/ksan", label: "Gitea" }, { icon: Mail, href: "mailto:contact@ksan.dev", label: "Email" }, + { icon: Phone, href: "tel:+38766644094", label: "Phone" }, { icon: FaLinkedin, href: "https://www.linkedin.com/in/%C4%91or%C4%91e-k%C5%A1an-886871266/", label: "LinkedIn" }, ]; @@ -84,8 +86,8 @@ export default function Footer({ locale, dict }: FooterProps) { {"external" in link && link.external ? ( {link.label} diff --git a/components/sections/ContactForm.tsx b/components/sections/ContactForm.tsx index 2a8c317..2f16daf 100644 --- a/components/sections/ContactForm.tsx +++ b/components/sections/ContactForm.tsx @@ -6,6 +6,7 @@ import { SiGitea } from "react-icons/si"; import { ArrowRight, Mail, + Phone, MapPin, Clock, Send, @@ -74,6 +75,12 @@ export default function ContactForm({ dict }: ContactFormProps) { value: "contact@ksan.dev", href: "mailto:contact@ksan.dev", }, + { + icon: Phone, + label: t.phoneLabel, + value: "+387 66 644 094", + href: "tel:+38766644094", + }, { icon: SiGitea, label: "Source Code", diff --git a/components/sections/Hero.tsx b/components/sections/Hero.tsx index 093a51a..3e9b733 100644 --- a/components/sections/Hero.tsx +++ b/components/sections/Hero.tsx @@ -14,7 +14,7 @@ interface HeroProps { export default function Hero({ locale, dict }: HeroProps) { const stats = [ { value: "13+", label: dict.hero.stats.projects }, - { value: "4", label: dict.hero.stats.clients }, + { value: "5", label: dict.hero.stats.clients }, { value: "10", label: dict.hero.stats.infra }, { value: "<24h", label: dict.hero.stats.response }, ]; @@ -65,17 +65,6 @@ export default function Hero({ locale, dict }: HeroProps) { animate="visible" className="mx-auto max-w-4xl text-center" > - {/* Badge */} - - - - - - - {dict.hero.badge} - - - {/* Heading */}