Hero Home
**Site relevance:** 2IA.org
**Memory type:** theme source memory
**Source path:** 2IA.org/wp-content/themes/twoia-intelligence/template-parts/hero-home.php
**Size:** 5.3 KB
Summary
$primary url = twoia normalize url( twoia theme mod( 'twoia hero primary url', '/start-here/' ) );
Source Preview
This source file is short enough to preview directly on its source-memory page.
<?php
/**
* Home hero section.
*
* @package TwoIA
*/
$primary_url = twoia_normalize_url( twoia_theme_mod( 'twoia_hero_primary_url', '/start-here/' ) );
$secondary_url = twoia_normalize_url( twoia_theme_mod( 'twoia_hero_secondary_url', '/research/' ) );
$hero_image = get_template_directory_uri() . '/assets/images/2ia-home-page-top-right.png';
$share_text = sprintf(
/* translators: %s: Site URL. */
__( 'Public power is hiding in contracts, broker files, court pressure, risk scores, public-records delays, metadata trails, censorship pressure, intelligence history, and correction failures. 2IA turns that fog into records, questions, and lawful pressure. Start here: %s', 'two-identities-anonymous' ),
home_url( '/' )
);
?>
<section class="hero section" aria-labelledby="hero-title">
<div class="hero__grid signal-grid" aria-hidden="true"></div>
<div class="hero__content">
<p class="eyebrow"><?php echo esc_html( twoia_theme_mod( 'twoia_hero_eyebrow', 'PUBLIC RECORDS / SURVEILLANCE / ACCOUNTABILITY' ) ); ?></p>
<h1 id="hero-title"><?php echo esc_html( twoia_theme_mod( 'twoia_hero_title', 'Independent public-interest research on surveillance, intelligence power, public records, and freedom' ) ); ?></h1>
<p class="hero__subtitle"><?php echo esc_html( twoia_theme_mod( 'twoia_hero_subtitle', '2IA investigates the civil-liberties fights that decide whether people can speak, read, organize, research, and dissent without being profiled or coerced.' ) ); ?></p>
<div class="hero__body">
<p><?php echo wp_kses_post( twoia_theme_mod( 'twoia_hero_body', '2IA follows the paperwork of control: surveillance contracts, broker files, court pressure, risk scores, public-records delays, metadata trails, censorship pressure, intelligence history, and correction failures. Pull the record. Name who benefits. Show who gets hurt. Make power answerable.' ) ); ?></p>
</div>
<p class="hero__pledge"><strong><?php esc_html_e( 'Independent. Lawful. Evidence-led.', 'two-identities-anonymous' ); ?></strong> <?php echo esc_html( twoia_civil_libertarian_key_phrase() ); ?></p>
<div class="hero__actions">
<a class="button button--primary" href="<?php echo esc_url( $primary_url ); ?>"><?php echo esc_html( twoia_theme_mod( 'twoia_hero_primary_text', 'Start Here' ) ); ?></a>
<a class="button button--secondary" href="<?php echo esc_url( $secondary_url ); ?>"><?php echo esc_html( twoia_theme_mod( 'twoia_hero_secondary_text', 'Read Research' ) ); ?></a>
</div>
<div class="hero__feature-row" aria-label="<?php esc_attr_e( '2IA research posture', 'two-identities-anonymous' ); ?>">
<span><strong><?php esc_html_e( 'Read', 'two-identities-anonymous' ); ?></strong><?php esc_html_e( 'Research files', 'two-identities-anonymous' ); ?></span>
<span><strong><?php esc_html_e( 'Request', 'two-identities-anonymous' ); ?></strong><?php esc_html_e( 'Records and contracts', 'two-identities-anonymous' ); ?></span>
<span><strong><?php esc_html_e( 'Correct', 'two-identities-anonymous' ); ?></strong><?php esc_html_e( 'Flags and claims', 'two-identities-anonymous' ); ?></span>
</div>
</div>
<div class="hero__visual" aria-hidden="true">
<figure class="hero-media">
<img class="hero__image" src="<?php echo esc_url( $hero_image ); ?>" alt="" width="1664" height="1248" decoding="async" fetchpriority="high">
<div class="hero-media__hud hero-media__hud--top">
<span><?php esc_html_e( 'Record trail: contracts, policies, appeals', 'two-identities-anonymous' ); ?></span>
<span><?php esc_html_e( 'Focus: surveillance, scoring, secrecy', 'two-identities-anonymous' ); ?></span>
<span><?php esc_html_e( 'Method: public records and verification', 'two-identities-anonymous' ); ?></span>
</div>
<div class="hero-media__hud hero-media__hud--bottom">
<span><?php esc_html_e( 'Question: who benefits?', 'two-identities-anonymous' ); ?></span>
<span><?php esc_html_e( 'Next step: pull the record', 'two-identities-anonymous' ); ?></span>
</div>
</figure>
<div class="hero__record-panel" aria-label="<?php esc_attr_e( 'First records to pull', 'two-identities-anonymous' ); ?>">
<span><?php esc_html_e( 'First records to pull', 'two-identities-anonymous' ); ?></span>
<div>
<strong><?php esc_html_e( 'Contract', 'two-identities-anonymous' ); ?></strong>
<em><?php esc_html_e( 'Vendor, scope, price, data terms.', 'two-identities-anonymous' ); ?></em>
</div>
<div>
<strong><?php esc_html_e( 'Policy', 'two-identities-anonymous' ); ?></strong>
<em><?php esc_html_e( 'Authority, retention, access, appeal.', 'two-identities-anonymous' ); ?></em>
</div>
<div>
<strong><?php esc_html_e( 'Correction log', 'two-identities-anonymous' ); ?></strong>
<em><?php esc_html_e( 'Error, owner, downstream repair.', 'two-identities-anonymous' ); ?></em>
</div>
</div>
<div class="hero__share">
<span><?php esc_html_e( 'When the system looks too big to fight', 'two-identities-anonymous' ); ?></span>
<p><?php esc_html_e( 'Name the machine, pull the record, and make the demand public enough to answer.', 'two-identities-anonymous' ); ?></p>
<button class="button button--secondary" type="button" data-copy-text="<?php echo esc_attr( $share_text ); ?>" data-copy-success="<?php esc_attr_e( 'Argument copied', 'two-identities-anonymous' ); ?>"><?php esc_html_e( 'Copy the argument', 'two-identities-anonymous' ); ?></button>
</div>
</div>
</section>