65 lines
2.2 KiB
PHP
65 lines
2.2 KiB
PHP
<?php
|
|
// Copyright 2026 Umbra Tools (umbratools.com)
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
/**
|
|
* Template Name: About
|
|
*/
|
|
|
|
get_header();
|
|
?>
|
|
|
|
<div class="about-container">
|
|
<div class="about-left-column">
|
|
<?php
|
|
if (have_posts()) :
|
|
while (have_posts()) :
|
|
the_post();
|
|
the_content();
|
|
?>
|
|
|
|
<div class="awards-section">
|
|
<h3><?php esc_html_e('Awards & Recognition', 'bd-murphy'); ?></h3>
|
|
<ul class="awards-list">
|
|
<?php
|
|
$awards = BD_BookShelfHelper::get_awards();
|
|
foreach ($awards as $award) {
|
|
echo '<li class="award-item"><span class="award-dot"></span>' . esc_html($award) . '</li>';
|
|
}
|
|
?>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="donate-section">
|
|
<?php bdm_display_donate_buttons(); ?>
|
|
</div>
|
|
|
|
<div class="signup-section">
|
|
<h4><?php esc_html_e('Stay Updated', 'bd-murphy'); ?></h4>
|
|
<p><?php esc_html_e('Sign up to receive updates about new releases, news, and exclusive content.', 'bd-murphy'); ?></p>
|
|
<a href="<?php echo esc_url(home_url('/signup/')); ?>" class="signup-btn"><?php esc_html_e('Sign up for updates', 'bd-murphy'); ?></a>
|
|
</div>
|
|
<?php
|
|
endwhile;
|
|
endif;
|
|
?>
|
|
</div>
|
|
|
|
<aside class="about-right-column">
|
|
<div class="about-sidebar">
|
|
<div class="author-photo-container">
|
|
<?php bdm_display_author_photo(); ?>
|
|
</div>
|
|
|
|
<div class="signup-card">
|
|
<h4><?php esc_html_e('Newsletter', 'bd-murphy'); ?></h4>
|
|
<p><?php esc_html_e('Get notified about new releases and updates.', 'bd-murphy'); ?></p>
|
|
<a href="<?php echo esc_url(home_url('/signup/')); ?>" class="signup-btn"><?php esc_html_e('Sign up for updates', 'bd-murphy'); ?></a>
|
|
</div>
|
|
</div>
|
|
</aside>
|
|
</div>
|
|
|
|
<?php
|
|
get_footer();
|