| Server IP : 188.114.97.3 / Your IP : 216.73.216.143 Web Server : Apache System : Linux sv058.home.net.pl 6.8.2 husak_dirty_pages_fix #1 SMP PREEMPT_DYNAMIC Tue Apr 2 22:06:51 CEST 2024 x86_64 User : ( 3194769) PHP Version : 8.5.12 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /polana/ |
Upload File : |
<?php
declare(strict_types=1);
require_once __DIR__ . '/includes/functions.php';
render_global_site_splash_if_needed();
$title = polana_site_setting('contact_title', 'Kontakt | Moja Polana Smaków', 'Contact | Moja Polana Smaków');
$description = polana_site_setting('contact_description', 'Kontakt, godziny otwarcia i dane firmy restauracji Moja Polana Smaków.', 'Contact and opening hours for Moja Polana Smaków restaurant in Kraków.');
render_public_head($title, $description, '/kontakt');
render_public_header('contact');
$fullAddress = trim(setting('address') . ', ' . setting('postal_code') . ' ' . setting('city'), ', ');
?>
<main>
<section class="page-hero">
<div class="container narrow">
<span class="eyebrow">Kontakt</span>
<h1>Do zobaczenia przy stole.</h1>
<p>Kontakt, godziny otwarcia i dane restauracji.</p>
</div>
</section>
<section class="section contact-section">
<div class="container contact-grid">
<div class="contact-card">
<h2>Dane kontaktowe</h2>
<?php if (setting('phone') !== ''): ?>
<div class="contact-row">
<small>Telefon</small>
<a href="tel:<?= e(preg_replace('/\s+/', '', setting('phone'))) ?>"><?= e(setting('phone')) ?></a>
</div>
<?php endif; ?>
<?php if (setting('email') !== ''): ?>
<div class="contact-row">
<small>E-mail</small>
<a href="mailto:<?= e(setting('email')) ?>"><?= e(setting('email')) ?></a>
</div>
<?php endif; ?>
<div class="contact-row">
<small>Adres restauracji</small>
<span>ul. Bożego Ciała 15<br>31-059 Kraków</span>
</div>
<?php if (setting('google_maps_url') !== ''): ?>
<a class="text-link" href="<?= e(setting('google_maps_url')) ?>" target="_blank" rel="noopener">Otwórz mapę →</a>
<?php endif; ?>
</div>
<div class="contact-card dark">
<h2>Godziny otwarcia</h2>
<?php if (setting('opening_hours') !== ''): ?>
<div class="opening-hours"><?= nl2br(e(polana_site_setting('opening_hours'))) ?></div>
<?php else: ?>
<p>Aktualne godziny otwarcia uzupełnimy wkrótce.</p>
<?php endif; ?>
</div>
</div>
<div class="company-card">
<div>
<span class="eyebrow">Dane firmowe</span>
<h2>ANDRZEJ POLAN</h2>
</div>
<div class="company-data-grid">
<div>
<small>Adres rejestrowy</small>
<strong>ul. Bożego Ciała 15<br>31-059 Kraków</strong>
</div>
<div>
<small>NIP</small>
<strong>7361000321</strong>
</div>
<div>
<small>REGON</small>
<strong>490451846</strong>
</div>
</div>
</div>
</section>
</main>
<?php render_public_footer(); ?>