Skip to content

Commit

Permalink
#194 - added more data about company
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilpiech97 committed Aug 4, 2023
1 parent 7dd20fd commit d8aa5f8
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/assets/contact.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ export default {
vat: 'PL6912551135',
regon: '387376260',
krs: '0000866755',
email: 'biuro@blumilk.pl',
phone: '+48 123 456 789',
addresses: {
official: {
address: 'ul. rtm. Witolda Pileckiego 14',
Expand Down
4 changes: 3 additions & 1 deletion src/locale/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,9 @@
"header": "Company information",
"content": "Blumilk Spółka z ograniczoną odpowiedzialnością based in Legnica, Poland is entered by the District Court for Wrocław-Fabryczna in Wrocław, IX Commercial Division, into the register of entrepreneurs of the National Court Register under the number 0000866755.",
"address": "Official address",
"office": "Office address"
"office": "Office address",
"phone": "Phone",
"email": "Email address"
},
"404": {
"header": "404",
Expand Down
4 changes: 3 additions & 1 deletion src/locale/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,9 @@
"header": "Dane firmy",
"content": "Blumilk Spółka z ograniczoną odpowiedzialnością z siedzibą w Legnicy wpisana jest przez Sąd Rejonowy dla Wrocławia-Fabrycznej we Wrocławiu IX Wydział Gospodarczy do rejestru przedsiębiorców KRS pod nr 0000866755.",
"address": "Adres urzędowy",
"office": "Adres biura"
"office": "Adres biura",
"phone": "Telefon",
"email": "Adres e-mail"
},
"404": {
"header": "404",
Expand Down
8 changes: 8 additions & 0 deletions src/pages/company.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@
<div class="text-xl opacity-75">KRS</div>
<div class="text-3xl">{ contact.krs }</div>
</div>
<div class="my-8">
<div class="text-md opacity-75">{ $_('pages.company.phone') }</div>
<div class="text-3xl"><a href="tel:{ contact.phone }">{ contact.phone }</a></div>
</div>
<div class="my-8">
<div class="text-md opacity-75">{ $_('pages.company.email') }</div>
<div class="text-3xl"><a href="mailto:{ contact.email }">{ contact.email }</a></div>
</div>
</div>
</LeadSection>

Expand Down

0 comments on commit d8aa5f8

Please sign in to comment.