diff --git a/components/Current/Asides/Contacts/Contact.tsx b/components/Current/Aside/Contacts/Contact.tsx similarity index 52% rename from components/Current/Asides/Contacts/Contact.tsx rename to components/Current/Aside/Contacts/Contact.tsx index 6adc1f17a..5a4085658 100644 --- a/components/Current/Asides/Contacts/Contact.tsx +++ b/components/Current/Aside/Contacts/Contact.tsx @@ -1,15 +1,19 @@ -import styles from "./contacts.module.css" +import styles from "./contact.module.css" -import { ContactNode } from "@/types/requests/asides/contact" +import { langEnum } from "@/types/lang" +import type { Lang } from "@/types/lang" +import type { ContactNode } from "@/types/requests/asides/contact" export default function Contact({ title, mailing_address, visiting_address, phone, + system: { locale }, }: ContactNode) { + const visitingAddressMessage = getVisitingAddressMessage(locale) return ( -
Visiting address: {visiting_address.street}
++ {visitingAddressMessage}: {visiting_address.street}{" "} +