feat(core): integrasi navigasi hamburger mobile, single-program template, floating whatsapp, dan back-to-top

This commit is contained in:
Mas Budi Kusuma
2026-09-15 23:08:59 +07:00
parent 77819e7d1f
commit 9786cd515a
4 changed files with 224 additions and 41 deletions
+51
View File
@@ -0,0 +1,51 @@
<?php
/**
* Template untuk Detail Program Akademik / Unggulan
*/
get_header();
?>
<main id="primary" class="site-main" style="padding: 50px 0; background-color: #f8fafc; min-height: 75vh;">
<div class="container single-layout-wrapper">
<!-- Detail Konten Program -->
<article id="post-<?php the_ID(); ?>" <?php post_class( 'card-style' ); ?> style="padding: 40px;">
<?php while ( have_posts() ) : the_post(); ?>
<header class="entry-header" style="margin-bottom: 25px; border-bottom: 1px solid #e2e8f0; padding-bottom: 15px;">
<span class="badge-title">PROGRAM STUDI & KEUNGGULAN</span>
<h1 class="entry-title" style="color: var(--heading-color); margin-top: 5px; font-size: 30px;">
<?php the_title(); ?>
</h1>
</header>
<?php if ( has_post_thumbnail() ) : ?>
<div class="post-thumbnail" style="margin-bottom: 30px; border-radius: var(--radius); overflow: hidden;">
<?php the_post_thumbnail( 'full', array( 'style' => 'width: 100%; height: auto; display: block;' ) ); ?>
</div>
<?php endif; ?>
<div class="entry-content">
<?php the_content(); ?>
</div>
<div class="card-style" style="margin-top: 40px; padding: 25px; background: #f1f5f9; border-left: 5px solid var(--secondary-color);">
<h3 style="margin-bottom: 8px; font-size: 18px; color: var(--heading-color);">Tertarik dengan program ini?</h3>
<p style="font-size: 14px; color: var(--text-muted); margin-bottom: 18px;">
Dapatkan informasi lengkap mengenai syarat pendaftaran, kurikulum terpadu, dan beasiswa pendidikan yang tersedia.
</p>
<a href="<?php echo esc_url( get_option( 'edukarsa_cta_btn_url', '#footer' ) ); ?>" class="btn-primary">
Konsultasi Program &raquo;
</a>
</div>
<?php endwhile; ?>
</article>
<!-- Sidebar Widget -->
<?php get_sidebar(); ?>
</div>
</main>
<?php
get_footer();
?>