This commit is contained in:
Roman Pyrih
2025-08-13 14:53:02 +02:00
parent 3f1046f04f
commit 334c87e363
4 changed files with 455 additions and 63 deletions

View File

@@ -145,54 +145,122 @@ class Elementor_Places_Map extends \Elementor\Widget_Base
'icon' => "https://maps.google.com/mapfiles/ms/icons/yellow-dot.png",
'description' => '
<p><strong>INWEST-PROFIL Spółka z ograniczoną odpowiedzialnością sp. k.</strong></p>
<p>Bajdy 206</p>
<p>38-471 Wojaszówka</p>
<br/>
<p>Krzysztof Szumlański</p>
<p>tel. +48 13 43 850 38<br/>
+48 13 43 858 75 wew. 45<br/>
+48 695 874 548</p>
<p>e-mail: <a href="mailto:szumlanskikrzysztof@inwestprofil.pl">szumlanskikrzysztof@inwestprofil.pl</a></p>
<br/>
<p>Dominik Ziomek</p>
<p>tel. +48 13 43 850 38<br/>
+48 13 43 858 75 wew. 44<br/>
+48 695 874 548</p>
<p>e-mail: <a href="mailto:ziomekdominik@inwestprofil.pl">ziomekdominik@inwestprofil.pl</a></p>
'
<p>Bajdy 206<br/>
38-471 Wojaszówka</p>
',
'contact' => [
[
'name' => "Krzysztof Szumlański",
'phone' => [
'<a href="tel:+48134385038">+48 13 43 850 38</a>',
'<a href="tel:+48134385875">+48 13 43 858 75 wew. 45</a>',
'<a href="tel:+48695874548">+48 695 874 548</a>'
],
'email' => [
'<a href="mailto:szumlanskikrzysztof@inwestprofil.pl">szumlanskikrzysztof@inwestprofil.pl</a>'
]
],
[
'name' => "Dominik Ziomek",
'phone' => [
'<a href="tel:+48134385038">+48 13 43 850 38</a>',
'<a href="tel:+48134385875">+48 13 43 858 75 wew. 44</a>',
'<a href="tel:+48695874548">+48 695 874 548</a>'
],
'email' => [
'<a href="mailto:ziomekdominik@inwestprofil.pl">ziomekdominik@inwestprofil.pl</a>'
]
]
]
],
[
'id' => 2,
'name' => "Jasło",
'voivodeship' => $wojewodztwa['podkarpackie'],
'position' => [
'lat' => null,
'lng' => null
'lat' => 49.748867415091276,
'lng' => 21.473127182357842
],
'icon' => "https://maps.google.com/mapfiles/ms/icons/yellow-dot.png",
'description' => ''
'description' => '
<p><strong>INWEST-PROFIL Spółka z ograniczoną odpowiedzialnością sp. k.</strong></p>
<p>ul. Kazimierza Wielkiego 11<br/>
38-200 Jasło</p>
',
'contact' => [
[
'name' => "Henryk Krówka",
'phone' => [
'<a href="tel:+48691547919">+48 691 547 919</a>',
],
'email' => [
'<a href="mailto:jaslo_bh@inwestprofil.pl">jaslo_bh@inwestprofil.pl</a>'
]
],
]
],
[
'id' => 3,
'name' => "Krosno",
'voivodeship' => $wojewodztwa['podkarpackie'],
'position' => [
'lat' => null,
'lng' => null
'lat' => 49.687239376418,
'lng' => 21.770355684203714
],
'icon' => "https://maps.google.com/mapfiles/ms/icons/yellow-dot.png",
'description' => ''
'description' => '
<p><strong>INWEST-PROFIL Spółka z ograniczoną odpowiedzialnością sp. k.</strong></p>
<p>ul. Lwowska 10A<br/>
38-400 Krosno</p>
',
'contact' => [
[
'name' => "Paweł Ekiert",
'phone' => [
'<a href="tel:+48134327048">+48 13 43 270 48</a>',
],
'email' => [
'<a href="mailto:krosno_bh@inwestprofil.pl">krosno_bh@inwestprofil.pl</a>'
]
],
]
],
[
'id' => 4,
'name' => "Rzeszów",
'voivodeship' => $wojewodztwa['podkarpackie'],
'position' => [
'lat' => null,
'lng' => null
'lat' => 50.01833338566556,
'lng' => 22.00361670510267
],
'icon' => "https://maps.google.com/mapfiles/ms/icons/yellow-dot.png",
'description' => ''
'description' => '
<p><strong>INWEST-PROFIL Spółka z ograniczoną odpowiedzialnością sp. k.</strong></p>
<p>ul. Kwiatkowskiego 2a<br/>
35-311 Rzeszów</p>
',
'contact' => [
[
'name' => "Michał Haligowski",
'phone' => [
'<a href="tel:+48607190506">+48 607 190 506</a>',
'<a href="tel:+48172832045">+48 17 283 20 45</a>',
],
'email' => [
'<a href="mailto:rzeszow_bh@inwestprofil.pl">rzeszow_bh@inwestprofil.pl</a>'
]
],
[
'name' => "Tomasz Szarzyński",
'phone' => [
'<a href="tel:+48691547668">+48 691 547 668</a>',
'<a href="tel:+48172832045">+48 17 283 20 45</a>',
],
'email' => [
'<a href="mailto:rzeszow_bh@inwestprofil.pl">rzeszow_bh@inwestprofil.pl</a>'
]
],
]
],
[
'id' => 5,
@@ -203,7 +271,40 @@ class Elementor_Places_Map extends \Elementor\Widget_Base
'lng' => null
],
'icon' => "https://maps.google.com/mapfiles/ms/icons/yellow-dot.png",
'description' => ''
'description' => '',
'contact' => [
[
'name' => "SEKRETARIAT/DZIAŁ REKLAMACJI",
'phone' => [
'<a href="tel:+48134385875">+48 (13) 43 858 75</a>',
'<a href="tel:+48134385580">+48 (13) 43 855 80</a>',
],
'fax' => [
'<a href="tel:+48134385038">+48 (13) 43 850 38</a>',
],
'email' => [
'<a href="mailto:biuro@inwestprofil.pl">biuro@inwestprofil.pl</a>'
]
],
[
'name' => "Tomasz Szarzyński",
'phone' => [
'<a href="tel:+48691547668">+48 691 547 668</a>',
],
'email' => [
'<a href="mailto:rzeszow_bh@inwestprofil.pl">rzeszow_bh@inwestprofil.pl</a>'
]
],
[
'name' => "Doradca Techniczno - Handlowy<br/> Rafał Czopik",
'phone' => [
'<a href="tel:+48663187854">+48 663 187 854</a>',
],
'email' => [
'<a href="mailto:czopikrafal@inwestprofil.pl">czopikrafal@inwestprofil.pl</a>'
]
],
]
],
[
'id' => 6,
@@ -214,7 +315,18 @@ class Elementor_Places_Map extends \Elementor\Widget_Base
'lng' => null
],
'icon' => "https://maps.google.com/mapfiles/ms/icons/yellow-dot.png",
'description' => ''
'description' => '',
'contact' => [
[
'name' => "Doradca Techniczno - Handlowy<br/> Rafał Czopik",
'phone' => [
'<a href="tel:+48663187854">+48 663 187 854</a>',
],
'email' => [
'<a href="mailto:czopikrafal@inwestprofil.pl">czopikrafal@inwestprofil.pl</a>'
]
],
]
],
[
'id' => 7,
@@ -225,7 +337,37 @@ class Elementor_Places_Map extends \Elementor\Widget_Base
'lng' => null
],
'icon' => "https://maps.google.com/mapfiles/ms/icons/yellow-dot.png",
'description' => ''
'description' => '',
'contact' => [
[
'name' => "SEKRETARIAT/DZIAŁ REKLAMACJI",
'phone' => [
'<a href="tel:+48134385875">+48 (13) 43 858 75</a>',
'<a href="tel:+48134385580">+48 (13) 43 855 80</a>',
],
'fax' => [
'<a href="tel:+48134385038">+48 (13) 43 850 38</a>',
],
'email' => [
'<a href="mailto:biuro@inwestprofil.pl">biuro@inwestprofil.pl</a>'
]
],
[
'name' => "Tomasz Szarzyński",
'phone' => [
'<a href="tel:+48691547668">+48 691 547 668</a>',
],
],
[
'name' => "Doradca Techniczno - Handlowy<br/> Rafał Czopik",
'phone' => [
'<a href="tel:+48663187854">+48 663 187 854</a>',
],
'email' => [
'<a href="mailto:czopikrafal@inwestprofil.pl">czopikrafal@inwestprofil.pl</a>'
]
],
]
],
[
'id' => 8,
@@ -236,7 +378,18 @@ class Elementor_Places_Map extends \Elementor\Widget_Base
'lng' => null
],
'icon' => "https://maps.google.com/mapfiles/ms/icons/yellow-dot.png",
'description' => ''
'description' => '',
'contact' => [
[
'name' => "Doradca Techniczno - Handlowy<br/> Rafał Czopik",
'phone' => [
'<a href="tel:+48663187854">+48 663 187 854</a>',
],
'email' => [
'<a href="mailto:czopikrafal@inwestprofil.pl">czopikrafal@inwestprofil.pl</a>'
]
],
]
],
[
'id' => 9,
@@ -247,7 +400,18 @@ class Elementor_Places_Map extends \Elementor\Widget_Base
'lng' => null
],
'icon' => "https://maps.google.com/mapfiles/ms/icons/yellow-dot.png",
'description' => ''
'description' => '',
'contact' => [
[
'name' => "Doradca Techniczno - Handlowy<br/> Rafał Czopik",
'phone' => [
'<a href="tel:+48663187854">+48 663 187 854</a>',
],
'email' => [
'<a href="mailto:czopikrafal@inwestprofil.pl">czopikrafal@inwestprofil.pl</a>'
]
],
]
],
[
'id' => 10,
@@ -258,7 +422,18 @@ class Elementor_Places_Map extends \Elementor\Widget_Base
'lng' => null
],
'icon' => "https://maps.google.com/mapfiles/ms/icons/yellow-dot.png",
'description' => ''
'description' => '',
'contact' => [
[
'name' => "Doradca Techniczno - Handlowy<br/> Rafał Czopik",
'phone' => [
'<a href="tel:+48663187854">+48 663 187 854</a>',
],
'email' => [
'<a href="mailto:czopikrafal@inwestprofil.pl">czopikrafal@inwestprofil.pl</a>'
]
],
]
],
[
'id' => 11,
@@ -269,7 +444,18 @@ class Elementor_Places_Map extends \Elementor\Widget_Base
'lng' => null
],
'icon' => "https://maps.google.com/mapfiles/ms/icons/yellow-dot.png",
'description' => ''
'description' => '',
'contact' => [
[
'name' => "Doradca Techniczno - Handlowy<br/> Rafał Czopik",
'phone' => [
'<a href="tel:+48663187854">+48 663 187 854</a>',
],
'email' => [
'<a href="mailto:czopikrafal@inwestprofil.pl">czopikrafal@inwestprofil.pl</a>'
]
],
]
],
[
'id' => 12,
@@ -280,7 +466,18 @@ class Elementor_Places_Map extends \Elementor\Widget_Base
'lng' => null
],
'icon' => "https://maps.google.com/mapfiles/ms/icons/yellow-dot.png",
'description' => ''
'description' => '',
'contact' => [
[
'name' => "Doradca Techniczno - Handlowy<br/> Rafał Czopik",
'phone' => [
'<a href="tel:+48663187854">+48 663 187 854</a>',
],
'email' => [
'<a href="mailto:czopikrafal@inwestprofil.pl">czopikrafal@inwestprofil.pl</a>'
]
],
]
],
[
'id' => 13,
@@ -291,7 +488,18 @@ class Elementor_Places_Map extends \Elementor\Widget_Base
'lng' => null
],
'icon' => "https://maps.google.com/mapfiles/ms/icons/yellow-dot.png",
'description' => ''
'description' => '',
'contact' => [
[
'name' => "Doradca Techniczno - Handlowy<br/> Rafał Czopik",
'phone' => [
'<a href="tel:+48663187854">+48 663 187 854</a>',
],
'email' => [
'<a href="mailto:czopikrafal@inwestprofil.pl">czopikrafal@inwestprofil.pl</a>'
]
],
]
],
[
'id' => 14,
@@ -302,7 +510,18 @@ class Elementor_Places_Map extends \Elementor\Widget_Base
'lng' => null
],
'icon' => "https://maps.google.com/mapfiles/ms/icons/yellow-dot.png",
'description' => ''
'description' => '',
'contact' => [
[
'name' => "Doradca Techniczno - Handlowy<br/> Rafał Czopik",
'phone' => [
'<a href="tel:+48663187854">+48 663 187 854</a>',
],
'email' => [
'<a href="mailto:czopikrafal@inwestprofil.pl">czopikrafal@inwestprofil.pl</a>'
]
],
]
],
[
'id' => 15,
@@ -313,7 +532,37 @@ class Elementor_Places_Map extends \Elementor\Widget_Base
'lng' => null
],
'icon' => "https://maps.google.com/mapfiles/ms/icons/yellow-dot.png",
'description' => ''
'description' => '',
'contact' => [
[
'name' => "SEKRETARIAT/DZIAŁ REKLAMACJI",
'phone' => [
'<a href="tel:+48134385875">+48 (13) 43 858 75</a>',
'<a href="tel:+48134385580">+48 (13) 43 855 80</a>',
],
'fax' => [
'<a href="tel:+48134385038">+48 (13) 43 850 38</a>',
],
'email' => [
'<a href="mailto:biuro@inwestprofil.pl">biuro@inwestprofil.pl</a>'
]
],
[
'name' => "Tomasz Szarzyński",
'phone' => [
'<a href="tel:+48691547668">+48 691 547 668</a>',
],
],
[
'name' => "Doradca Techniczno - Handlowy<br/> Rafał Czopik",
'phone' => [
'<a href="tel:+48663187854">+48 663 187 854</a>',
],
'email' => [
'<a href="mailto:czopikrafal@inwestprofil.pl">czopikrafal@inwestprofil.pl</a>'
]
],
]
],
[
'id' => 16,
@@ -324,7 +573,37 @@ class Elementor_Places_Map extends \Elementor\Widget_Base
'lng' => null
],
'icon' => "https://maps.google.com/mapfiles/ms/icons/yellow-dot.png",
'description' => ''
'description' => '',
'contact' => [
[
'name' => "SEKRETARIAT/DZIAŁ REKLAMACJI",
'phone' => [
'<a href="tel:+48134385875">+48 (13) 43 858 75</a>',
'<a href="tel:+48134385580">+48 (13) 43 855 80</a>',
],
'fax' => [
'<a href="tel:+48134385038">+48 (13) 43 850 38</a>',
],
'email' => [
'<a href="mailto:biuro@inwestprofil.pl">biuro@inwestprofil.pl</a>'
]
],
[
'name' => "Tomasz Szarzyński",
'phone' => [
'<a href="tel:+48691547668">+48 691 547 668</a>',
],
],
[
'name' => "Doradca Techniczno - Handlowy<br/> Rafał Czopik",
'phone' => [
'<a href="tel:+48663187854">+48 663 187 854</a>',
],
'email' => [
'<a href="mailto:czopikrafal@inwestprofil.pl">czopikrafal@inwestprofil.pl</a>'
]
],
]
],
[
'id' => 17,
@@ -335,7 +614,18 @@ class Elementor_Places_Map extends \Elementor\Widget_Base
'lng' => null
],
'icon' => "https://maps.google.com/mapfiles/ms/icons/yellow-dot.png",
'description' => ''
'description' => '',
'contact' => [
[
'name' => "Doradca Techniczno - Handlowy<br/> Rafał Czopik",
'phone' => [
'<a href="tel:+48663187854">+48 663 187 854</a>',
],
'email' => [
'<a href="mailto:czopikrafal@inwestprofil.pl">czopikrafal@inwestprofil.pl</a>'
]
],
]
],
];
?>
@@ -615,6 +905,14 @@ class Elementor_Places_Map extends \Elementor\Widget_Base
div.dataset.id = loc.id;
div.innerHTML = `<h4>${loc.name}</h4>`;
div.innerHTML += `${loc.description || ''}`;
div.innerHTML += loc.contact.map(c => `
<h5>${c.name}</h5>
<ul>
${c.phone && c.phone.length ? c.phone.map(p => `<li><img src="/wp-content/uploads/2025/08/phone.svg">${p}</li>`).join('') : ''}
${c.fax && c.fax.length ? c.fax.map(f => `<li><img src="/wp-content/uploads/2025/08/fax.svg">${f}</li>`).join('') : ''}
${c.email && c.email.length ? c.email.map(e => `<li><img src="/wp-content/uploads/2025/08/mail.svg">${e}</li>`).join('') : ''}
</ul>
`).join('');
listContainer.appendChild(div);
});
}

View File

@@ -662,18 +662,20 @@
margin-bottom: 0;
}
.elementor-widget-places-map .s-content.s-style-1 .s-left-col .map-point-info .map-point-info--body .location-item.highlight {
background-color: #22a9e1;
background-color: rgba(34, 169, 225, 0.1);
}
.elementor-widget-places-map .s-content.s-style-1 .s-left-col .map-point-info .map-point-info--body .location-item h4 {
color: #181c1d;
font-size: 16px;
color: var(--e-global-color-secondary);
font-family: "Plus Jakarta Sans", Sans-serif;
font-size: 14px;
font-weight: 600;
line-height: 1.5;
text-transform: uppercase;
}
.elementor-widget-places-map .s-content.s-style-1 .s-left-col .map-point-info .map-point-info--body .location-item p {
color: #181c1d;
font-size: 16px;
color: var(--e-global-color-secondary);
font-family: "Plus Jakarta Sans", Sans-serif;
font-size: 14px;
font-weight: 400;
line-height: 1.5;
}
@@ -683,12 +685,57 @@
.elementor-widget-places-map .s-content.s-style-1 .s-left-col .map-point-info .map-point-info--body .location-item p strong {
font-weight: 600;
}
.elementor-widget-places-map .s-content.s-style-1 .s-left-col .map-point-info .map-point-info--body .location-item a {
display: block;
color: #181c1d;
font-size: 16px;
font-weight: 600;
line-height: 1.5;
.elementor-widget-places-map .s-content.s-style-1 .s-left-col .map-point-info .map-point-info--body .location-item h5 {
position: relative;
color: var(--e-global-color-secondary);
font-family: "Plus Jakarta Sans", Sans-serif;
font-size: 14px;
font-weight: 700;
line-height: 1.3;
margin-top: 25px;
margin-bottom: 20px;
}
.elementor-widget-places-map .s-content.s-style-1 .s-left-col .map-point-info .map-point-info--body .location-item h5::before {
content: "";
position: absolute;
left: 0;
top: -12px;
right: 0;
width: 100%;
height: 1px;
background: #f5f5f5;
}
.elementor-widget-places-map .s-content.s-style-1 .s-left-col .map-point-info .map-point-info--body .location-item ul {
padding: 0;
margin: 0;
list-style: none;
}
.elementor-widget-places-map .s-content.s-style-1 .s-left-col .map-point-info .map-point-info--body .location-item ul:not(:last-child) {
margin-bottom: 20px;
}
.elementor-widget-places-map .s-content.s-style-1 .s-left-col .map-point-info .map-point-info--body .location-item ul li {
display: flex;
flex-direction: row;
align-items: center;
gap: 5px;
}
.elementor-widget-places-map .s-content.s-style-1 .s-left-col .map-point-info .map-point-info--body .location-item ul li:not(:last-child) {
margin-bottom: 10px;
}
.elementor-widget-places-map .s-content.s-style-1 .s-left-col .map-point-info .map-point-info--body .location-item ul li img {
width: 14px;
height: 14px;
-o-object-fit: contain;
object-fit: contain;
-o-object-position: center;
object-position: center;
}
.elementor-widget-places-map .s-content.s-style-1 .s-left-col .map-point-info .map-point-info--body .location-item ul li a {
color: var(--e-global-color-secondary);
font-family: "Plus Jakarta Sans", Sans-serif;
font-size: 14px;
font-weight: 400;
line-height: 1.3;
}
.elementor-widget-places-map .s-content.s-style-1 .s-left-col .map-point-info .map-point-info--body .inst-client {
position: relative;

File diff suppressed because one or more lines are too long

View File

@@ -879,22 +879,22 @@
}
&.highlight {
background-color: #22a9e1;
background-color: rgb(34, 169, 225, 0.1);
}
h4 {
color: #181c1d;
font-size: 16px;
// font-family: $font3;
color: var(--e-global-color-secondary);
font-family: 'Plus Jakarta Sans', Sans-serif;
font-size: 14px;
font-weight: 600;
line-height: 1.5;
text-transform: uppercase;
}
p {
color: #181c1d;
font-size: 16px;
// font-family: $font3;
color: var(--e-global-color-secondary);
font-family: 'Plus Jakarta Sans', Sans-serif;
font-size: 14px;
font-weight: 400;
line-height: 1.5;
@@ -907,13 +907,60 @@
}
}
a {
display: block;
color: #181c1d;
font-size: 16px;
// font-family: $font3;
font-weight: 600;
line-height: 1.5;
h5 {
position: relative;
color: var(--e-global-color-secondary);
font-family: 'Plus Jakarta Sans', Sans-serif;
font-size: 14px;
font-weight: 700;
line-height: 1.3;
margin-top: 25px;
margin-bottom: 20px;
&::before {
content: '';
position: absolute;
left: 0;
top: -12px;
right: 0;
width: 100%;
height: 1px;
background: #f5f5f5;
}
}
ul {
padding: 0;
margin: 0;
list-style: none;
&:not(:last-child) {
margin-bottom: 20px;
}
li {
display: flex;
flex-direction: row;
align-items: center;
gap: 5px;
&:not(:last-child) {
margin-bottom: 10px;
}
img {
width: 14px;
height: 14px;
object-fit: contain;
object-position: center;
}
a {
color: var(--e-global-color-secondary);
font-family: 'Plus Jakarta Sans', Sans-serif;
font-size: 14px;
font-weight: 400;
line-height: 1.3;
}
}
}
}