feat: brand identity v1.0.0 — Direction C Trusted Guide (theme v2.0.0-alpha.1)
Implements weeks 1–4 of the CMO brand identity sprint. Key changes: - CSS token system (assets/css/brand.css): full palette, verdict tokens, component styles - Poppins/Inter/IBM Plex Mono Google Fonts loading with preload - Full favicon/PWA/OG asset pack (peptide-repo-brand v1.0.0) - 5-state verdict badge + card + evidence row components - verdict_state + signal_row post meta on pr_peptide CPT - Homepage hero: teal bg, new H1/subhead, lime search bar - Archive verdict filter chips (CSS + pre_get_posts query hook) - Affiliate disclosure component (3 contexts) - page-how-we-review.php + page-about.php templates - Footer Our Method links - a11y: skip-to-content, reduced-motion, aria on verdict badges QA: PASS (0 blockers) — qa-reviews/peptide-starter-theme/2026-04-26-a2bff59.md Staging verified: https://staging.peptiderepo.com
This commit is contained in:
@@ -136,6 +136,15 @@ function peptide_starter_the_custom_logo() {
|
||||
the_custom_logo();
|
||||
return;
|
||||
}
|
||||
// Use SVG logo if available
|
||||
$logo_path = get_template_directory() . '/assets/brand/logo-horizontal.svg';
|
||||
if ( file_exists( $logo_path ) ) {
|
||||
echo '<a class="site-logo" href="' . esc_url( home_url( '/' ) ) . '" rel="home" aria-label="' . esc_attr( get_bloginfo( 'name' ) ) . '">';
|
||||
include $logo_path;
|
||||
echo '</a>';
|
||||
return;
|
||||
}
|
||||
// Fallback to text
|
||||
$site_name = get_bloginfo( 'name' );
|
||||
echo '<a class="site-logo" href="' . esc_url( home_url( '/' ) ) . '" rel="home">' . esc_html( $site_name ) . '</a>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user