seeder edited && create block adv details page

This commit is contained in:
vedatakd 2019-10-04 17:57:59 +03:00
parent 442db22843
commit e8b6218d7f
12 changed files with 566 additions and 870 deletions

View File

@ -35,25 +35,11 @@
<div class="row">
<!-- carousel -->
<div class="col-md-7 slider-box">
<div class="fotorama"
data-width="700"
data-ratio="3/2"
data-nav="thumbs"
data-thumbheight="48">
{% set advPhoto = '' %}
{% if count(adv.files) == 0 %}
{% set advPhoto = img('theme::images/no-image.png').url %}
<a href="{{ image }}"><img src="{{ img('theme::images/no-image.png').url }}"></a>
{% else %}
{% for image in adv.getViewPhotoUrl %}
<a href="{{ image }}"><img src="{{ image }}"></a>
{% if loop.index == 1 %}
{% set advPhoto = image %}
{% endif %}
{% endfor %}
{% endif %}
</div>
{% if blocks('ad-item-picture-block-area') is null %}
{% include "visiosoft.module.advs::advs/partials/blocks/ads-item-picture-block" %}
{% else %}
{{ blocks('ad-item-picture-block-area') }}
{% endif %}
</div><!-- Controls -->
<!-- slider-text -->
@ -116,114 +102,11 @@
</div>
</div>
{% endif %}
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 offered-field offered-row">
{% if entries('advs').isEnabled('favs') %}
<a id="owner-fav" href="#"><i id="heart-icon-seller" class="far fa-heart"></i></a>
{% endif %}
<span class="icon">{{ trans('visiosoft.module.advs::field.offered_by') }}:
<a id="owner"
href="{{ url_route('visiosoft.module.advs::list_user_ad', [adv.created_by_id]) }}"
data-content="{{ adv.owner_id }}">{{ adv.owner }}</a>
</span>
<span class="icon"> {{ trans('visiosoft.module.advs::field.ad_id') }}:
<a href="#" id="adv_id" class="time">{{ adv.id }}</a>
</span>
</div>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 offered-field offered-row">
<span class="icon"><i class="far fa-clock"></i><a
href="#">{{ adv.created_at|date('d/m/Y') }}</a></span>
{% if setting_value('visiosoft.module.location::detail_page_location') %}
<span class="icon"><i class="fa fa-map-marker"></i><a href="#">{{ adv.city_name }}
, {{ adv.country_name }}</a></span>
{% endif %}
{% if adv.isCorporate == 2 %}
<span class="icon"><i class="fa fa-suitcase"></i><a
href="{{ url_route('visiosoft.module.advs::list_user_ad', [adv.created_by_id]) }}">{{ adv.owner }}</a></span>
{% endif %}
</div>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 offered-field offered-row">
{% if entries('advs').isEnabled('comparisons') %}
{% include "visiosoft.module.comparisons::comparebtn" %}
<span class="icon">{{ trans('visiosoft.module.comparisons::field.comparisonpagetitle') }}</span>
{% endif %}
</div>
{% if(adv.video_url != null) %}
<div class="contact-with">
<h4>{{ trans('visiosoft.module.cloudinary::field.video') }}</h4>
<a class="btn btn-success" onclick="openVideo()"><i class="fa fa-file-video-o"
aria-hidden="true"></i> {{ trans('visiosoft.module.cloudinary::field.video') }}
</a>
<div class="modal fade" id="adv-video" tabindex="-1" role="dialog"
aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="close-modal text-right">
<button type="button" class="btn btn-danger" data-dismiss="modal">X
</button>
</div>
<div class="modal-body">
<video controls loop class="img-responsive"
style="text-align: center; width: 100%">
<source src="{{ adv.video_url }}" class="video-src"
type="video/mp4"/>
</video>
</div>
</div>
</div>
</div>
</div>
{% if blocks('ad-item-details-block-area') is null %}
{% include "visiosoft.module.advs::advs/partials/blocks/ads-item-details-block" %}
{% else %}
{{ blocks('ad-item-details-block-area') }}
{% endif %}
{% if(profile.getObject().gsm_phone is not null or profile.office_phone is not null or entries('advs').isEnabled('messages')) %}
<!-- contact-with -->
<div class="contact-with">
<h4> {{ trans('visiosoft.module.advs::field.contact_with') }}</h4>
{% if(profile.getObject().gsm_phone != null) %}
<span class="btn btn-red show-number" data-id="{{ adv.id }}">
<i class="fa fa-phone-square"></i>
<span class="hide-text">{{ trans('visiosoft.module.advs::field.click_phone') }} </span>
<span class="hide-number">{{ trans("visiosoft.module.advs::field.phone_gsm") }}
: {{ profile.getObject().gsm_phone }}
{% if profile.office_phone != null and profile.office_phone != "" %}
<br>
{{ trans("visiosoft.module.advs::field.phone_office") }}: {{ profile.office_phone }}
{% endif %}
</span>
</span>
{% endif %}
{% if entries('advs').isEnabled('messages') %}
<a data-content="{{ app.auth.id }}" id="message" class="btn"><i
class="fa fa-envelope-square"></i>{{ trans("visiosoft.module.advs::field.send_message") }}
</a>
{% endif %}
</div><!-- contact-with -->
{% endif %}
{% if adv_detail_place_code %}
<div>
{{ adv_detail_place_code }}
</div>
{% endif %}
<!-- social-links -->
<div class="social-links">
<h4>{{ trans('visiosoft.module.advs::field.share') }}</h4>
<ul class="list-inline">
<li><a target="_blank"
href="https://www.facebook.com/sharer/sharer.php?u={{ app.request.uri }}"><i
class="fab fa-facebook-square"></i></a></li>
<li><a target="_blank"
href="https://twitter.com/intent/tweet?text={{ app.request.uri }}"><i
class="fab fa-twitter-square"></i></a></li>
<li><a target="_blank" href="https://wa.me/?text={{ app.request.uri }}"><i
class="fab fa-whatsapp"></i></a></li>
<li><a target="_blank"
href="https://www.linkedin.com/shareArticle?mini=true&url={{ app.request.uri }}"><i
class="fab fa-linkedin"></i></a></li>
</ul>
</div><!-- social-links -->
</div>
</div><!-- slider-text -->
</div>
@ -237,139 +120,16 @@
</div><!-- slider -->
<div class="description-info">
<div class="row">
<!-- description -->
<div class="col-md-8">
<div class="description">
<ul class="nav nav-tabs">
<li class="active"><a data-toggle="tab"
href="#description">{{ trans('visiosoft.module.advs::field.description.name') }}</a>
</li>
{% if features != null %}
<li class=""><a data-toggle="tab"
href="#features">{{ trans('visiosoft.module.advs::field.features') }}</a>
</li>
{% endif %}
{% if entries('advs').isEnabled('streetview') and adv.map_Val != "" %}
<li class=""><a data-toggle="tab" href="#streetviewtab"
id="streetviewlink">{{ trans('visiosoft.module.advs::field.streetview') }}</a>
</li>
{% endif %}
{% if entries('advs').isEnabled('comments') %}
<li class=""><a data-toggle="tab" href="#commenttab"
id="">{{ trans('visiosoft.module.comments::field.comment') }}</a>
</li>
{% endif %}
{% if entries('advs').isEnabled('pricehistory') %}
{% include "visiosoft.module.pricehistory::tab" %}
{% endif %}
</ul>
<div class="tab-content">
<div id="description" class="tab-pane fade in active">
<div class="description">
<h4>{{ trans('visiosoft.module.advs::field.description.name') }}</h4>
<p>{{ adv.advs_desc|raw }}</p>
</div>
</div>
{% if features != null %}
{% if entries('advs').isEnabled('customfields') %}
{% include "visiosoft.module.customfields::list-item" %}
{% endif %}
{% endif %}
{% if adv.map_Val != "" and setting_value('visiosoft.module.location::detail_page_location') %}
<div id="streetviewtab" class="tab-pane fade in">
<div id="map" data-map-val="{{ adv.map_Val }}"></div>
{% if entries('advs').isEnabled('streetview') %}
<div id="pano"></div>
{% endif %}
</div>
{% endif %}
{% if entries('advs').isEnabled('comments') %}
{% include "visiosoft.module.comments::comments" %}
{% endif %}
{% if entries('advs').isEnabled('pricehistory') %}
{% include "visiosoft.module.pricehistory::content" %}
{% endif %}
</div>
</div>
{% if blocks('ad-item-content-block-area') is null %}
{% include "visiosoft.module.advs::advs/partials/blocks/ads-item-content-block" %}
{% else %}
{{ blocks('ad-item-content-block-area') }}
{% endif %}
<div class="section recommended-ads">
<div class="featured-top">
<h4>{{ trans('visiosoft.module.advs::field.recommended_ads') }}</h4>
</div>
<!-- oc-item -->
{% for advs in recommended_advs %}
<div class="oc-item1 row">
<!-- item-image -->
<div class="item-image-box col-sm-4">
<div class="item-image">
<a href="{{ advs.detail_url }}">
{% if adv.is_get_adv == "1" and adv.stock == "0" and entries('advs').isEnabled('carts') %}
<div class="corner-ribbon top-right sticky blue">{{ trans('visiosoft.module.advs::field.sold_out.name') }}</div>
{% endif %}
<img
src="{{ advs.cover_photo }}" alt="Image"
class="img-responsive"></a>
</div><!-- item-image -->
</div>
<div class="item-info col-sm-8">
<!-- ad-info -->
<div class="ad-info">
<h3 class="item-price">{{ advs.price.format() }} {{ advs.currency }}</h3>
<h4 class="item-title"><a
href="{{ advs.detail_url }}">{{ advs.title|slice(0,50) }}</a>
</h4>
</div><!-- ad-info -->
<!-- ad-meta -->
<div class="ad-meta">
<div class="meta-content">
<span class="dated"><a href="#">{{ advs.created_at }} </a></span>
</div>
<!-- item-info-right -->
<div class="user-option pull-right">
{% if setting_value('visiosoft.module.location::detail_page_location') %}
<a href="#" data-toggle="tooltip" data-placement="top" title=""
data-original-title="{{ advs.city_name }}, {{ advs.country_name }}"><i
class="fa fa-map-marker"></i> </a>
{% endif %}
</div><!-- item-info-right -->
</div><!-- ad-meta -->
</div><!-- item-info -->
</div><!-- oc-item -->
{% endfor %}
</div>
</div><!-- description -->
<!-- description-short-info -->
<div class="col-md-4">
{% if tags != null %}
<div class="short-info">
<h4>{{ trans('visiosoft.module.advs::field.short_info') }}</h4>
<!-- social-icon -->
<ul>
{% for key,value in tags %}
<p><strong>{{ key }}: {{ value[0] }}</strong></p>
{% endfor %}
</ul><!-- social-icon -->
</div>
{% endif %}
<div class="recommended-cta">
{{ blocks('list-item-right-sidebar') }}
</div><!-- cta -->
</div>
</div><!-- row -->
</div><!-- description-info -->
<div class="recommended-info">
<div class="row">

View File

@ -0,0 +1,133 @@
<div class="description-info">
<div class="row">
<!-- description -->
<div class="col-md-8">
<div class="description">
<ul class="nav nav-tabs">
<li class="active"><a data-toggle="tab"
href="#description">{{ trans('visiosoft.module.advs::field.description.name') }}</a>
</li>
{% if features != null %}
<li class=""><a data-toggle="tab"
href="#features">{{ trans('visiosoft.module.advs::field.features') }}</a>
</li>
{% endif %}
{% if entries('advs').isEnabled('streetview') and adv.map_Val != "" %}
<li class=""><a data-toggle="tab" href="#streetviewtab"
id="streetviewlink">{{ trans('visiosoft.module.advs::field.streetview') }}</a>
</li>
{% endif %}
{% if entries('advs').isEnabled('comments') %}
<li class=""><a data-toggle="tab" href="#commenttab"
id="">{{ trans('visiosoft.module.comments::field.comment') }}</a>
</li>
{% endif %}
{% if entries('advs').isEnabled('pricehistory') %}
{% include "visiosoft.module.pricehistory::tab" %}
{% endif %}
</ul>
<div class="tab-content">
<div id="description" class="tab-pane fade in active">
<div class="description">
<h4>{{ trans('visiosoft.module.advs::field.description.name') }}</h4>
<p>{{ adv.advs_desc|raw }}</p>
</div>
</div>
{% if features != null %}
{% if entries('advs').isEnabled('customfields') %}
{% include "visiosoft.module.customfields::list-item" %}
{% endif %}
{% endif %}
{% if adv.map_Val != "" and setting_value('visiosoft.module.location::detail_page_location') %}
<div id="streetviewtab" class="tab-pane fade in">
<div id="map" data-map-val="{{ adv.map_Val }}"></div>
{% if entries('advs').isEnabled('streetview') %}
<div id="pano"></div>
{% endif %}
</div>
{% endif %}
{% if entries('advs').isEnabled('comments') %}
{% include "visiosoft.module.comments::comments" %}
{% endif %}
{% if entries('advs').isEnabled('pricehistory') %}
{% include "visiosoft.module.pricehistory::content" %}
{% endif %}
</div>
</div>
<div class="section recommended-ads">
<div class="featured-top">
<h4>{{ trans('visiosoft.module.advs::field.recommended_ads') }}</h4>
</div>
<!-- oc-item -->
{% for advs in recommended_advs %}
<div class="oc-item1 row">
<!-- item-image -->
<div class="item-image-box col-sm-4">
<div class="item-image">
<a href="{{ advs.detail_url }}">
{% if adv.is_get_adv == "1" and adv.stock == "0" and entries('advs').isEnabled('carts') %}
<div class="corner-ribbon top-right sticky blue">{{ trans('visiosoft.module.advs::field.sold_out.name') }}</div>
{% endif %}
<img
src="{{ advs.cover_photo }}" alt="Image"
class="img-responsive"></a>
</div><!-- item-image -->
</div>
<div class="item-info col-sm-8">
<!-- ad-info -->
<div class="ad-info">
<h3 class="item-price">{{ advs.price.format() }} {{ advs.currency }}</h3>
<h4 class="item-title"><a
href="{{ advs.detail_url }}">{{ advs.title|slice(0,50) }}</a>
</h4>
</div><!-- ad-info -->
<!-- ad-meta -->
<div class="ad-meta">
<div class="meta-content">
<span class="dated"><a href="#">{{ advs.created_at }} </a></span>
</div>
<!-- item-info-right -->
<div class="user-option pull-right">
{% if setting_value('visiosoft.module.location::detail_page_location') %}
<a href="#" data-toggle="tooltip" data-placement="top" title=""
data-original-title="{{ advs.city_name }}, {{ advs.country_name }}"><i
class="fa fa-map-marker"></i> </a>
{% endif %}
</div><!-- item-info-right -->
</div><!-- ad-meta -->
</div><!-- item-info -->
</div><!-- oc-item -->
{% endfor %}
</div>
</div><!-- description -->
<!-- description-short-info -->
<div class="col-md-4">
{% if tags != null %}
<div class="short-info">
<h4>{{ trans('visiosoft.module.advs::field.short_info') }}</h4>
<!-- social-icon -->
<ul>
{% for key,value in tags %}
<p><strong>{{ key }}: {{ value[0] }}</strong></p>
{% endfor %}
</ul><!-- social-icon -->
</div>
{% endif %}
<div class="recommended-cta">
{{ blocks('list-item-right-sidebar') }}
</div><!-- cta -->
</div>
</div><!-- row -->
</div><!-- description-info -->

View File

@ -0,0 +1,108 @@
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 offered-field offered-row">
{% if entries('advs').isEnabled('favs') %}
<a id="owner-fav" href="#"><i id="heart-icon-seller" class="far fa-heart"></i></a>
{% endif %}
<span class="icon">{{ trans('visiosoft.module.advs::field.offered_by') }}:
<a id="owner"
href="{{ url_route('visiosoft.module.advs::list_user_ad', [adv.created_by_id]) }}"
data-content="{{ adv.owner_id }}">{{ adv.owner }}</a>
</span>
<span class="icon"> {{ trans('visiosoft.module.advs::field.ad_id') }}:
<a href="#" id="adv_id" class="time">{{ adv.id }}</a>
</span>
</div>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 offered-field offered-row">
<span class="icon"><i class="far fa-clock"></i><a
href="#">{{ adv.created_at|date('d/m/Y') }}</a></span>
{% if setting_value('visiosoft.module.location::detail_page_location') %}
<span class="icon"><i class="fa fa-map-marker"></i><a href="#">{{ adv.city_name }}
, {{ adv.country_name }}</a></span>
{% endif %}
{% if adv.isCorporate == 2 %}
<span class="icon"><i class="fa fa-suitcase"></i><a
href="{{ url_route('visiosoft.module.advs::list_user_ad', [adv.created_by_id]) }}">{{ adv.owner }}</a></span>
{% endif %}
</div>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 offered-field offered-row">
{% if entries('advs').isEnabled('comparisons') %}
{% include "visiosoft.module.comparisons::comparebtn" %}
<span class="icon">{{ trans('visiosoft.module.comparisons::field.comparisonpagetitle') }}</span>
{% endif %}
</div>
{% if(adv.video_url != null) %}
<div class="contact-with">
<h4>{{ trans('visiosoft.module.cloudinary::field.video') }}</h4>
<a class="btn btn-success" onclick="openVideo()"><i class="fa fa-file-video-o"
aria-hidden="true"></i> {{ trans('visiosoft.module.cloudinary::field.video') }}
</a>
<div class="modal fade" id="adv-video" tabindex="-1" role="dialog"
aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="close-modal text-right">
<button type="button" class="btn btn-danger" data-dismiss="modal">X
</button>
</div>
<div class="modal-body">
<video controls loop class="img-responsive"
style="text-align: center; width: 100%">
<source src="{{ adv.video_url }}" class="video-src"
type="video/mp4"/>
</video>
</div>
</div>
</div>
</div>
</div>
{% endif %}
{% if(profile.getObject().gsm_phone is not null or profile.office_phone is not null or entries('advs').isEnabled('messages')) %}
<!-- contact-with -->
<div class="contact-with">
<h4> {{ trans('visiosoft.module.advs::field.contact_with') }}</h4>
{% if(profile.getObject().gsm_phone != null) %}
<span class="btn btn-red show-number" data-id="{{ adv.id }}">
<i class="fa fa-phone-square"></i>
<span class="hide-text">{{ trans('visiosoft.module.advs::field.click_phone') }} </span>
<span class="hide-number">{{ trans("visiosoft.module.advs::field.phone_gsm") }}
: {{ profile.getObject().gsm_phone }}
{% if profile.office_phone != null and profile.office_phone != "" %}
<br>
{{ trans("visiosoft.module.advs::field.phone_office") }}: {{ profile.office_phone }}
{% endif %}
</span>
</span>
{% endif %}
{% if entries('advs').isEnabled('messages') %}
<a data-content="{{ app.auth.id }}" id="message" class="btn"><i
class="fa fa-envelope-square"></i>{{ trans("visiosoft.module.advs::field.send_message") }}
</a>
{% endif %}
</div><!-- contact-with -->
{% endif %}
{% if adv_detail_place_code %}
<div>
{{ adv_detail_place_code }}
</div>
{% endif %}
<!-- social-links -->
<div class="social-links">
<h4>{{ trans('visiosoft.module.advs::field.share') }}</h4>
<ul class="list-inline">
<li><a target="_blank"
href="https://www.facebook.com/sharer/sharer.php?u={{ app.request.uri }}"><i
class="fab fa-facebook-square"></i></a></li>
<li><a target="_blank"
href="https://twitter.com/intent/tweet?text={{ app.request.uri }}"><i
class="fab fa-twitter-square"></i></a></li>
<li><a target="_blank" href="https://wa.me/?text={{ app.request.uri }}"><i
class="fab fa-whatsapp"></i></a></li>
<li><a target="_blank"
href="https://www.linkedin.com/shareArticle?mini=true&url={{ app.request.uri }}"><i
class="fab fa-linkedin"></i></a></li>
</ul>
</div>
<!-- social-links -->

View File

@ -0,0 +1,19 @@
<div class="fotorama"
data-width="700"
data-ratio="3/2"
data-nav="thumbs"
data-thumbheight="48">
{% set advPhoto = '' %}
{% if count(adv.files) == 0 %}
{% set advPhoto = img('theme::images/no-image.png').url %}
<a href="{{ image }}"><img src="{{ img('theme::images/no-image.png').url }}"></a>
{% else %}
{% for image in adv.getViewPhotoUrl %}
<a href="{{ image }}"><img src="{{ image }}"></a>
{% if loop.index == 1 %}
{% set advPhoto = image %}
{% endif %}
{% endfor %}
{% endif %}
</div>

View File

@ -1,10 +1,6 @@
<?php namespace Visiosoft\AdvsModule\Adv;
use Anomaly\Streams\Platform\Database\Seeder\Seeder;
use Anomaly\Streams\Platform\Model\Blocks\BlocksAreasEntryModel;
use Anomaly\Streams\Platform\Model\Blocks\BlocksBlocksEntryModel;
use Anomaly\Streams\Platform\Model\HtmlBlock\HtmlBlockBlocksEntryModel;
use Illuminate\Support\Facades\DB;
class AdvSeeder extends Seeder
{
@ -14,615 +10,6 @@ class AdvSeeder extends Seeder
*/
public function run()
{
DB::table('blocks_blocks')->truncate();
DB::table('blocks_areas')->truncate();
DB::table('html_block_blocks')->truncate();
DB::table('blocks_areas')->where('slug', 'advs_default_theme_post_adv_right')
->orWhere('slug', 'advs_default_theme_post_adv_bottom')
->orWhere('slug', 'middle-home-banner-area')
->orWhere('slug', 'right-home-banner-area')
->orWhere('slug', 'left-home-banner-area')
->orWhere('slug', 'advs_default_theme_home_bottom')
->orWhere('slug', 'advs_default_theme_home_mobile')
->delete();
// right side
$block_area = BlocksAreasEntryModel::create([
'en' => [
'name' => 'Advs Default Theme Post Adv Right Side',
],
'tr' => [
'name' => 'Advs Varsayılan Tema İlan Ver Sağ Bölüm',
],
'slug' => 'advs_default_theme_post_adv_right',
]);
// bottom part
$block_area = BlocksAreasEntryModel::create([
'en' => [
'name' => 'Advs Default Theme Post Adv Bottom',
],
'tr' => [
'name' => 'Advs Varsayılan Tema İlan Ver Alt',
],
'slug' => 'advs_default_theme_post_adv_bottom',
]);
$blockhtml = HtmlBlockBlocksEntryModel::create([
'en' => [
'html' => 'By clicking Post, you agree to our Terms of Use and Privacy Policy acknowledge that you are the rightful owner of this item.',
],
'tr' => [
'html' => 'Yayınla\'yı tıkladığınızda, Kullanım Koşulları ve Gizlilik Politikasını kabul etmiş olursunuz, bu öğenin hak sahibi olduğunuzu kabul edersiniz.',
],
]);
$block_block = BlocksBlocksEntryModel::create([
'area_id' => $block_area->id,
'area_type' => 'Anomaly\BlocksModule\Area\AreaModel',
'field_id' => 52,
'extension' => 'anomaly.extension.html_block',
'display_title' => 0,
'entry_type' => 'Anomaly\HtmlBlockExtension\Block\BlockModel',
'entry_id' => $blockhtml->id,
]);
// homepage bottom info
$block_area = BlocksAreasEntryModel::create([
'en' => [
'name' => 'Advs Default Theme Homepage Bottom Info',
],
'tr' => [
'name' => 'Advs Varsayılan Tema Anasayfa Alt Bilgi',
],
'slug' => 'advs_default_theme_home_bottom',
]);
$blockhtml = HtmlBlockBlocksEntryModel::create([
'en' => [
'html' => '<div class="section cta text-center">
<div class="row">
<!-- single-cta -->
<div class="col-sm-4">
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-secure">
<img src="{{ img(\'theme::images/icon/13.png\').url }}" alt="Icon" class="img-responsive">
</div><!-- cta-icon -->
<h4>Secure Trading</h4>
<p>Duis autem vel eum iriure dolor in hendrerit in</p>
</div>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="col-sm-4">
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-support">
<img src="{{ img(\'theme::images/icon/14.png\').url }}" alt="Icon" class="img-responsive">
</div><!-- cta-icon -->
<h4>24/7 Support</h4>
<p>Duis autem vel eum iriure dolor in hendrerit in</p>
</div>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="col-sm-4">
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-trading">
<img src="{{ img(\'theme::images/icon/15.png\').url }}" alt="Icon" class="img-responsive">
</div><!-- cta-icon -->
<h4>Easy Trading</h4>
<p>Duis autem vel eum iriure dolor in hendrerit in</p>
</div>
</div><!-- single-cta -->
</div><!-- row -->
</div>',
],
'tr' => [
'html' => '<div class="section cta text-center">
<div class="row">
<!-- single-cta -->
<div class="col-sm-4">
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-secure">
<img src="{{ img(\'theme::images/icon/13.png\').url }}" alt="Icon" class="img-responsive">
</div><!-- cta-icon -->
<h4>Guvenli Alisveris</h4>
<p>Duis autem vel eum iriure dolor in hendrerit in</p>
</div>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="col-sm-4">
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-support">
<img src="{{ img(\'theme::images/icon/14.png\').url }}" alt="Icon" class="img-responsive">
</div><!-- cta-icon -->
<h4>7/24 Destek</h4>
<p>Duis autem vel eum iriure dolor in hendrerit in</p>
</div>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="col-sm-4">
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-trading">
<img src="{{ img(\'theme::images/icon/15.png\').url }}" alt="Icon" class="img-responsive">
</div><!-- cta-icon -->
<h4>Kolay Ticaret</h4>
<p>Duis autem vel eum iriure dolor in hendrerit in</p>
</div>
</div><!-- single-cta -->
</div><!-- row -->
</div>',
],
]);
$block_block = BlocksBlocksEntryModel::create([
'area_id' => $block_area->id,
'area_type' => 'Anomaly\BlocksModule\Area\AreaModel',
'field_id' => 52,
'extension' => 'anomaly.extension.html_block',
'display_title' => 0,
'entry_type' => 'Anomaly\HtmlBlockExtension\Block\BlockModel',
'entry_id' => $blockhtml->id,
]);
// homepage mobile app part
$block_area = BlocksAreasEntryModel::create([
'en' => [
'name' => 'Advs Default Theme Homepage Mobile App',
],
'tr' => [
'name' => 'Advs Varsayılan Tema Anasayfa Mobil Uygulama',
],
'slug' => 'advs_default_theme_home_mobile',
]);
$blockhtml = HtmlBlockBlocksEntryModel::create([
'en' => [
'html' => '<section id="download" class="clearfix parallax-section">
<div class="container">
<!-- row -->
<div class="row">
<!-- download-app -->
<!-- download-app -->
<div class="col-sm-2">
</div><!-- download-app -->
<div class="col-sm-4">
<a href="#" class="download-app">
<img src="{{ img(\'theme::images/icon/16.png\').url }}" alt="Image" class="img-responsive">
<span class="pull-left">
<span>{{ trans(\'visiosoft.theme.default::addon.advs_default_theme_homepage_mobile_app_available_on\') }}</span>
<strong>Google Play</strong>
</span>
</a>
</div><!-- download-app -->
<div class="col-sm-4">
<a href="#" class="download-app">
<img src="{{ img(\'theme::images/icon/17.png\').url }}" alt="Image" class="img-responsive">
<span class="pull-left">
<span>{{ trans(\'visiosoft.theme.default::addon.advs_default_theme_homepage_mobile_app_available_on\') }}</span>
<strong>App Store</strong>
</span>
</a>
</div><!-- download-app -->
</div><!-- row -->
</div><!-- contaioner -->
</section>',
],
'tr' => [
'html' => '<section id="download" class="clearfix parallax-section">
<div class="container">
<!-- row -->
<div class="row">
<!-- download-app -->
<div class="col-sm-2">
</div><!-- download-app -->
<!-- download-app -->
<div class="col-sm-4">
<a href="#" class="download-app">
<img src="{{ img(\'theme::images/icon/16.png\').url }}" alt="Image" class="img-responsive">
<span class="pull-left">
<span>{{ trans(\'visiosoft.theme.default::addon.advs_default_theme_homepage_mobile_app_available_on\') }}</span>
<strong>Google Play</strong>
</span>
</a>
</div><!-- download-app -->
<!-- download-app -->
<div class="col-sm-4">
<a href="#" class="download-app">
<img src="{{ img(\'theme::images/icon/17.png\').url }}" alt="Image" class="img-responsive">
<span class="pull-left">
<span>{{ trans(\'visiosoft.theme.default::addon.advs_default_theme_homepage_mobile_app_available_on\') }}</span>
<strong>App Store</strong>
</span>
</a>
</div><!-- download-app -->
</div><!-- row -->
</div><!-- contaioner -->
</section>',
],
]);
$block_block = BlocksBlocksEntryModel::create([
'area_id' => $block_area->id,
'area_type' => 'Anomaly\BlocksModule\Area\AreaModel',
'field_id' => 52,
'extension' => 'anomaly.extension.html_block',
'display_title' => 0,
'entry_type' => 'Anomaly\HtmlBlockExtension\Block\BlockModel',
'entry_id' => $blockhtml->id,
]);
// left Home Banner Area
$block_area = BlocksAreasEntryModel::create([
'en' => [
'name' => 'Left Home Banner Area',
],
'tr' => [
'name' => 'Anasayfa Sol reklam alanı',
],
'slug' => 'left-home-banner-area',
]);
$blockhtml = HtmlBlockBlocksEntryModel::create([
'en' => [
'html' => ' <div class="advertisement">
<a href="#"><img src="{{ img(\'theme::images/ads/2.jpg\').url }}" alt="Images" class="img-responsive"></a>
</div>',
],
'tr' => [
'html' => ' <div class="advertisement">
<a href="#"><img src="{{ img(\'theme::images/ads/2.jpg\').url }}" alt="Images" class="img-responsive"></a>
</div>',
],
]);
$block_block = BlocksBlocksEntryModel::create([
'area_id' => $block_area->id,
'area_type' => 'Anomaly\BlocksModule\Area\AreaModel',
'field_id' => 52,
'extension' => 'anomaly.extension.html_block',
'display_title' => 0,
'entry_type' => 'Anomaly\HtmlBlockExtension\Block\BlockModel',
'entry_id' => $blockhtml->id,
]);
// middle Home Banner Area
$block_area = BlocksAreasEntryModel::create([
'en' => [
'name' => 'Middle Home Banner Area',
],
'tr' => [
'name' => 'Anasayfa Orta reklam alanı',
],
'slug' => 'middle-home-banner-area',
]);
$blockhtml = HtmlBlockBlocksEntryModel::create([
'en' => [
'html' => ' <div class="ad-section text-center">
<a href="#"><img src="{{ img(\'theme::images/ads/3.jpg\').url }}" alt="Image" class="img-responsive"></a>
</div>',
],
'tr' => [
'html' => ' <div class="ad-section text-center">
<a href="#"><img src="{{ img(\'theme::images/ads/3.jpg\').url }}" alt="Image" class="img-responsive"></a>
</div>',
],
]);
$block_block = BlocksBlocksEntryModel::create([
'area_id' => $block_area->id,
'area_type' => 'Anomaly\BlocksModule\Area\AreaModel',
'field_id' => 52,
'extension' => 'anomaly.extension.html_block',
'display_title' => 0,
'entry_type' => 'Anomaly\HtmlBlockExtension\Block\BlockModel',
'entry_id' => $blockhtml->id,
]);
// right Home Banner Area
$block_area = BlocksAreasEntryModel::create([
'en' => [
'name' => 'Right Home Banner Area',
],
'tr' => [
'name' => 'Anasayfa Sağ reklam alanı',
],
'slug' => 'right-home-banner-area',
]);
$blockhtml = HtmlBlockBlocksEntryModel::create([
'en' => [
'html' => ' <div class="advertisement text-center">
<a href="#"><img src="{{ img(\'theme::images/ads/1.jpg\').url }}" alt="Images" class="img-responsive"></a>
</div>',
],
'tr' => [
'html' => ' <div class="advertisement text-center">
<a href="#"><img src="{{ img(\'theme::images/ads/1.jpg\').url }}" alt="Images" class="img-responsive"></a>
</div>',
],
]);
$block_block = BlocksBlocksEntryModel::create([
'area_id' => $block_area->id,
'area_type' => 'Anomaly\BlocksModule\Area\AreaModel',
'field_id' => 52,
'extension' => 'anomaly.extension.html_block',
'display_title' => 0,
'entry_type' => 'Anomaly\HtmlBlockExtension\Block\BlockModel',
'entry_id' => $blockhtml->id,
]);
// List item Right Sidebar
$block_area = BlocksAreasEntryModel::create([
'en' => [
'name' => 'List item Right Sidebar',
],
'tr' => [
'name' => 'ilan Detay Sağ Alan',
],
'slug' => 'list-item-right-sidebar',
]);
$blockhtml = HtmlBlockBlocksEntryModel::create([
'en' => [
'html' => ' <div class="cta">
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-secure">
<img src="{{ img(\'theme::images/icon/13.png\').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>Secure Trading</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-support">
<img src="{{ img(\'theme::images/icon/14.png\').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>24/7 Support</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-trading">
<img src="{{ img(\'theme::images/icon/15.png\').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>Easy Trading</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<h5>Need help?</h5>
<p><span>Give a call on</span><a
href="tellto:08048100000"> 08048100000</a></p>
</div><!-- single-cta -->
</div>',
],
'tr' => [
'html' => ' <div class="cta">
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-secure">
<img src="{{ img(\'theme::images/icon/13.png\').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>Güvenli Ticaret</h4>
<p>Kolay, Güvenli ve Avantajlı Alışveriş için</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-support">
<img src="{{ img(\'theme::images/icon/14.png\').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>7/24 Saat Destek</h4>
<p>Hızlı ve Kolay çözüm imkanı</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-trading">
<img src="{{ img(\'theme::images/icon/15.png\').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>Kolay Alışveriş</h4>
<p>Çoklu dil desteği ve Çoklu Para Birimi</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-trading">
<img src="{{ img(\'theme::images/icon/14.png\').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h5>Yardıma mı ihtiyacınız var?</h5>
<p><span>Hemen Arayın</span><a
href="tellto:08048100000"> 08048100000</a></p>
</div><!-- single-cta -->
</div>',
],
]);
$block_block = BlocksBlocksEntryModel::create([
'area_id' => $block_area->id,
'area_type' => 'Anomaly\BlocksModule\Area\AreaModel',
'field_id' => 52,
'extension' => 'anomaly.extension.html_block',
'display_title' => 0,
'entry_type' => 'Anomaly\HtmlBlockExtension\Block\BlockModel',
'entry_id' => $blockhtml->id,
]);
// Profile Right Sidebar
$block_area = BlocksAreasEntryModel::create([
'en' => [
'name' => 'Profile Right Sidebar',
],
'tr' => [
'name' => 'Profil Sağ Alan',
],
'slug' => 'profile-right-sidebar',
]);
$blockhtml = HtmlBlockBlocksEntryModel::create([
'en' => [
'html' => ' <div class="cta">
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-secure">
<img src="{{ img(\'theme::images/icon/13.png\').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>Secure Trading</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-support">
<img src="{{ img(\'theme::images/icon/14.png\').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>24/7 Support</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-trading">
<img src="{{ img(\'theme::images/icon/15.png\').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>Easy Trading</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<h5>Need help?</h5>
<p><span>Give a call on</span><a
href="tellto:08048100000"> 08048100000</a></p>
</div><!-- single-cta -->
</div>',
],
'tr' => [
'html' => ' <div class="cta">
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-secure">
<img src="{{ img(\'theme::images/icon/13.png\').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>Güvenli Ticaret</h4>
<p>Kolay, Güvenli ve Avantajlı Alışveriş için</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-support">
<img src="{{ img(\'theme::images/icon/14.png\').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>7/24 Saat Destek</h4>
<p>Hızlı ve Kolay çözüm imkanı</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-trading">
<img src="{{ img(\'theme::images/icon/15.png\').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>Kolay Alışveriş</h4>
<p>Çoklu dil desteği ve Çoklu Para Birimi</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-trading">
<img src="{{ img(\'theme::images/icon/14.png\').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h5>Yardıma mı ihtiyacınız var?</h5>
<p><span>Hemen Arayın</span><a
href="tellto:08048100000"> 08048100000</a></p>
</div><!-- single-cta -->
</div>',
],
]);
$block_block = BlocksBlocksEntryModel::create([
'area_id' => $block_area->id,
'area_type' => 'Anomaly\BlocksModule\Area\AreaModel',
'field_id' => 52,
'extension' => 'anomaly.extension.html_block',
'display_title' => 0,
'entry_type' => 'Anomaly\HtmlBlockExtension\Block\BlockModel',
'entry_id' => $blockhtml->id,
]);
//Code
}
}

View File

@ -5,7 +5,7 @@ use Anomaly\Streams\Platform\Model\Options\OptionsAdvertisementEntryModel;
use Chumper\Zipper\Zipper;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;
use Visiosoft\AdvsModule\Adv\AdvSeeder;
use Visiosoft\AdvsModule\Seed\BlockSeeder;
class AdvsModuleSeeder extends Seeder
{
@ -24,7 +24,7 @@ class AdvsModuleSeeder extends Seeder
$zipper->make('advs-files.zip')->folder('advs-files')->extractTo(base_path().'/public/app/default/files-module/local/images/');
$zipper->close();
$this->call(AdvSeeder::class);
$this->call(BlockSeeder::class);
/* Demo Start */
DB::table('files_files')->truncate();

View File

@ -0,0 +1,185 @@
<?php namespace Visiosoft\AdvsModule\Seed;
use Anomaly\Streams\Platform\Database\Seeder\Seeder;
use Anomaly\Streams\Platform\Model\Blocks\BlocksAreasEntryModel;
use Anomaly\Streams\Platform\Model\Blocks\BlocksBlocksEntryModel;
use Anomaly\Streams\Platform\Model\HtmlBlock\HtmlBlockBlocksEntryModel;
use Illuminate\Support\Facades\DB;
class BlockSeeder extends Seeder
{
/**
* Run the seeder.
*/
public function run()
{
DB::table('blocks_areas')
->where('slug', 'left-home-banner-area')
->orWhere('slug', 'middle-home-banner-area')
->orWhere('slug', 'right-home-banner-area')
->orWhere('slug', 'list-item-right-sidebar')
->orWhere('slug', 'profile-right-sidebar')
->delete();
/**************************************************************************************************************/
// left Home Banner Area
$left_home_banner_area = BlocksAreasEntryModel::create([
'en' => [
'name' => 'Left Home Banner Area',
],
'tr' => [
'name' => 'Anasayfa Sol reklam alanı',
],
'slug' => 'left-home-banner-area',
]);
$left_home_banner_html = HtmlBlockBlocksEntryModel::create([
'en' => [
'html' => file_get_contents(__DIR__ . '/Blocks/left-home-banner-area.twig'),
],
'tr' => [
'html' => file_get_contents(__DIR__ . '/Blocks/left-home-banner-area.twig'),
],
]);
BlocksBlocksEntryModel::create([
'area_id' => $left_home_banner_area->id,
'area_type' => 'Anomaly\BlocksModule\Area\AreaModel',
'field_id' => 52,
'extension' => 'anomaly.extension.html_block',
'display_title' => 0,
'entry_type' => 'Anomaly\HtmlBlockExtension\Block\BlockModel',
'entry_id' => $left_home_banner_html->id,
]);
/**************************************************************************************************************/
// middle Home Banner Area
$middle_home_banner_area = BlocksAreasEntryModel::create([
'en' => [
'name' => 'Middle Home Banner Area',
],
'tr' => [
'name' => 'Anasayfa Orta reklam alanı',
],
'slug' => 'middle-home-banner-area',
]);
$middle_home_banner_html = HtmlBlockBlocksEntryModel::create([
'en' => [
'html' => file_get_contents(__DIR__ . '/Blocks/middle-home-banner-area.twig'),
],
'tr' => [
'html' => file_get_contents(__DIR__ . '/Blocks/middle-home-banner-area.twig'),
],
]);
BlocksBlocksEntryModel::create([
'area_id' => $middle_home_banner_area->id,
'area_type' => 'Anomaly\BlocksModule\Area\AreaModel',
'field_id' => 52,
'extension' => 'anomaly.extension.html_block',
'display_title' => 0,
'entry_type' => 'Anomaly\HtmlBlockExtension\Block\BlockModel',
'entry_id' => $middle_home_banner_html->id,
]);
/**************************************************************************************************************/
// right Home Banner Area
$right_home_banner_area = BlocksAreasEntryModel::create([
'en' => [
'name' => 'Right Home Banner Area',
],
'tr' => [
'name' => 'Anasayfa Sağ reklam alanı',
],
'slug' => 'right-home-banner-area',
]);
$right_home_banner_html = HtmlBlockBlocksEntryModel::create([
'en' => [
'html' => file_get_contents(__DIR__ . '/Blocks/right-home-banner-area.twig'),
],
'tr' => [
'html' => file_get_contents(__DIR__ . '/Blocks/right-home-banner-area.twig'),
],
]);
BlocksBlocksEntryModel::create([
'area_id' => $right_home_banner_area->id,
'area_type' => 'Anomaly\BlocksModule\Area\AreaModel',
'field_id' => 52,
'extension' => 'anomaly.extension.html_block',
'display_title' => 0,
'entry_type' => 'Anomaly\HtmlBlockExtension\Block\BlockModel',
'entry_id' => $right_home_banner_html->id,
]);
/**************************************************************************************************************/
// List item Right Sidebar
$list_item_right_sidebar_area = BlocksAreasEntryModel::create([
'en' => [
'name' => 'List item Right Sidebar',
],
'tr' => [
'name' => 'ilan Detay Sağ Alan',
],
'slug' => 'list-item-right-sidebar',
]);
$list_item_right_sidebar_html = HtmlBlockBlocksEntryModel::create([
'en' => [
'html' => file_get_contents(__DIR__ . '/Blocks/list-item-right-sidebar-en.twig'),
],
'tr' => [
'html' => file_get_contents(__DIR__ . '/Blocks/list-item-right-sidebar-tr.twig'),
],
]);
BlocksBlocksEntryModel::create([
'area_id' => $list_item_right_sidebar_area->id,
'area_type' => 'Anomaly\BlocksModule\Area\AreaModel',
'field_id' => 52,
'extension' => 'anomaly.extension.html_block',
'display_title' => 0,
'entry_type' => 'Anomaly\HtmlBlockExtension\Block\BlockModel',
'entry_id' => $list_item_right_sidebar_html->id,
]);
/**************************************************************************************************************/
// Profile Right Sidebar
$profile_right_sidebar_area = BlocksAreasEntryModel::create([
'en' => [
'name' => 'Profile Right Sidebar',
],
'tr' => [
'name' => 'Profil Sağ Alan',
],
'slug' => 'profile-right-sidebar',
]);
$profile_right_sidebar_html = HtmlBlockBlocksEntryModel::create([
'en' => [
'html' => file_get_contents(__DIR__ . '/Blocks/list-item-right-sidebar-en.twig'),
],
'tr' => [
'html' => file_get_contents(__DIR__ . '/Blocks/list-item-right-sidebar-tr.twig'),
],
]);
BlocksBlocksEntryModel::create([
'area_id' => $profile_right_sidebar_area->id,
'area_type' => 'Anomaly\BlocksModule\Area\AreaModel',
'field_id' => 52,
'extension' => 'anomaly.extension.html_block',
'display_title' => 0,
'entry_type' => 'Anomaly\HtmlBlockExtension\Block\BlockModel',
'entry_id' => $profile_right_sidebar_html->id,
]);
/**************************************************************************************************************/
}
}

View File

@ -0,0 +1,3 @@
<div class="advertisement">
<a href="#"><img src="{{ img('theme::images/ads/2.jpg').url }}" alt="Images" class="img-responsive"></a>
</div>

View File

@ -0,0 +1,45 @@
<div class="cta">
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-secure">
<img src="{{ img('theme::images/icon/13.png').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>Secure Trading</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-support">
<img src="{{ img('theme::images/icon/14.png').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>24/7 Support</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-trading">
<img src="{{ img('theme::images/icon/15.png').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>Easy Trading</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<h5>Need help?</h5>
<p><span>Give a call on</span><a
href="tellto:08048100000"> 08048100000</a></p>
</div><!-- single-cta -->
</div>

View File

@ -0,0 +1,50 @@
<div class="cta">
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-secure">
<img src="{{ img('theme::images/icon/13.png').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>Güvenli Ticaret</h4>
<p>Kolay, Güvenli ve Avantajlı Alışveriş için</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-support">
<img src="{{ img('theme::images/icon/14.png').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>7/24 Saat Destek</h4>
<p>Hızlı ve Kolay çözüm imkanı</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-trading">
<img src="{{ img('theme::images/icon/15.png').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h4>Kolay Alışveriş</h4>
<p>Çoklu dil desteği ve Çoklu Para Birimi</p>
</div><!-- single-cta -->
<!-- single-cta -->
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-trading">
<img src="{{ img('theme::images/icon/14.png').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h5>Yardıma mı ihtiyacınız var?</h5>
<p><span>Hemen Arayın</span><a
href="tellto:08048100000"> 08048100000</a></p>
</div><!-- single-cta -->
</div>

View File

@ -0,0 +1,3 @@
<div class="ad-section text-center">
<a href="#"><img src="{{ img('theme::images/ads/3.jpg').url }}" alt="Image" class="img-responsive"></a>
</div>

View File

@ -0,0 +1,3 @@
<div class="advertisement text-center">
<a href="#"><img src="{{ img('theme::images/ads/1.jpg').url }}" alt="Images" class="img-responsive"></a>
</div>