web-mooc/resources/views/components/home_made_by_builder/footer.blade.php

129 lines
6.6 KiB
PHP
Executable File

{{-- To make a editable image or text need to be add a "builder editable" class and builder identity attribute with a unique value --}}
{{-- builder identity and builder editable --}}
{{-- builder identity value have to be unique under a single file --}}
@if (get_frontend_settings('recaptcha_status'))
@push('js')
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
@endpush
@endif
<footer class="footer-area">
<div class="container">
<div class="row">
<div class="col-lg-4 col-md-4">
<div class="footer-content">
<img src="{{ get_image(get_frontend_settings('light_logo')) }}" alt="system logo">
<p class="description builder-editable" builder-identity="1">{{ get_phrase("Ini adalah fakta yang sudah lama terbukti bahwa pembaca akan terganggu oleh konten yang dibaca dari tata letak halaman.") }}</p>
<ul class="f-socials d-flex">
<li><a href="{{ get_frontend_settings('twitter') }}"><i class="fa-brands fa-twitter"></i></a>
</li>
<li><a href="{{ get_frontend_settings('facebook') }}"><i class="fa-brands fa-facebook-f"></i></a></li>
<li><a href="{{ get_frontend_settings('linkedin') }}"><i class="fa-brands fa-linkedin-in"></i></a></li>
</ul>
<div class="gradient-border2">
<a href="{{ route('contact.us') }}" class="gradient-border-btn">
{{ get_phrase('Contact with Us') }}
<i class="fa-solid fa-arrow-right-long ms-2"></i></a>
</div>
</div>
</div>
<div class="col-lg-8 col-md-8">
<div class="row">
<div class="col-lg-3 col-md-6">
<div class="footer-widget">
<h4>{{ get_phrase('Top Categories') }}</h4>
<ul>
@foreach (top_categories() as $category)
<li>
<a href="{{ route('courses', $category->slug) }}">
{{ ucfirst($category->title) }}</a>
</li>
@endforeach
</ul>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="footer-widget">
<h4>{{ get_phrase('Useful links') }}</h4>
<ul>
<li><a href="{{ route('courses') }}">{{ get_phrase('Course') }}</a></li>
<li><a href="{{ route('blogs') }}">{{ get_phrase('Blog') }}</a></li>
<li><a href="{{ route('knowledge.base.topicks') }}">{{ get_phrase('Knowledge Base') }}</a></li>
</ul>
</div>
</div>
<div class="col-lg-6 col-md-6">
<div class="footer-widget">
<h4>{{ get_phrase('Company') }}</h4>
<ul>
<li>
<a href="#">
{{ get_phrase('Phone : ') }}
{{ get_settings('phone') }}
</a>
</li>
<li>
<a href="#">
{{ get_phrase('Email : ') }}
{{ get_settings('system_email') }}
</a>
</li>
</ul>
<div class="newslater-bottom">
<h4 class="builder-editable" builder-identity="2">{{ get_phrase("Buletin") }}</h4>
<p class="description builder-editable" builder-identity="3">{{ get_phrase("Berlangganan untuk tetap mendapatkan pembaruan desain web dan pembaruan terbaru. Ayo lakukan!") }}</p>
<form action="{{ route('newsletter.store') }}" method="post" class="newslater-form" id="newslater-form">
@csrf
<input type="text" name="email" class="form-control" placeholder="{{ get_phrase('Email address') }}">
@if(get_frontend_settings('recaptcha_status'))
<button class="eBtn gradient g-recaptcha" data-sitekey="{{ get_frontend_settings('recaptcha_sitekey') }}" data-callback='onNewslaterSubmit' data-action='submit'>{{ get_phrase('Submit') }}</button>
@else
<button class="eBtn gradient">{{ get_phrase('Submit') }}</button>
@endif
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer-bottom">
<div class="container">
<div class="row">
<div class="col-lg-8">
<ul class="footer-policy">
<li><a href="{{ route('about.us') }}">{{ get_phrase('About Us') }}</a></li>
<li><a href="{{ route('privacy.policy') }}">{{ get_phrase('Privacy Policy') }}</a></li>
<li><a href="{{ route('terms.condition') }}">{{ get_phrase('Terms And Use') }}</a></li>
<li><a href="{{ route('refund.policy') }}">{{ get_phrase('Sales and Refunds') }}</a></li>
<li><a href="{{ route('cookie.policy') }}">{{ get_phrase('Cookie Policy') }}</a></li>
<li><a href="{{ route('faq') }}">{{ get_phrase('FAQ') }}</a></li>
</ul>
</div>
<div class="col-lg-4">
<div class="copyright-text">
<p class="builder-editable" builder-identity="4">{{ get_phrase("© 2024 Semua Hak Dilindungi") }}</p>
</div>
</div>
</div>
</div>
</div>
</footer>
@push('js')
<script>
"use strict";
function onNewslaterSubmit(token) {
document.getElementById("newslater-form").submit();
}
</script>
@endpush