✨feature: Update project archive title and enhance header layout
This commit is contained in:
@@ -10,14 +10,16 @@ namespace KsPortfolio;
|
|||||||
get_header();
|
get_header();
|
||||||
|
|
||||||
$hero_intro = get_field( 'archive_intro', (int) get_queried_object_id() );
|
$hero_intro = get_field( 'archive_intro', (int) get_queried_object_id() );
|
||||||
|
|
||||||
if ( ! $hero_intro ) {
|
if ( ! $hero_intro ) {
|
||||||
$hero_intro = __( 'A comprehensive catalog of WordPress plugins, custom themes, and open-source contributions developed for scalable enterprise environments. Focused on modern development practices, performant architectures, and secure integrations.', 'ks-portfolio' );
|
$hero_intro = __( 'A comprehensive catalog of WordPress plugins, custom themes, and open-source contributions developed for scalable enterprise environments. Focused on modern development practices, performant architectures, and secure integrations.', 'ks-portfolio' );
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<section class="archive-projects">
|
<section class="archive-projects">
|
||||||
<div class="container mx-auto my-section">
|
<div class="container mx-auto my-section">
|
||||||
<header class="archive-projects__head">
|
<header class="archive-projects__head">
|
||||||
<h1 class="archive-projects__title"><?php echo esc_html__( 'Project Archive', 'ks-portfolio' ); ?></h1>
|
<h1 class="archive-projects__title"><?php echo esc_html__( 'Projects', 'ks-portfolio' ); ?></h1>
|
||||||
<p class="archive-projects__intro"><?php echo esc_html( $hero_intro ); ?></p>
|
<p class="archive-projects__intro"><?php echo esc_html( $hero_intro ); ?></p>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|||||||
+8
-6
@@ -54,13 +54,15 @@ $showHero = in_array(
|
|||||||
<img class="site-header__logo-img aspect-square h-full w-full max-h-12 max-w-12" src="<?php echo esc_url( $headerLogo ); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name' ) ); ?> logo" /> Keith Solomon
|
<img class="site-header__logo-img aspect-square h-full w-full max-h-12 max-w-12" src="<?php echo esc_url( $headerLogo ); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name' ) ); ?> logo" /> Keith Solomon
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<?php get_template_part( 'views/components/nav-main' ); ?>
|
<div class="headRight lg:flex lg:items-center lg:gap-x-4 lg:gap-y-0 lg:justify-end">
|
||||||
|
<?php get_template_part( 'views/components/nav-main' ); ?>
|
||||||
|
|
||||||
<div class="site-header__aux hidden lg:flex">
|
<div class="site-header__aux hidden lg:flex">
|
||||||
<a class="button button--outline" href="<?php echo esc_url( $linkResume ); ?>">
|
<a class="button button--outline" href="<?php echo esc_url( $linkResume ); ?>">
|
||||||
<?php echo esc_html__( 'Resume', 'ks-portfolio' ); ?>
|
<?php echo esc_html__( 'Resume', 'ks-portfolio' ); ?>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user