chore: inisialisasi repo tema edukarsa
This commit is contained in:
+65
@@ -0,0 +1,65 @@
|
||||
<!-- SEKSI LOGO MITRA / AKREDITASI -->
|
||||
<div class="partner-logos text-center" style="padding: 40px 0; background: #fff;">
|
||||
<div class="container" style="display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;">
|
||||
<img src="<?php echo get_template_directory_uri(); ?>/assets/logo-kemdikbud.png" alt="Kemdikbud" style="height: 60px; filter: grayscale(100%);" onerror="this.style.display='none'">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- MAIN FOOTER -->
|
||||
<footer style="background-color: var(--primary-color); color: #ffffff; padding: 60px 0 30px;">
|
||||
<div class="container" style="display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px;">
|
||||
<!-- Kolom 1: Kontak -->
|
||||
<div class="footer-col">
|
||||
<h3 style="color: #fff; margin-bottom: 20px;">Hubungi Kami</h3>
|
||||
<p style="font-size: 15px; opacity: 0.9; line-height: 1.8;">
|
||||
📍 <?php echo nl2br(esc_html(get_option('edukarsa_footer_alamat', 'Alamat belum diisi'))); ?><br>
|
||||
📞 <?php echo esc_html(get_option('edukarsa_footer_telp', '000-0000')); ?><br>
|
||||
✉️ <?php echo esc_html(get_option('edukarsa_footer_email', '[email protected]')); ?>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<!-- Kolom 2: Tautan -->
|
||||
<div class="footer-col">
|
||||
<h3 style="color: #fff; margin-bottom: 20px;">Tautan Penting</h3>
|
||||
<nav class="footer-navigation">
|
||||
<?php
|
||||
wp_nav_menu( array(
|
||||
'theme_location' => 'menu-footer',
|
||||
'fallback_cb' => false,
|
||||
'container' => false,
|
||||
'menu_class' => 'footer-links-custom'
|
||||
) );
|
||||
?>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<!-- Kolom 3: Sosial Media -->
|
||||
<div class="footer-col">
|
||||
<h3 style="color: #fff; margin-bottom: 20px;">Ikuti Kami</h3>
|
||||
<div class="social-icons" style="display: flex; gap: 20px;">
|
||||
<!-- Pengecekan Toggle Tampil dari Dashboard -->
|
||||
<?php if( get_option('edukarsa_tampil_fb', 1) == 1 ) : ?>
|
||||
<a href="<?php echo esc_url(get_option('edukarsa_footer_fb', '#')); ?>" target="_blank" style="color: #fff; font-size: 20px; font-weight:bold;">FB</a>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if( get_option('edukarsa_tampil_ig', 1) == 1 ) : ?>
|
||||
<a href="<?php echo esc_url(get_option('edukarsa_footer_ig', '#')); ?>" target="_blank" style="color: #fff; font-size: 20px; font-weight:bold;">IG</a>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if( get_option('edukarsa_tampil_yt', 1) == 1 ) : ?>
|
||||
<a href="<?php echo esc_url(get_option('edukarsa_footer_yt', '#')); ?>" target="_blank" style="color: #fff; font-size: 20px; font-weight:bold;">YT</a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer-bottom" style="border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center;">
|
||||
<p style="margin: 0; font-size: 14px; opacity: 0.7;">
|
||||
© <?php echo date( 'Y' ); ?> <?php echo esc_html(get_option('edukarsa_footer_copyright', 'Semua Hak Dilindungi')); ?>.
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<?php wp_footer(); ?>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user