first commit
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
class stSocialLinksBackendActions extends sfActions
|
||||
{
|
||||
public function executeIndex()
|
||||
{
|
||||
$i18n = $this->getContext()->getI18N();
|
||||
|
||||
$this->config = stConfig::getInstance('stSocialLinksBackend');
|
||||
|
||||
$this->config->setCulture($this->getRequestParameter('culture', stLanguage::getOptLanguage()));
|
||||
|
||||
if ($this->getRequest()->getMethod() == sfRequest::POST)
|
||||
{
|
||||
|
||||
$this->config->set('enable', $this->getRequestParameter('sociallinks[enable]'));
|
||||
|
||||
$this->config->set('facebook', $this->getRequestParameter('sociallinks[facebook]'), true);
|
||||
|
||||
$this->config->set('twitter', $this->getRequestParameter('sociallinks[twitter]'), true);
|
||||
|
||||
$this->config->set('youtube', $this->getRequestParameter('sociallinks[youtube]'), true);
|
||||
|
||||
$this->config->set('google', null);
|
||||
|
||||
$this->config->set('instagram', $this->getRequestParameter('sociallinks[instagram]'), true);
|
||||
|
||||
$this->config->set('pinterest', $this->getRequestParameter('sociallinks[pinterest]'), true);
|
||||
|
||||
$this->config->set('allegro', $this->getRequestParameter('sociallinks[allegro]'), true);
|
||||
|
||||
$this->config->set('newsletter', $this->getRequestParameter('sociallinks[newsletter]'));
|
||||
|
||||
$this->config->save();
|
||||
|
||||
stFastCacheManager::clearCache();
|
||||
|
||||
$this->setFlash('notice', $i18n->__('Twoje zmiany zostały zapisane', null, 'stAdminGeneratorPlugin'));
|
||||
|
||||
$this->redirect('stSocialLinksBackend/index?culture=' . $this->getRequestParameter('culture', stLanguage::getOptLanguage()));
|
||||
}
|
||||
|
||||
$this->config->load();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
class stSocialLinksBackendComponents extends sfComponents
|
||||
{
|
||||
|
||||
public function executeListMenu()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,19 @@
|
||||
<div class="list-menu">
|
||||
<ul>
|
||||
|
||||
<li class="selected">
|
||||
<?php echo link_to(__('Konfiguracja'),'stSocialLinksBackend/index')?>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<?php if (sfContext::getInstance()->getUser()->getCulture() == 'pl_PL'): ?>
|
||||
<a href="https://www.sote.pl/docs/linki-spolecznosciowe" target="_blank"><?php echo __('Dokumentacja'); ?></a>
|
||||
<?php else: ?>
|
||||
<a href="https://www.soteshop.com/docs/social_links" target="_blank"><?php echo __('Documentation'); ?></a>
|
||||
<?php endif; ?>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="clr"></div>
|
||||
@@ -0,0 +1,109 @@
|
||||
<?php use_helper('I18N', 'stAdminGenerator', 'stJQueryTools') ?>
|
||||
<?php echo st_get_admin_head('stSocialLinksPlugin', __('Konfiguracja'), array('culture' => $config->getCulture()), array('stAddThisPlugin')) ?>
|
||||
<?php st_view_slot_start('application-menu') ?>
|
||||
<?php st_include_component('stSocialLinksBackend', 'listMenu') ?>
|
||||
<?php st_view_slot_end() ?>
|
||||
<?php // use_stylesheet('backend/stSocialLinksPlugin.css'); ?>
|
||||
|
||||
<?php echo form_tag('stSocialLinksBackend/index?culture='.$config->getCulture(), array('id' => 'sf_admin_config_form', 'name' => 'sf_admin_config_form', 'class' => 'admin_form')) ?>
|
||||
<?php st_include_partial('stAdminGenerator/message', array('i18n_catalogue' => 'stLukasBackend'));?>
|
||||
|
||||
<fieldset>
|
||||
<div class="content">
|
||||
|
||||
<div class="row">
|
||||
<label><?php echo __('Aktywuj');?></label>
|
||||
<div class="field">
|
||||
<?php echo st_admin_checkbox_tag('sociallinks[enable]',true,$config->get('enable')) ?>
|
||||
</div>
|
||||
<br class="st_clear_all" />
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<label><?php echo __('Facebook');?> <img style="margin: -5px 0px;"style="margin: -5px 0px;" src="/images/backend/stSocialLinksPlugin/fb.png" width="24" height="24" class="label_image" /></label>
|
||||
<div class="field">
|
||||
<?php echo input_tag("sociallinks[facebook]", $config->get('facebook', null, true),array("size"=>"60px"))?>
|
||||
</div>
|
||||
<br class="st_clear_all" />
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<label><?php echo __('Twitter');?> <img style="margin: -5px 0px;"src="/images/backend/stSocialLinksPlugin/tweet.png" width="24" height="24" class="label_image" /></label>
|
||||
<div class="field">
|
||||
<?php echo input_tag("sociallinks[twitter]", $config->get('twitter', null, true),array("size"=>"60px"))?>
|
||||
</div>
|
||||
<br class="st_clear_all" />
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row">
|
||||
<label><?php echo __('Youtube');?> <img style="margin: -5px 0px;"src="/images/backend/stSocialLinksPlugin/yt.png" width="24" height="24" class="label_image" /></label>
|
||||
<div class="field">
|
||||
<?php echo input_tag("sociallinks[youtube]", $config->get('youtube', null, true),array("size"=>"60px"))?>
|
||||
</div>
|
||||
<br class="st_clear_all" />
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<label>
|
||||
<?php echo __('Instagram');?> <img style="margin: -5px 0px;"src="/images/backend/stSocialLinksPlugin/instagram.png" width="24" height="24" class="label_image" />
|
||||
</label>
|
||||
|
||||
<div class="field">
|
||||
<?php echo input_tag("sociallinks[instagram]", $config->get('instagram', null, true),array("size"=>"60px"))?>
|
||||
<br class="st_clear_all" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<label>
|
||||
<?php echo __('Pinterest');?> <img style="margin: -5px 0px;"src="/images/backend/stSocialLinksPlugin/pinterest.png" width="24" height="24" class="label_image" />
|
||||
</label>
|
||||
|
||||
<div class="field">
|
||||
<?php echo input_tag("sociallinks[pinterest]", $config->get('pinterest', null, true),array("size"=>"60px"))?>
|
||||
<br class="st_clear_all" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<label>
|
||||
<?php echo __('Allegro');?>
|
||||
<img style="margin: -5px 0px;"src="/images/backend/stSocialLinksPlugin/allegro.png" width="24" height="24" class="label_image" />
|
||||
</label>
|
||||
<div class="field">
|
||||
<?php echo input_tag("sociallinks[allegro]", $config->get('allegro', null, true),array("size"=>"60px"))?>
|
||||
<br class="st_clear_all" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<label>
|
||||
<?php echo __('Newsletter');?>
|
||||
<img style="margin: -5px 0px;"src="/images/backend/stSocialLinksPlugin/newsletter.png" width="24" height="24" class="label_image" />
|
||||
</label>
|
||||
<div class="field">
|
||||
<?php echo st_admin_checkbox_tag('sociallinks[newsletter]',true,$config->get('newsletter')) ?>
|
||||
<br class="st_clear_all" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<br class="st_clear_all" />
|
||||
<div id="edit_actions">
|
||||
<?php echo st_get_admin_actions_head() ?>
|
||||
<?php echo st_get_admin_action('save', __('Zapisz', null, 'stAdminGeneratorPlugin'), null, array('name' => 'save')) ?>
|
||||
<?php echo st_get_admin_actions_foot() ?>
|
||||
</div>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
jQuery(function($) {
|
||||
$(document).ready(function() {
|
||||
$('#edit_actions').stickyBox();
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
<br class="st_clear_all">
|
||||
<?php echo st_get_admin_foot() ?>
|
||||
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
class stSocialLinksFrontendComponents extends sfComponents
|
||||
{
|
||||
public function executeShow()
|
||||
{
|
||||
$config = stConfig::getInstance($this->getContext(), 'stSocialLinksBackend');
|
||||
$config->load();
|
||||
if (!$config->get('enable'))
|
||||
{
|
||||
return sfView::NONE;
|
||||
}
|
||||
$this->config = $config;
|
||||
$this->smarty = new stSmarty('stSocialLinksFrontend');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
st_theme_use_stylesheet('stSocialLinksPlugin.css');
|
||||
|
||||
$smarty->assign("facebook", $config->get('facebook', null, true));
|
||||
$smarty->assign("twitter", $config->get('twitter', null, true));
|
||||
$smarty->assign("youtube", $config->get('youtube', null, true));
|
||||
$smarty->assign("google", null);
|
||||
$smarty->assign("instagram", $config->get('instagram', null, true));
|
||||
$smarty->assign("pinterest", $config->get('pinterest', null, true));
|
||||
$smarty->assign("allegro", $config->get('allegro', null, true));
|
||||
$smarty->assign("newsletter", $config->get('newsletter'));
|
||||
|
||||
$smarty->display("show.html")
|
||||
?>
|
||||
@@ -0,0 +1,44 @@
|
||||
<div id="social" class="list-group col-xs-12 col-sm-3 col-md-3 col-lg-3">
|
||||
|
||||
{if $facebook}
|
||||
<a href="{$facebook}" target="_blank" rel="noopener">
|
||||
<svg data-name="Facebook" height="28" viewBox="0 0 24 24" width="28" xmlns="http://www.w3.org/2000/svg"><path d="M16.75,9H13.5V7a1,1,0,0,1,1-1h2V3H14a4,4,0,0,0-4,4V9H8v3h2v9h3.5V12H16Z"/></svg>
|
||||
</a>
|
||||
{/if}
|
||||
{if $twitter}
|
||||
<a href="{$twitter}" target="_blank" rel="noopener">
|
||||
<svg data-name="Twitter" height="28" viewBox="0 0 24 24" width="28" xmlns="http://www.w3.org/2000/svg"><circle cx="16" cy="8" r="4"/><path d="M12.58331,8.83331C12.37488,8.83331,12,9.26563,12,9.5A8.5,8.5,0,0,1,3.5,18a8.52217,8.52217,0,0,1-1.28479-.1073A11.41717,11.41717,0,0,0,20,8.41663C20,7.681,15.31757,8.83331,12.58331,8.83331Z"/><path d="M12.58331,8.83331a11.385,11.385,0,0,1-8.69452-4.028A3.93758,3.93758,0,0,0,3.35,6.77081,3.9792,3.9792,0,0,0,7.32916,10.75c2.12482,0,5.89844.02264,6.14691-1.96179C13.18054,8.81116,12.8847,8.83331,12.58331,8.83331Z"/><path d="M5.24585,10.04163a3.93437,3.93437,0,0,1-1.88977-.49774c-.00031.02057-.0061.03961-.0061.06024a3.9792,3.9792,0,0,0,3.97919,3.97919c2.19763,0,5.275-1.594,5.275-3.79165C12.60417,8.282,7.42285,10.04163,5.24585,10.04163Z"/><path d="M7.72642,12.99649a3.90991,3.90991,0,0,1-3.02909.52286A3.96636,3.96636,0,0,0,8.49585,16.375a5.25835,5.25835,0,0,0,4.67082-4.66667C13.16667,9.81478,8.82831,12.28888,7.72642,12.99649Z"/><path d="M17.61041,5.37915c-1.32214,0-1.63562,1.6604.075,1.6604a3.96629,3.96629,0,0,0,3.754-2.71222A7.49909,7.49909,0,0,1,17.61041,5.37915Z"/><path d="M18.82916,6.5354a7.52209,7.52209,0,0,1-2.93716-.593c-2.70831-1.14551-4.35526,3.343-.18784,3.343A7.53392,7.53392,0,0,0,22.05579,5.803,7.50268,7.50268,0,0,1,18.82916,6.5354Z"/></svg>
|
||||
</a>
|
||||
{/if}
|
||||
{if $youtube}
|
||||
<a href="{$youtube}" target="_blank" rel="noopener">
|
||||
<svg data-name="Youtube" height="28" viewBox="0 0 24 24" width="28" xmlns="http://www.w3.org/2000/svg"><path d="M21.80731,7.805a2.79915,2.79915,0,0,0-2.54907-2.53906C17.69061,5.13586,15.36707,5,12.50012,5c-3.45251,0-6.05865.14105-7.74353.27332A2.79932,2.79932,0,0,0,2.1925,7.815C2.08936,8.90021,2,10.33344,2,12.0423c0,1.66632.08862,3.07422.19128,4.14594a2.79852,2.79852,0,0,0,2.56384,2.53833C6.43994,18.85883,9.04657,19,12.50012,19c2.86694,0,5.19049-.13586,6.75812-.266a2.799,2.799,0,0,0,2.54907-2.539C21.91052,15.11548,22,13.69189,22,12S21.91052,8.88452,21.80731,7.805ZM9.77594,14.93878V9.06122L15.574,12Z"/></svg>
|
||||
</a>
|
||||
{/if}
|
||||
{if $google}
|
||||
<a href="{$google}" target="_blank" rel="noopener">
|
||||
<svg data-name="Google plus" height="28" viewBox="0 0 24 24" width="28" xmlns="http://www.w3.org/2000/svg"><polygon points="22 10.5 22 8.5 20 8.5 20 10.5 18 10.5 18 12.5 20 12.5 20 14.5 22 14.5 22 12.5 24 12.5 24 10.5 22 10.5"/><path d="M8,10.5v3h4.74561a4.97476,4.97476,0,1,1-1.21008-5.03552l2.12134-2.12134A8.05789,8.05789,0,1,0,15.85461,10.5Z"/></svg>
|
||||
</a>
|
||||
{/if}
|
||||
{if $instagram}
|
||||
<a href="{$instagram}" target="_blank" rel="noopener">
|
||||
<svg enable-background="new 0 0 100 100" height="28px" id="Layer_1" version="1.0" viewBox="0 0 100 100" width="28px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M70,9.999H30c-10.999,0-20,9.001-20,20v40.002c0,10.996,9.001,20,20,20h40c10.999,0,20-9.004,20-20V29.999 C90,19,80.999,9.999,70,9.999z M83.333,70.001c0,7.35-5.979,13.333-13.333,13.333H30c-7.351,0-13.333-5.983-13.333-13.333V29.999 c0-7.352,5.982-13.333,13.333-13.333h40c7.354,0,13.333,5.981,13.333,13.333V70.001z"/><circle cx="71.667" cy="28.332" r="5"/><path d="M50,29.999c-11.048,0-20,8.953-20,20c0,11.043,8.952,20.002,20,20.002c11.045,0,20-8.959,20-20.002 C70,38.952,61.045,29.999,50,29.999z M50,63.334c-7.363,0-13.333-5.97-13.333-13.335S42.637,36.666,50,36.666 s13.333,5.968,13.333,13.333S57.363,63.334,50,63.334z"/></svg>
|
||||
</a>
|
||||
{/if}
|
||||
{if $pinterest}
|
||||
<a href="{$pinterest}" target="_blank" rel="noopener">
|
||||
<svg enable-background="new 0 0 56.693 56.693" height="28px" version="1.1" viewBox="0 0 56.693 56.693" width="28px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M30.374,4.622c-13.586,0-20.437,9.74-20.437,17.864c0,4.918,1.862,9.293,5.855,10.922c0.655,0.27,1.242,0.01,1.432-0.715 c0.132-0.5,0.445-1.766,0.584-2.295c0.191-0.717,0.117-0.967-0.412-1.594c-1.151-1.357-1.888-3.115-1.888-5.607 c0-7.226,5.407-13.695,14.079-13.695c7.679,0,11.898,4.692,11.898,10.957c0,8.246-3.649,15.205-9.065,15.205 c-2.992,0-5.23-2.473-4.514-5.508c0.859-3.623,2.524-7.531,2.524-10.148c0-2.34-1.257-4.292-3.856-4.292 c-3.058,0-5.515,3.164-5.515,7.401c0,2.699,0.912,4.525,0.912,4.525s-3.129,13.26-3.678,15.582 c-1.092,4.625-0.164,10.293-0.085,10.865c0.046,0.34,0.482,0.422,0.68,0.166c0.281-0.369,3.925-4.865,5.162-9.359 c0.351-1.271,2.011-7.859,2.011-7.859c0.994,1.896,3.898,3.562,6.986,3.562c9.191,0,15.428-8.379,15.428-19.595 C48.476,12.521,41.292,4.622,30.374,4.622z"/></svg>
|
||||
</a>
|
||||
{/if}
|
||||
{if $allegro}
|
||||
<a href="{$allegro}" target="_blank" rel="noopener">
|
||||
<svg height="28" style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd" viewBox="0 0 6.82666 6.82666" width="28" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs></defs><g><g id="_306073600"><path class="fil0" d="M3.68863 1.80285l0.750965 0.750969c0.0100236,0.0100236 0.0190354,0.0206811 0.0270433,0.0318504 -0.0451102,0.0214252 -0.086689,0.050563 -0.122803,0.0866732l-0.824906 0.824909c-0.0361102,0.0361102 -0.0652402,0.0776929 -0.0866693,0.122799 -0.0111693,-0.00800787 -0.0218268,-0.0170197 -0.0318465,-0.0270394l-3.93701e-006 -3.93701e-006 -0.750969 -0.750969c-0.0100236,-0.0100236 -0.0190354,-0.0206811 -0.0270433,-0.0318504 0.0451063,-0.0214252 0.086689,-0.0505591 0.122799,-0.0866693l0.824909 -0.824909c0.0361102,-0.0361142 0.065248,-0.0776929 0.0866732,-0.122803 0.0111693,0.00800787 0.0218268,0.0170197 0.0318504,0.0270433z" id="_306267792"/><path class="fil0" d="M2.17474 2.66695l-7.87402e-006 -7.87402e-006c-0.0707244,-0.0707244 -0.106091,-0.16387 -0.106091,-0.256945 0,-0.0930748 0.0353661,-0.18622 0.106091,-0.256945l0.824909 -0.824909c0.0707283,-0.0707283 0.16387,-0.106094 0.256945,-0.106094 0.0930748,0 0.186217,0.0353701 0.256945,0.106098l3.93701e-006 3.93701e-006c0.0707283,0.0707283 0.106098,0.16387 0.106098,0.256945 0,0.0930748 -0.0353661,0.186217 -0.106094,0.256945l-0.824909 0.824909c-0.0707244,0.0707244 -0.16387,0.106091 -0.256945,0.106091 -0.0930748,0 -0.18622,-0.0353661 -0.256945,-0.106091z" id="_306268176"/><path class="fil0" d="M3.83244 4.17381c-0.0927087,0 -0.18548,-0.0350945 -0.256102,-0.105264l-0.000854331 -0.000830709 3.93701e-006 -3.93701e-006c-0.0707283,-0.0707283 -0.106094,-0.163874 -0.106094,-0.256949 0,-0.0930748 0.0353701,-0.186217 0.106094,-0.256941l0.824906 -0.824909c0.0707283,-0.0707283 0.16387,-0.106094 0.256945,-0.106094 0.0922756,0 0.184618,0.0347717 0.255118,0.104287 0.00125984,0.00118504 0.00248819,0.00241339 0.0036811,0.00368504 0.0694921,0.0704961 0.104252,0.162811 0.104252,0.255075 0,0.0930709 -0.0353661,0.186213 -0.106091,0.256941l-3.93701e-006 3.93701e-006 -0.824909 0.824909 -3.93701e-006 3.93701e-006c-0.0707205,0.0707165 -0.163858,0.106087 -0.256941,0.106087z" id="_306268320"/><path class="fil0" d="M3.16546 3.4712l-0.602823 0.602823 3.93701e-006 3.93701e-006c-0.0312402,0.0312402 -0.0818937,0.0312402 -0.113134,0l-0.000287402 -0.000295276 -0.287646 -0.287642 -3.93701e-006 7.87402e-006c-0.0312402,-0.0312402 -0.0312441,-0.0818976 -3.93701e-006,-0.113138l0.000444882 -0.000433071 0.602386 -0.602386 0.401063 0.401059z" id="_306270120"/><path class="fil0" d="M2.25135 3.64961l0.33463 0.33463c0.0498622,0.0498701 0.0747992,0.115504 0.0747992,0.181075 0,0.0655709 -0.0249409,0.131217 -0.0747992,0.181075l-0.961071 0.961071c-0.0498661,0.0498661 -0.115504,0.0748031 -0.181079,0.0748031 -0.0655709,0 -0.131217,-0.0249409 -0.181075,-0.0747992l-0.33463 -0.33463c-0.0496535,-0.0496535 -0.0744882,-0.115311 -0.0744843,-0.181075l-0.000311024 0c0,-0.0655709 0.0249409,-0.131217 0.0747992,-0.181075l0.961071 -0.961075c0.0498622,-0.0498622 0.115504,-0.0747953 0.181075,-0.0747953 0.0655748,0 0.131213,0.0249331 0.181075,0.0747953z" id="_306074704"/><path class="fil0" d="M3.52172 4.98099l2.37161 0c0.0441811,0 0.08,0.0358189 0.08,0.08l0 0.463622c0,0.0441811 -0.0358189,0.08 -0.08,0.08l-2.37161 0c-0.0441811,0 -0.08,-0.0358189 -0.08,-0.08l0 -0.463622c0,-0.0441811 0.0358189,-0.08 0.08,-0.08z" id="_306074248"/><path class="fil0" d="M3.85185 4.90099l0 -0.303626c0,-0.0441811 0.0358189,-0.08 0.08,-0.08l1.55135 0c0.0441811,0 0.08,0.0358189 0.08,0.08l0 0.303626 -1.71135 0z" id="_306074104"/></g></g>
|
||||
</a>
|
||||
{/if}
|
||||
{slot name="social-links" hidden="true"}{/slot}
|
||||
{if $newsletter}
|
||||
<a href="/newsletter/add">
|
||||
<svg width="24" height="29" style="enable-background:new 0 0 84.629 52;" version="1.1" viewBox="0 0 84.629 52" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g><g><path d="M41.017,39.66c0.268,0.264,0.623,0.41,0.999,0.41c0.384,0,0.743-0.15,1.013-0.423L81.327,0.644 C81.08,0.571,80.819,0.34,80.548,0.34H2.582c-0.3,0-0.588,0.24-0.859,0.329c0.04,0.053,0.08,0.202,0.128,0.25L41.017,39.66z"/><path d="M44.903,41.497c-0.768,0.779-1.794,1.207-2.887,1.207c-1.073,0-2.085-0.415-2.849-1.169L0.001,2.889 C-0.026,2.862,0.53,2.833,0.503,2.805C0.452,3.015,1,3.233,1,3.459v45.937c0,1.513,0.069,2.944,1.582,2.944h77.966 c1.513,0,4.452-1.431,4.452-2.944V3.459c0-0.262-0.895-0.514-0.964-0.754L44.903,41.497z"/></g></g><g/></svg>
|
||||
</a>
|
||||
{/if}
|
||||
</div>
|
||||
@@ -0,0 +1,44 @@
|
||||
<div class="social">
|
||||
{if $facebook}
|
||||
<a href="{$facebook}" target="_blank" rel="noopener">
|
||||
<img class="top" src="{image_path image='social/facebook.png'}" alt="Facebook" width="37" height="37"/>
|
||||
<img class="bottom" src="{image_path image='social/facebook-white.png'}" alt="Facebook" width="37" height="37"/>
|
||||
</a>
|
||||
{/if}
|
||||
{if $twitter}
|
||||
<a href="{$twitter}" target="_blank" rel="noopener">
|
||||
<img class="top" src="{image_path image='social/twitter.png'}" alt="Twitter" width="37" height="37"/>
|
||||
<img class="bottom" src="{image_path image='social/twitter-white.png'}" alt="Twitter" width="37" height="37"/>
|
||||
</a>
|
||||
{/if}
|
||||
{if $youtube}
|
||||
<a href="{$youtube}" target="_blank" rel="noopener">
|
||||
<img class="top" src="{image_path image='social/youtube.png'}" alt="Youtube" width="37" height="37"/>
|
||||
<img class="bottom" src="{image_path image='social/youtube-white.png'}" alt="Youtube" width="37" height="37"/>
|
||||
</a>
|
||||
{/if}
|
||||
{if $instagram}
|
||||
<a href="{$instagram}" target="_blank" rel="noopener">
|
||||
<img class="top" src="{image_path image='social/instagram.png'}" alt="Instagram" width="37" height="37"/>
|
||||
<img class="bottom" src="{image_path image='social/instagram-white.png'}" alt="Instagram" width="37" height="37"/>
|
||||
</a>
|
||||
{/if}
|
||||
{if $pinterest}
|
||||
<a href="{$pinterest}" target="_blank" rel="noopener">
|
||||
<img class="top" src="{image_path image='social/pinterest.png'}" alt="Pinterest" width="37" height="37"/>
|
||||
<img class="bottom" src="{image_path image='social/pinterest-white.png'}" alt="Pinterest" width="37" height="37"/>
|
||||
</a>
|
||||
{/if}
|
||||
{if $allegro}
|
||||
<a href="{$allegro}" target="_blank" rel="noopener">
|
||||
<img class="top" src="{image_path image='social/allegrolink.png'}" alt="Allegro" width="37" height="37"/>
|
||||
<img class="bottom" src="{image_path image='social/allegrolink-white.png'}" alt="Allegro" width="37" height="37"/>
|
||||
</a>
|
||||
{/if}
|
||||
{if $newsletter}
|
||||
<a href="/newsletter/add">
|
||||
<img class="top" src="{image_path image='social/newsletter.png'}" alt="Newsletter" width="37" height="37"/>
|
||||
<img class="bottom" src="{image_path image='social/newsletter-white.png'}" alt="Newsletter" width="37" height="37"/>
|
||||
</a>
|
||||
{/if}
|
||||
</div>
|
||||
@@ -0,0 +1,41 @@
|
||||
<div id="social" class="list-group col-xs-12 col-sm-3 col-md-3 col-lg-3">
|
||||
{if $newsletter}
|
||||
{st_get_component module="stNewsletterFrontend" component="newsletter"}
|
||||
{/if}
|
||||
{if $facebook}
|
||||
<a href="{$facebook}" target="_blank" rel="noopener">
|
||||
<svg data-name="Facebook" height="28" viewBox="0 0 24 24" width="28" xmlns="http://www.w3.org/2000/svg"><path d="M16.75,9H13.5V7a1,1,0,0,1,1-1h2V3H14a4,4,0,0,0-4,4V9H8v3h2v9h3.5V12H16Z"/></svg>
|
||||
</a>
|
||||
{/if}
|
||||
{if $twitter}
|
||||
<a href="{$twitter}" target="_blank" rel="noopener">
|
||||
<svg data-name="Twitter" height="28" viewBox="0 0 24 24" width="28" xmlns="http://www.w3.org/2000/svg"><circle cx="16" cy="8" r="4"/><path d="M12.58331,8.83331C12.37488,8.83331,12,9.26563,12,9.5A8.5,8.5,0,0,1,3.5,18a8.52217,8.52217,0,0,1-1.28479-.1073A11.41717,11.41717,0,0,0,20,8.41663C20,7.681,15.31757,8.83331,12.58331,8.83331Z"/><path d="M12.58331,8.83331a11.385,11.385,0,0,1-8.69452-4.028A3.93758,3.93758,0,0,0,3.35,6.77081,3.9792,3.9792,0,0,0,7.32916,10.75c2.12482,0,5.89844.02264,6.14691-1.96179C13.18054,8.81116,12.8847,8.83331,12.58331,8.83331Z"/><path d="M5.24585,10.04163a3.93437,3.93437,0,0,1-1.88977-.49774c-.00031.02057-.0061.03961-.0061.06024a3.9792,3.9792,0,0,0,3.97919,3.97919c2.19763,0,5.275-1.594,5.275-3.79165C12.60417,8.282,7.42285,10.04163,5.24585,10.04163Z"/><path d="M7.72642,12.99649a3.90991,3.90991,0,0,1-3.02909.52286A3.96636,3.96636,0,0,0,8.49585,16.375a5.25835,5.25835,0,0,0,4.67082-4.66667C13.16667,9.81478,8.82831,12.28888,7.72642,12.99649Z"/><path d="M17.61041,5.37915c-1.32214,0-1.63562,1.6604.075,1.6604a3.96629,3.96629,0,0,0,3.754-2.71222A7.49909,7.49909,0,0,1,17.61041,5.37915Z"/><path d="M18.82916,6.5354a7.52209,7.52209,0,0,1-2.93716-.593c-2.70831-1.14551-4.35526,3.343-.18784,3.343A7.53392,7.53392,0,0,0,22.05579,5.803,7.50268,7.50268,0,0,1,18.82916,6.5354Z"/></svg>
|
||||
</a>
|
||||
{/if}
|
||||
{if $youtube}
|
||||
<a href="{$youtube}" target="_blank" rel="noopener">
|
||||
<svg data-name="Youtube" height="28" viewBox="0 0 24 24" width="28" xmlns="http://www.w3.org/2000/svg"><path d="M21.80731,7.805a2.79915,2.79915,0,0,0-2.54907-2.53906C17.69061,5.13586,15.36707,5,12.50012,5c-3.45251,0-6.05865.14105-7.74353.27332A2.79932,2.79932,0,0,0,2.1925,7.815C2.08936,8.90021,2,10.33344,2,12.0423c0,1.66632.08862,3.07422.19128,4.14594a2.79852,2.79852,0,0,0,2.56384,2.53833C6.43994,18.85883,9.04657,19,12.50012,19c2.86694,0,5.19049-.13586,6.75812-.266a2.799,2.799,0,0,0,2.54907-2.539C21.91052,15.11548,22,13.69189,22,12S21.91052,8.88452,21.80731,7.805ZM9.77594,14.93878V9.06122L15.574,12Z"/></svg>
|
||||
</a>
|
||||
{/if}
|
||||
{if $google}
|
||||
<a href="{$google}" target="_blank" rel="noopener">
|
||||
<svg data-name="Google plus" height="28" viewBox="0 0 24 24" width="28" xmlns="http://www.w3.org/2000/svg"><polygon points="22 10.5 22 8.5 20 8.5 20 10.5 18 10.5 18 12.5 20 12.5 20 14.5 22 14.5 22 12.5 24 12.5 24 10.5 22 10.5"/><path d="M8,10.5v3h4.74561a4.97476,4.97476,0,1,1-1.21008-5.03552l2.12134-2.12134A8.05789,8.05789,0,1,0,15.85461,10.5Z"/></svg>
|
||||
</a>
|
||||
{/if}
|
||||
{if $instagram}
|
||||
<a href="{$instagram}" target="_blank" rel="noopener">
|
||||
<svg enable-background="new 0 0 100 100" height="28px" id="Layer_1" version="1.0" viewBox="0 0 100 100" width="28px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M70,9.999H30c-10.999,0-20,9.001-20,20v40.002c0,10.996,9.001,20,20,20h40c10.999,0,20-9.004,20-20V29.999 C90,19,80.999,9.999,70,9.999z M83.333,70.001c0,7.35-5.979,13.333-13.333,13.333H30c-7.351,0-13.333-5.983-13.333-13.333V29.999 c0-7.352,5.982-13.333,13.333-13.333h40c7.354,0,13.333,5.981,13.333,13.333V70.001z"/><circle cx="71.667" cy="28.332" r="5"/><path d="M50,29.999c-11.048,0-20,8.953-20,20c0,11.043,8.952,20.002,20,20.002c11.045,0,20-8.959,20-20.002 C70,38.952,61.045,29.999,50,29.999z M50,63.334c-7.363,0-13.333-5.97-13.333-13.335S42.637,36.666,50,36.666 s13.333,5.968,13.333,13.333S57.363,63.334,50,63.334z"/></svg>
|
||||
</a>
|
||||
{/if}
|
||||
{if $pinterest}
|
||||
<a href="{$pinterest}" target="_blank" rel="noopener">
|
||||
<svg enable-background="new 0 0 56.693 56.693" height="28px" version="1.1" viewBox="0 0 56.693 56.693" width="28px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M30.374,4.622c-13.586,0-20.437,9.74-20.437,17.864c0,4.918,1.862,9.293,5.855,10.922c0.655,0.27,1.242,0.01,1.432-0.715 c0.132-0.5,0.445-1.766,0.584-2.295c0.191-0.717,0.117-0.967-0.412-1.594c-1.151-1.357-1.888-3.115-1.888-5.607 c0-7.226,5.407-13.695,14.079-13.695c7.679,0,11.898,4.692,11.898,10.957c0,8.246-3.649,15.205-9.065,15.205 c-2.992,0-5.23-2.473-4.514-5.508c0.859-3.623,2.524-7.531,2.524-10.148c0-2.34-1.257-4.292-3.856-4.292 c-3.058,0-5.515,3.164-5.515,7.401c0,2.699,0.912,4.525,0.912,4.525s-3.129,13.26-3.678,15.582 c-1.092,4.625-0.164,10.293-0.085,10.865c0.046,0.34,0.482,0.422,0.68,0.166c0.281-0.369,3.925-4.865,5.162-9.359 c0.351-1.271,2.011-7.859,2.011-7.859c0.994,1.896,3.898,3.562,6.986,3.562c9.191,0,15.428-8.379,15.428-19.595 C48.476,12.521,41.292,4.622,30.374,4.622z"/></svg>
|
||||
</a>
|
||||
{/if}
|
||||
{if $allegro}
|
||||
<a href="{$allegro}" target="_blank" rel="noopener">
|
||||
<svg height="28" style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd" viewBox="0 0 6.82666 6.82666" width="28" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs></defs><g><g id="_306073600"><path class="fil0" d="M3.68863 1.80285l0.750965 0.750969c0.0100236,0.0100236 0.0190354,0.0206811 0.0270433,0.0318504 -0.0451102,0.0214252 -0.086689,0.050563 -0.122803,0.0866732l-0.824906 0.824909c-0.0361102,0.0361102 -0.0652402,0.0776929 -0.0866693,0.122799 -0.0111693,-0.00800787 -0.0218268,-0.0170197 -0.0318465,-0.0270394l-3.93701e-006 -3.93701e-006 -0.750969 -0.750969c-0.0100236,-0.0100236 -0.0190354,-0.0206811 -0.0270433,-0.0318504 0.0451063,-0.0214252 0.086689,-0.0505591 0.122799,-0.0866693l0.824909 -0.824909c0.0361102,-0.0361142 0.065248,-0.0776929 0.0866732,-0.122803 0.0111693,0.00800787 0.0218268,0.0170197 0.0318504,0.0270433z" id="_306267792"/><path class="fil0" d="M2.17474 2.66695l-7.87402e-006 -7.87402e-006c-0.0707244,-0.0707244 -0.106091,-0.16387 -0.106091,-0.256945 0,-0.0930748 0.0353661,-0.18622 0.106091,-0.256945l0.824909 -0.824909c0.0707283,-0.0707283 0.16387,-0.106094 0.256945,-0.106094 0.0930748,0 0.186217,0.0353701 0.256945,0.106098l3.93701e-006 3.93701e-006c0.0707283,0.0707283 0.106098,0.16387 0.106098,0.256945 0,0.0930748 -0.0353661,0.186217 -0.106094,0.256945l-0.824909 0.824909c-0.0707244,0.0707244 -0.16387,0.106091 -0.256945,0.106091 -0.0930748,0 -0.18622,-0.0353661 -0.256945,-0.106091z" id="_306268176"/><path class="fil0" d="M3.83244 4.17381c-0.0927087,0 -0.18548,-0.0350945 -0.256102,-0.105264l-0.000854331 -0.000830709 3.93701e-006 -3.93701e-006c-0.0707283,-0.0707283 -0.106094,-0.163874 -0.106094,-0.256949 0,-0.0930748 0.0353701,-0.186217 0.106094,-0.256941l0.824906 -0.824909c0.0707283,-0.0707283 0.16387,-0.106094 0.256945,-0.106094 0.0922756,0 0.184618,0.0347717 0.255118,0.104287 0.00125984,0.00118504 0.00248819,0.00241339 0.0036811,0.00368504 0.0694921,0.0704961 0.104252,0.162811 0.104252,0.255075 0,0.0930709 -0.0353661,0.186213 -0.106091,0.256941l-3.93701e-006 3.93701e-006 -0.824909 0.824909 -3.93701e-006 3.93701e-006c-0.0707205,0.0707165 -0.163858,0.106087 -0.256941,0.106087z" id="_306268320"/><path class="fil0" d="M3.16546 3.4712l-0.602823 0.602823 3.93701e-006 3.93701e-006c-0.0312402,0.0312402 -0.0818937,0.0312402 -0.113134,0l-0.000287402 -0.000295276 -0.287646 -0.287642 -3.93701e-006 7.87402e-006c-0.0312402,-0.0312402 -0.0312441,-0.0818976 -3.93701e-006,-0.113138l0.000444882 -0.000433071 0.602386 -0.602386 0.401063 0.401059z" id="_306270120"/><path class="fil0" d="M2.25135 3.64961l0.33463 0.33463c0.0498622,0.0498701 0.0747992,0.115504 0.0747992,0.181075 0,0.0655709 -0.0249409,0.131217 -0.0747992,0.181075l-0.961071 0.961071c-0.0498661,0.0498661 -0.115504,0.0748031 -0.181079,0.0748031 -0.0655709,0 -0.131217,-0.0249409 -0.181075,-0.0747992l-0.33463 -0.33463c-0.0496535,-0.0496535 -0.0744882,-0.115311 -0.0744843,-0.181075l-0.000311024 0c0,-0.0655709 0.0249409,-0.131217 0.0747992,-0.181075l0.961071 -0.961075c0.0498622,-0.0498622 0.115504,-0.0747953 0.181075,-0.0747953 0.0655748,0 0.131213,0.0249331 0.181075,0.0747953z" id="_306074704"/><path class="fil0" d="M3.52172 4.98099l2.37161 0c0.0441811,0 0.08,0.0358189 0.08,0.08l0 0.463622c0,0.0441811 -0.0358189,0.08 -0.08,0.08l-2.37161 0c-0.0441811,0 -0.08,-0.0358189 -0.08,-0.08l0 -0.463622c0,-0.0441811 0.0358189,-0.08 0.08,-0.08z" id="_306074248"/><path class="fil0" d="M3.85185 4.90099l0 -0.303626c0,-0.0441811 0.0358189,-0.08 0.08,-0.08l1.55135 0c0.0441811,0 0.08,0.0358189 0.08,0.08l0 0.303626 -1.71135 0z" id="_306074104"/></g></g>
|
||||
</a>
|
||||
{/if}
|
||||
{slot name="social-links" hidden="true"}{/slot}
|
||||
</div>
|
||||
@@ -0,0 +1,79 @@
|
||||
{literal}
|
||||
<script type='text/javascript'>
|
||||
jQuery(document).ready(function($){
|
||||
|
||||
var heightSocial = $('#social_foot').height();
|
||||
$('#webpage_groups').css('min-height', heightSocial + 40);
|
||||
|
||||
$("#social a").hover(
|
||||
function() {
|
||||
$(this).stop().find(".a").animate({"opacity": "0"}, "100");
|
||||
$(this).stop().find(".b").animate({"opacity": "1"}, "100");
|
||||
},
|
||||
function() {
|
||||
$(this).stop().find(".a").animate({"opacity": "1"}, "400");
|
||||
$(this).stop().find(".b").animate({"opacity": "0"}, "400");
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
<div id="social">
|
||||
{slot name="social_links" hidden="true"}{/slot}
|
||||
{if $facebook}
|
||||
<div class="fb_foot">
|
||||
<a href="{$facebook}" target="_blank">
|
||||
<img src="{image_path image='social/fb_bw.png'}" alt=" " class="a" width="32" height="32"/>
|
||||
<img src="{image_path image='social/fb.png'}" alt=" " class="b" width="32" height="32"/>
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
{if $twitter}
|
||||
<div class="tweet_foot">
|
||||
<a href="{$twitter}" target="_blank">
|
||||
<img src="{image_path image='social/tweet_bw.png'}" alt=" " class="a" width="32" height="32"/>
|
||||
<img src="{image_path image='social/tweet.png'}" alt=" " class="b" width="32" height="32"/>
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
{if $youtube}
|
||||
<div class="yt_foot">
|
||||
<a href="{$youtube}" target="_blank">
|
||||
<img src="{image_path image='social/yt_bw.png'}" alt=" " class="a" width="32" height="32"/>
|
||||
<img src="{image_path image='social/yt.png'}" alt=" " class="b" width="32" height="32"/>
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
{if $instagram}
|
||||
<div class="instagram_foot">
|
||||
<a href="{$instagram}" target="_blank">
|
||||
<img src="{image_path image='social/instagram_bw.png'}" alt=" " class="a" width="32" height="32"/>
|
||||
<img src="{image_path image='social/instagram.png'}" alt=" " class="b" width="32" height="32"/>
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
{if $pinterest}
|
||||
<div class="gpinterest_foot">
|
||||
<a href="{$pinterest}" target="_blank">
|
||||
<img src="{image_path image='social/pinterest_bw.png'}" alt=" " class="a" width="32" height="32"/>
|
||||
<img src="{image_path image='social/pinterest.png'}" alt=" " class="b" width="32" height="32"/>
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
{if $allegro}
|
||||
<div class="allegro_foot">
|
||||
<a href="{$allegro}" target="_blank">
|
||||
<img src="{image_path image='social/allegro_bw.png'}" alt=" " class="a" width="32" height="32"/>
|
||||
<img src="{image_path image='social/allegro.png'}" alt=" " class="b" width="32" height="32"/>
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
{if $newsletter}
|
||||
<div class="newsletter_foot">
|
||||
<a href="/newsletter/add">
|
||||
<img src="{image_path image='social/newsletter_bw.png'}" alt=" " class="a" width="32" height="32"/>
|
||||
<img src="{image_path image='social/newsletter.png'}" alt=" " class="b" width="32" height="32"/>
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
@@ -0,0 +1,44 @@
|
||||
<div id="social" class="list-group col-xs-12 col-sm-3 col-md-3 col-lg-3">
|
||||
<h5>{__ text="Znajdź nas na" langCatalogue="stSocialLinksFrontend"}</h5>
|
||||
{if $facebook}
|
||||
<a href="{$facebook}" target="_blank" rel="noopener">
|
||||
<img src="{image_path image='social/facebook.png'}" alt=" " width="37" height="37"/>
|
||||
</a>
|
||||
{/if}
|
||||
{if $twitter}
|
||||
<a href="{$twitter}" target="_blank" rel="noopener">
|
||||
<img src="{image_path image='social/twitter.png'}" alt=" " width="37" height="37"/>
|
||||
</a>
|
||||
{/if}
|
||||
{if $youtube}
|
||||
<a href="{$youtube}" target="_blank" rel="noopener">
|
||||
<img src="{image_path image='social/youtube.png'}" alt=" " width="37" height="37"/>
|
||||
</a>
|
||||
{/if}
|
||||
{if $google}
|
||||
<a href="{$google}" target="_blank" rel="noopener">
|
||||
<img src="{image_path image='social/google-plus.png'}" alt=" " width="37" height="37"/>
|
||||
</a>
|
||||
{/if}
|
||||
{if $instagram}
|
||||
<a href="{$instagram}" target="_blank" rel="noopener">
|
||||
<img src="{image_path image='social/instagram.png'}" alt=" " width="37" height="37"/>
|
||||
</a>
|
||||
{/if}
|
||||
{if $pinterest}
|
||||
<a href="{$pinterest}" target="_blank" rel="noopener">
|
||||
<img src="{image_path image='social/pinterest.png'}" alt=" " width="37" height="37"/>
|
||||
</a>
|
||||
{/if}
|
||||
{if $allegro}
|
||||
<a href="{$allegro}" target="_blank" rel="noopener">
|
||||
<img src="{image_path image='social/allegrolink.png'}" alt=" " width="37" height="37"/>
|
||||
</a>
|
||||
{/if}
|
||||
{slot name="social-links" hidden="true"}{/slot}
|
||||
{if $newsletter}
|
||||
<a href="/newsletter/add">
|
||||
<img src="{image_path image='social/newsletter.png'}" alt=" " width="37" height="37"/>
|
||||
</a>
|
||||
{/if}
|
||||
</div>
|
||||
@@ -0,0 +1,43 @@
|
||||
<div id="social" class="col-xs-12 col-sm-3 col-md-3 col-lg-3">
|
||||
{if $facebook}
|
||||
<a href="{$facebook}" target="_blank" rel="noopener">
|
||||
<img src="{image_path image='social/facebook.png'}" alt=" " width="32" height="32"/>
|
||||
</a>
|
||||
{/if}
|
||||
{if $twitter}
|
||||
<a href="{$twitter}" target="_blank" rel="noopener">
|
||||
<img src="{image_path image='social/twitter.png'}" alt=" " width="32" height="32"/>
|
||||
</a>
|
||||
{/if}
|
||||
{if $youtube}
|
||||
<a href="{$youtube}" target="_blank" rel="noopener">
|
||||
<img src="{image_path image='social/youtube.png'}" alt=" " width="32" height="32"/>
|
||||
</a>
|
||||
{/if}
|
||||
{if $google}
|
||||
<a href="{$google}" target="_blank" rel="noopener">
|
||||
<img src="{image_path image='social/google-plus.png'}" alt=" " width="32" height="32"/>
|
||||
</a>
|
||||
{/if}
|
||||
{if $instagram}
|
||||
<a href="{$instagram}" target="_blank" rel="noopener">
|
||||
<img src="{image_path image='social/instagram.png'}" alt=" " width="32" height="32"/>
|
||||
</a>
|
||||
{/if}
|
||||
{if $pinterest}
|
||||
<a href="{$pinterest}" target="_blank" rel="noopener">
|
||||
<img src="{image_path image='social/pinterest.png'}" alt=" " width="32" height="32"/>
|
||||
</a>
|
||||
{/if}
|
||||
{if $allegro}
|
||||
<a href="{$allegro}" target="_blank" rel="noopener">
|
||||
<img src="{image_path image='social/allegrolink.png'}" alt=" " width="32" height="32"/>
|
||||
</a>
|
||||
{/if}
|
||||
{slot name="social-links" hidden="true"}{/slot}
|
||||
{if $newsletter}
|
||||
<a href="/newsletter/add">
|
||||
<img src="{image_path image='social/newsletter.png'}" alt=" " width="32" height="32"/>
|
||||
</a>
|
||||
{/if}
|
||||
</div>
|
||||
@@ -0,0 +1,55 @@
|
||||
<div class="social">
|
||||
<div class="h5">Social media</div>
|
||||
<div class="space"></div>
|
||||
<div class="icons">
|
||||
{if $facebook}
|
||||
<a href="{$facebook}" target="_blank" rel="noopener">
|
||||
<img class="top" src="{image_path image='social/facebook.png'}" alt=" " width="37" height="37"/>
|
||||
<img class="bottom" src="{image_path image='social/facebook-white.png'}" alt=" " width="37" height="37"/>
|
||||
<span class="txt">Facebook</span>
|
||||
</a>
|
||||
{/if}
|
||||
{if $twitter}
|
||||
<a href="{$twitter}" target="_blank" rel="noopener">
|
||||
<img class="top" src="{image_path image='social/twitter.png'}" alt=" " width="37" height="37"/>
|
||||
<img class="bottom" src="{image_path image='social/twitter-white.png'}" alt=" " width="37" height="37"/>
|
||||
<span class="txt">Twitter</span>
|
||||
</a>
|
||||
{/if}
|
||||
{if $youtube}
|
||||
<a href="{$youtube}" target="_blank" rel="noopener">
|
||||
<img class="top" src="{image_path image='social/youtube.png'}" alt=" " width="37" height="37"/>
|
||||
<img class="bottom" src="{image_path image='social/youtube-white.png'}" alt=" " width="37" height="37"/>
|
||||
<span class="txt">Youtube</span>
|
||||
</a>
|
||||
{/if}
|
||||
{if $instagram}
|
||||
<a href="{$instagram}" target="_blank" rel="noopener">
|
||||
<img class="top" src="{image_path image='social/instagram.png'}" alt=" " width="37" height="37"/>
|
||||
<img class="bottom" src="{image_path image='social/instagram-white.png'}" alt=" " width="37" height="37"/>
|
||||
<span class="txt">Instagram</span>
|
||||
</a>
|
||||
{/if}
|
||||
{if $pinterest}
|
||||
<a href="{$pinterest}" target="_blank" rel="noopener">
|
||||
<img class="top" src="{image_path image='social/pinterest.png'}" alt=" " width="37" height="37"/>
|
||||
<img class="bottom" src="{image_path image='social/pinterest-white.png'}" alt=" " width="37" height="37"/>
|
||||
<span class="txt">Pinterest</span>
|
||||
</a>
|
||||
{/if}
|
||||
{if $allegro}
|
||||
<a href="{$allegro}" target="_blank" rel="noopener">
|
||||
<img class="top" src="{image_path image='social/allegrolink.png'}" alt=" " width="37" height="37"/>
|
||||
<img class="bottom" src="{image_path image='social/allegrolink-white.png'}" alt=" " width="37" height="37"/>
|
||||
<span class="txt">Allegro</span>
|
||||
</a>
|
||||
{/if}
|
||||
{if $newsletter}
|
||||
<a href="/newsletter/add">
|
||||
<img class="top" src="{image_path image='social/newsletter.png'}" alt=" " width="37" height="37"/>
|
||||
<img class="bottom" src="{image_path image='social/newsletter-white.png'}" alt=" " width="37" height="37"/>
|
||||
<span class="txt">Newsletter</span>
|
||||
</a>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user