|
17 | 17 | <body <?php body_class(); ?>> |
18 | 18 | <?php wp_body_open(); ?> |
19 | 19 |
|
20 | | -<header class="site-header"> |
21 | | - <div class="container"> |
22 | | - <div class="header-content"> |
23 | | - <div class="site-branding"> |
24 | | - <h1 class="site-title"> |
25 | | - <a href="<?php echo esc_url(home_url('/')); ?>" rel="home"> |
26 | | - <?php bloginfo('name'); ?> |
27 | | - </a> |
28 | | - </h1> |
29 | | - <?php |
30 | | - $tagline = get_theme_mod('minimalcode_tagline', get_bloginfo('description')); |
31 | | - if ($tagline) : |
32 | | - ?> |
33 | | - <p class="site-description"><?php echo esc_html($tagline); ?></p> |
34 | | - <?php endif; ?> |
35 | | - </div> |
| 20 | +<div class="ticker" aria-label="<?php esc_attr_e( 'Site status ticker', 'minimalcode' ); ?>"> |
| 21 | + <div class="ticker-track"> |
| 22 | + <?php |
| 23 | + $ticker_items = array( |
| 24 | + 'automem recall pipeline live', |
| 25 | + 'autohub orchestration notes', |
| 26 | + 'wp fusion still pays the bills', |
| 27 | + 'autojack last pass: recent', |
| 28 | + 'skills indexed locally', |
| 29 | + 'debug notes from production', |
| 30 | + ); |
36 | 31 |
|
37 | | - <nav class="main-navigation"> |
38 | | - <?php |
39 | | - wp_nav_menu(array( |
40 | | - 'theme_location' => 'primary', |
41 | | - 'menu_class' => 'nav-menu', |
42 | | - 'container' => false, |
43 | | - 'fallback_cb' => false, |
44 | | - )); |
45 | | - ?> |
46 | | - <button class="search-trigger" aria-label="Search (⌘K)" title="Search (⌘K)"> |
47 | | - <?php minimalcode_the_icon('search', 20); ?> |
48 | | - <span class="search-trigger-label">Search…</span> |
49 | | - <span class="search-kbd">⌘K</span> |
50 | | - </button> |
51 | | - <button class="theme-toggle" aria-label="Toggle dark mode" title="Toggle dark mode"> |
52 | | - <span class="sun-icon"><?php minimalcode_the_icon('sun', 20); ?></span> |
53 | | - <span class="moon-icon"><?php minimalcode_the_icon('moon', 20); ?></span> |
54 | | - </button> |
55 | | - <?php |
56 | | - $header_social = minimalcode_social_links(); |
57 | | - if ( array_filter( array( |
58 | | - 'github' => $header_social['github'], |
59 | | - 'twitter' => $header_social['twitter'], |
60 | | - 'linkedin' => $header_social['linkedin'], |
61 | | - ) ) ) : |
62 | | - ?> |
63 | | - <ul class="header-social" aria-label="Social links"> |
64 | | - <?php if ( $header_social['github'] ) : ?> |
65 | | - <li><a class="social-squircle" href="<?php echo esc_url( $header_social['github'] ); ?>" target="_blank" rel="noopener noreferrer" aria-label="GitHub" title="GitHub"><?php minimalcode_the_icon('github', 20); ?></a></li> |
66 | | - <?php endif; ?> |
67 | | - <?php if ( $header_social['twitter'] ) : ?> |
68 | | - <li><a class="social-squircle" href="<?php echo esc_url( $header_social['twitter'] ); ?>" target="_blank" rel="noopener noreferrer" aria-label="X (Twitter)" title="X (Twitter)"><?php minimalcode_the_icon('twitter', 20); ?></a></li> |
69 | | - <?php endif; ?> |
70 | | - <?php if ( $header_social['linkedin'] ) : ?> |
71 | | - <li><a class="social-squircle" href="<?php echo esc_url( $header_social['linkedin'] ); ?>" target="_blank" rel="noopener noreferrer" aria-label="LinkedIn" title="LinkedIn"><?php minimalcode_the_icon('linkedin', 20); ?></a></li> |
72 | | - <?php endif; ?> |
73 | | - </ul> |
74 | | - <?php endif; ?> |
75 | | - </nav> |
76 | | - </div> |
77 | | - </div> |
| 32 | + foreach ( array_merge( $ticker_items, $ticker_items ) as $ticker_item ) : |
| 33 | + ?> |
| 34 | + <span><?php echo esc_html( $ticker_item ); ?><span class="dot">•</span></span> |
| 35 | + <?php endforeach; ?> |
| 36 | + </div> |
| 37 | +</div> |
| 38 | + |
| 39 | +<header class="masthead wrap"> |
| 40 | + <div class="mast-row"> |
| 41 | + <div class="brand"> |
| 42 | + <a class="brand-logo" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"> |
| 43 | + <?php bloginfo( 'name' ); ?> |
| 44 | + </a> |
| 45 | + <div class="brand-meta"> |
| 46 | + VOL.04 / <span class="iss">ISS.27</span><br> |
| 47 | + EST. 2009 · MIA / LIS<br> |
| 48 | + jack arturo · vgp |
| 49 | + </div> |
| 50 | + </div> |
| 51 | + |
| 52 | + <div class="mast-tag serif"> |
| 53 | + "Just another <span class="pull">Wordprussite</span>." — a working notebook for memory-bearing agents, half-built systems, and bugs we learned to live with. |
| 54 | + </div> |
| 55 | + |
| 56 | + <div class="mast-utility"> |
| 57 | + <button class="util-btn search-trigger" aria-label="Search (⌘K)" title="Search (⌘K)"> |
| 58 | + <span class="search-kbd">⌘K</span> |
| 59 | + <span class="search-trigger-label"><?php esc_html_e( 'Search', 'minimalcode' ); ?></span> |
| 60 | + </button> |
| 61 | + <button class="util-btn theme-toggle" aria-label="Toggle dark mode" title="Toggle dark mode"> |
| 62 | + <span class="sun-icon"><?php esc_html_e( 'Light', 'minimalcode' ); ?></span> |
| 63 | + <span class="moon-icon"><?php esc_html_e( 'Dark', 'minimalcode' ); ?></span> |
| 64 | + </button> |
| 65 | + <a class="util-btn hot" href="<?php echo esc_url( get_feed_link() ); ?>"><?php esc_html_e( 'RSS', 'minimalcode' ); ?></a> |
| 66 | + </div> |
| 67 | + </div> |
78 | 68 | </header> |
79 | 69 |
|
| 70 | +<nav class="nav wrap" aria-label="<?php esc_attr_e( 'Primary navigation', 'minimalcode' ); ?>"> |
| 71 | + <a class="nav-item <?php echo is_home() ? 'active' : ''; ?>" href="<?php echo esc_url( home_url( '/' ) ); ?>"> |
| 72 | + <span class="nav-num">01</span> <?php esc_html_e( 'Log', 'minimalcode' ); ?> |
| 73 | + </a> |
| 74 | + <a class="nav-item <?php echo is_post_type_archive( 'project' ) ? 'active' : ''; ?>" href="<?php echo esc_url( get_post_type_archive_link( 'project' ) ); ?>"> |
| 75 | + <span class="nav-num">02</span> <?php esc_html_e( 'Projects', 'minimalcode' ); ?> |
| 76 | + </a> |
| 77 | + <a class="nav-item" href="<?php echo esc_url( home_url( '/dev-pulse/' ) ); ?>"> |
| 78 | + <span class="nav-num">03</span> <?php esc_html_e( 'Dev Pulse', 'minimalcode' ); ?> |
| 79 | + </a> |
| 80 | + <a class="nav-item" href="<?php echo esc_url( home_url( '/about/' ) ); ?>"> |
| 81 | + <span class="nav-num">04</span> <?php esc_html_e( 'About', 'minimalcode' ); ?> |
| 82 | + </a> |
| 83 | + <a class="nav-item" href="<?php echo esc_url( home_url( '/colophon/' ) ); ?>"> |
| 84 | + <span class="nav-num">05</span> <?php esc_html_e( 'Colophon', 'minimalcode' ); ?> |
| 85 | + </a> |
| 86 | + <span class="nav-spacer" aria-hidden="true"></span> |
| 87 | + <span class="nav-status"><span class="live-dot"></span><?php esc_html_e( 'Live', 'minimalcode' ); ?></span> |
| 88 | +</nav> |
| 89 | + |
80 | 90 | <main id="main" class="site-main"> |
81 | 91 |
|
0 commit comments