feat(core): integrasi Plus Jakarta Sans, refactor index.php, dan tambahkan page.php serta 404.php

This commit is contained in:
Mas Budi Kusuma
2026-09-15 21:11:36 +07:00
parent 226e09f2b1
commit bbdce3157d
5 changed files with 359 additions and 274 deletions
+38
View File
@@ -0,0 +1,38 @@
<?php
/**
* Template untuk halaman statis tunggal (Page)
*/
get_header();
?>
<main id="primary" class="site-main" style="padding: 60px 0; min-height: 75vh; background-color: #f8fafc;">
<div class="container">
<?php while ( have_posts() ) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class( 'card-style' ); ?> style="padding: 45px; max-width: 980px; margin: 0 auto;">
<header class="entry-header" style="margin-bottom: 30px; border-bottom: 1px solid #e2e8f0; padding-bottom: 20px;">
<h1 class="entry-title" style="font-size: 32px; font-weight: 800; color: var(--heading-color);">
<?php the_title(); ?>
</h1>
</header>
<?php if ( has_post_thumbnail() ) : ?>
<div class="post-thumbnail" style="margin-bottom: 35px; 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>
</article>
<?php endwhile; ?>
</div>
</main>
<?php
get_footer();
?>