|
1 | 1 | --- |
2 | 2 | // src/components/Operator.astro |
3 | | -
|
4 | 3 | /** |
5 | 4 | * Output consistently the Owner/Operator of the business for legal content. |
6 | 5 | */ |
| 6 | +import { getSiteConfig } from "../data/config.ts"; |
7 | 7 | interface Props { |
8 | 8 | lang: "en" | "de"; |
9 | 9 | heading: string; |
10 | 10 | } |
11 | 11 |
|
12 | 12 | const { lang, heading } = Astro.props; |
13 | 13 |
|
14 | | -const commonContent = { |
15 | | - labelCompany: "Studio Sun & Sea", |
16 | | - ownerName: "Miloš Borojević", |
17 | | - officeAddress1: "Pfarrtannen 7", |
18 | | - officeAddress2: "49808 Lingen, Deutschland", |
19 | | - secondaryAddress1: "9215 Jasmine Lane", |
20 | | - secondaryAddress2: "Irving, TX 75063, USA", |
21 | | - emailLabel: "E-Mail: privacy@studiosunandsea.com" |
| 14 | +const site = getSiteConfig(); |
| 15 | +
|
| 16 | +const companyData = { |
| 17 | + brand: "Studio Sun & Sea", |
| 18 | + legal: "Eirene Intentio Citta d.o.o.", |
| 19 | +
|
| 20 | + // HR Legal Identifiers |
| 21 | + oib: "79177761868", // OIB (Personal Identification Number) |
| 22 | + vat: "HR79177761868", // PDV (VAT) ID |
| 23 | + mbs: "060519793", // Court Registry Number (MBS) |
| 24 | + euid: "HRSR.060519793", // European Unique Identifier (EUID) |
| 25 | + court: "Trgovački sud u Splitu", |
| 26 | + registryUrl: "https://sudreg.pravosudje.hr/ords/r/esudreg/public/podaci-o-poslovnom-subjektu?p28_sbt_mbs=060519793", |
| 27 | + capital: "2.500,00 EUR (u cijelosti uplaćen)", |
| 28 | + director: "Miloš Borojević", |
| 29 | +
|
| 30 | + // Registered Head Office (Split) |
| 31 | + adminAddress1: "Varaždinska 2B", |
| 32 | + adminAddress2: "21000 Split, Hrvatska", |
| 33 | +
|
| 34 | + // Future Studio Location (Supetar, Brač) |
| 35 | + studioAddress1: "Jadranska 35", |
| 36 | + studioAddress2: "21400 Supetar, Otok Brač, Hrvatska", |
| 37 | +
|
| 38 | + // Secondary Offices |
| 39 | + germanyAddress1: "Pfarrtannen 7", |
| 40 | + germanyAddress2: "49808 Lingen, Deutschland", |
| 41 | + usaAddress1: "9215 Jasmine Lane", |
| 42 | + usaAddress2: "Irving, TX 75063, USA", |
| 43 | +
|
| 44 | + email: site.email, |
22 | 45 | } |
23 | 46 |
|
24 | | -const localeContent = { |
| 47 | +const localeLabel = { |
25 | 48 | de: { |
26 | | - ownerLabel: "Inhaber:", |
27 | | - officeTitle: "Sitz des Unternehmens (Deutschland):", |
28 | | - secondaryTitle: "Weitere Betriebsstätte (USA):", |
| 49 | + brand: "Betriebsmarke: ", |
| 50 | + legal: "Medieninhaber & Betreiber der Website: ", |
| 51 | + registeredSeat: "Sitz der Gesellschaft (Verwaltungssitz): ", |
| 52 | + studio: "Künftiger Studiostandort (in Fertigstellung): ", |
| 53 | + represented: "Vertreten durch den Geschäftsführer: ", |
| 54 | + court: "Handelsregister: ", |
| 55 | + registry: "Eintrag im Handelsregister (Sudski registar)", |
| 56 | + vat: "USt-IdNr. (PDV): ", |
| 57 | + germanyTitle: "Weitere Betriebsstätte (Deutschland): ", |
| 58 | + usaTitle: "Weitere Betriebsstätte (USA): ", |
29 | 59 | }, |
30 | 60 | en: { |
31 | | - ownerLabel: "Owner:", |
32 | | - officeTitle: "Registered Office (Germany):", |
33 | | - secondaryTitle: "Secondary Location (USA):", |
| 61 | + brand: "Operating Brand: ", |
| 62 | + legal: "Legal Entity & Website Operator: ", |
| 63 | + registeredSeat: "Registered Head Office: ", |
| 64 | + studio: "Future Studio Location (Under Construction): ", |
| 65 | + represented: "Represented by Managing Director: ", |
| 66 | + court: "Commercial Register: ", |
| 67 | + registry: "Official Court Registry Entry (Sudski registar)", |
| 68 | + vat: "VAT ID (PDV): ", |
| 69 | + germanyTitle: "Secondary Office (Germany): ", |
| 70 | + usaTitle: "Secondary Office (USA): ", |
34 | 71 | } |
35 | 72 | }[lang]; |
36 | 73 | --- |
37 | 74 |
|
38 | | -<section> |
| 75 | +<section class="legal-operator"> |
39 | 76 | <h2>{heading}</h2> |
| 77 | + |
| 78 | + <p> |
| 79 | + {localeLabel.brand} <strong>{companyData.brand}</strong><br /> |
| 80 | + {localeLabel.legal} <strong>{companyData.legal}</strong> |
| 81 | + </p> |
| 82 | + |
| 83 | + <p> |
| 84 | + <strong>{localeLabel.registeredSeat}</strong><br /> |
| 85 | + {companyData.adminAddress1}<br /> |
| 86 | + {companyData.adminAddress2} |
| 87 | + <br /><br /> |
| 88 | + <strong>{localeLabel.studio}</strong><br /> |
| 89 | + {companyData.studioAddress1}<br /> |
| 90 | + {companyData.studioAddress2} |
| 91 | + </p> |
| 92 | + |
| 93 | + <p> |
| 94 | + {localeLabel.represented} {companyData.director}<br /> |
| 95 | + OIB: {companyData.oib}<br /> |
| 96 | + EUID: {companyData.euid}<br /> |
| 97 | + {companyData.vat ? ( |
| 98 | + <>{localeLabel.vat} {companyData.vat}<br /></> |
| 99 | + ) : ( |
| 100 | + <small>Nije u sustavu PDV-a prema čl. 90. Zakona o PDV-u<br /></small> |
| 101 | + )} |
| 102 | + {localeLabel.court} {companyData.court}<br /> |
| 103 | + MBS: {companyData.mbs} |
| 104 | + <small><a |
| 105 | + href={companyData.registryUrl} |
| 106 | + target="_blank" |
| 107 | + rel="noopener noreferrer" |
| 108 | + class="registry-link" |
| 109 | + > |
| 110 | + {localeLabel.registry} ↗ |
| 111 | + </a></small> |
| 112 | + </p> |
| 113 | + |
| 114 | + <p> |
| 115 | + <strong>{localeLabel.germanyTitle}</strong><br /> |
| 116 | + {companyData.germanyAddress1}<br /> |
| 117 | + {companyData.germanyAddress2} |
| 118 | + <br /><br /> |
| 119 | + <strong>{localeLabel.usaTitle}</strong><br /> |
| 120 | + {companyData.usaAddress1}<br /> |
| 121 | + {companyData.usaAddress2} |
| 122 | + </p> |
| 123 | + |
40 | 124 | <p> |
41 | | - <strong>{commonContent.labelCompany}</strong><br /> |
42 | | - {localeContent.ownerLabel} {commonContent.ownerName}<br /> |
43 | | - <strong>{localeContent.officeTitle}</strong><br /> |
44 | | - {commonContent.officeAddress1}<br /> |
45 | | - {commonContent.officeAddress2}<br /> |
46 | | - <strong>{localeContent.secondaryTitle}</strong><br /> |
47 | | - {commonContent.secondaryAddress1}<br /> |
48 | | - {commonContent.secondaryAddress2}<br /> |
49 | | - {commonContent.emailLabel} |
| 125 | + E-Mail: <a href={`mailto:${companyData.email}`}>{companyData.email}</a> |
50 | 126 | </p> |
51 | 127 | </section> |
0 commit comments