first commit
This commit is contained in:
59
templates_user/components/homeOfferCard.php
Normal file
59
templates_user/components/homeOfferCard.php
Normal file
@@ -0,0 +1,59 @@
|
||||
<div class="product-offer-card">
|
||||
<div class="offer-card-img">
|
||||
<? if($this->obrazek) : ?>
|
||||
<img class="offer-card-img-img" src="<?= $this->obrazek; ?>" alt="">
|
||||
<? endif; ?>
|
||||
|
||||
<img class="offer-card-img-star" src="/upload/filemanager/new-2024/assets/big-star-border.svg" alt="">
|
||||
|
||||
<? if($this->tags) : ?>
|
||||
<ul>
|
||||
<? foreach ($this->tags as $key => $value) : ?>
|
||||
<li><?= $value; ?></li>
|
||||
<? endforeach; ?>
|
||||
</ul>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
<div class="offer-card-data">
|
||||
<? if($this->title) : ?>
|
||||
<h2><?= $this->title; ?></h2>
|
||||
<? endif; ?>
|
||||
<ul>
|
||||
<? if($this->wspolpraca) : ?>
|
||||
<li class="offer-collaboration">
|
||||
<img src="/upload/filemanager/new-2024/assets/Star.svg" alt="">
|
||||
<p>Współpraca od: <strong><?= $this->wspolpraca; ?></strong></p>
|
||||
</li>
|
||||
<? endif; ?>
|
||||
<? if($this->witryna_txt) : ?>
|
||||
<li class="offer-website">
|
||||
<img src="/upload/filemanager/new-2024/assets/Star.svg" alt="">
|
||||
<p>Witryna: <strong>
|
||||
<? if($this->witryna_url) : ?>
|
||||
<a href="<?= $this->witryna_url; ?>"><?= $this->witryna_txt; ?></a>
|
||||
<? else : ?>
|
||||
<span><?= $this->witryna_txt; ?></span>
|
||||
<? endif; ?>
|
||||
</strong></p>
|
||||
</li>
|
||||
<? endif; ?>
|
||||
<? if($this->rynek) : ?>
|
||||
<li class="offer-market">
|
||||
<img src="/upload/filemanager/new-2024/assets/Star.svg" alt="">
|
||||
<p>Rynek: <strong><?= $this->rynek; ?></strong></p>
|
||||
</li>
|
||||
<? endif; ?>
|
||||
</ul>
|
||||
<div class="offer-card-footer">
|
||||
<? if($this->sprawdz_url) : ?>
|
||||
<a href="<?= $this->sprawdz_url; ?>" class="offer-card-btn">
|
||||
Sprawdź
|
||||
<img src="/upload/filemanager/new-2024/assets/black-mini-arrow.svg" alt="">
|
||||
</a>
|
||||
<? endif; ?>
|
||||
<? if($this->image) : ?>
|
||||
<img src="<?= $this->image; ?>" alt="">
|
||||
<? endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
36
templates_user/components/navMenu.php
Normal file
36
templates_user/components/navMenu.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php global $lang_id; ?>
|
||||
<div class="fixed-top">
|
||||
<div class="page-header cre-animate" id="top" data-animation="slide-down-from-top" data-speed="1000" data-delay="0"
|
||||
data-offset="70%" data-easing="ease">
|
||||
<div class="container big">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<nav class="navMenu">
|
||||
<div class="navLogo">
|
||||
<!-- <div class="col-7 col-sm-12 col-md-3 col-lg-2"> -->
|
||||
<a href="/"><?= \front\view\Scontainers::scontainer(20); ?></a>
|
||||
</div>
|
||||
|
||||
<div class="menu">
|
||||
<!-- <div class="menu col-5 col-sm-10 col-md-9 col-lg-6"> -->
|
||||
<?= \front\view\Menu::main_menu(\front\factory\Menu::menu_details(1), $page['id']); ?>
|
||||
</div>
|
||||
|
||||
<div class="menu2">
|
||||
<!-- <div class="col-12 col-lg-4"> -->
|
||||
<?php include 'templates_user/langs.php'; ?>
|
||||
<a href="tel:+48500253000" class="navMenu_phone d-none d-sm-block">
|
||||
<img src="/upload/filemanager/new-2024/assets/phone.svg" alt="">
|
||||
+48 500 253 000
|
||||
</a>
|
||||
<a href="<?= \front\factory\Pages::lang_url(5, $lang_id); ?>" class="btn1">
|
||||
<img src="/upload/filemanager/new-2024/assets/calendar-icon.svg" alt="">
|
||||
<?= \S::lang('umow-spotkanie'); ?>
|
||||
</a>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user