feat(home): build complete homepage and global templates
Scaffolds all components needed for the home and ships a working
front-page implementation covering the 9-section wireframe.
Components (assets/css/components.css)
- 13 sections per Design Handoff section 3:
buttons, links, forms, cards (5 variants), stat callouts, header,
nav, mega menu, drawer, footer, hero, logo strip, eyebrow,
section title/lead, conversion banner, scroll reveal.
- All token-driven, prefixed `av-`, BEM-light. Mobile-first with
768/1024/1280 breakpoints. Respects prefers-reduced-motion.
Global templates
- header.php: sticky header (60px mobile / 72px desktop), 5-item
nav, language switcher, primary CTA, mobile drawer with hamburger
toggle. Skip link first focusable element.
- footer.php: 5-column dark footer (Solutions, Industries, Why
Asterion, Why Asterion, Newsletter), bottom strip with legal
links + social.
- index.php: archive/search/blog fallback rendering posts in
card-blog layout.
- front-page.php: full home with 9 sections, EN copy lifted
verbatim from PDF Strategie D.1:
1. Hero "Your Last Mistake Should Be in VR." + 2 CTAs
2. Trust bar (placeholder logos + 4 inline metrics)
3. Solutions: MY / FLEX / ACADEMY (3 cards)
4. Industries: Police / SF / Military / Firefighters (2x2)
5. Feature heroes: UWeD, Instructor Cockpit, AAR (alternating)
6. Featured case study with 3 stat callouts
7. Testimonials (3 quote cards)
8. Latest insights (queries `post`; placeholder when empty)
9. Conversion banner (Demo / T&E / Quote)
Verified: HTTP 200 on http://localhost:10004/, 73 KB HTML, 418 ms.
Outstanding (deferred)
- Hero video master + photographs (see MISSING-ASSETS.md)
- Mega menu content (links currently flat to section index)
- Form posts (newsletter currently no-op POST)
- Bricks license activation (manual, requires user key)
- WPML setup wizard (manual, requires user key)
- Lighthouse + axe full audit (visual env required)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -6,36 +6,28 @@
|
||||
*
|
||||
* Naming : `.av-<component>` base, `.av-<component>--<modifier>`,
|
||||
* `.av-<component>__<element>`, `.av-<component>.is-<state>`.
|
||||
*
|
||||
* Reference : Design Handoff Specification, section 3.
|
||||
*
|
||||
* Index :
|
||||
* 1. Buttons .av-btn
|
||||
* 2. Links .av-link
|
||||
* 3. Forms .av-input / .av-label / .av-select / .av-textarea
|
||||
* 4. Cards .av-card and variants
|
||||
* 5. Stat callout .av-stat
|
||||
* 6. Header & navigation .av-header / .av-nav / .av-megamenu / .av-drawer
|
||||
* 7. Footer .av-footer
|
||||
* 8. Hero .av-hero
|
||||
* 9. Logo strip .av-logo-strip
|
||||
* 10. Eyebrow / overline .av-eyebrow
|
||||
* 11. Section titles .av-section__title / .av-section__lead
|
||||
* 12. Conversion banner .av-conversion-banner
|
||||
* 13. Reveal animation [data-av-reveal]
|
||||
*/
|
||||
|
||||
/* ============================================================================
|
||||
Section index (filled progressively as components ship)
|
||||
|
||||
1. Buttons .av-btn
|
||||
2. Links .av-link
|
||||
3. Forms .av-input, .av-label, .av-select, .av-textarea
|
||||
4. Cards .av-card and variants
|
||||
5. Stat callout .av-stat
|
||||
6. Navigation header .av-header, .av-nav, .av-megamenu, .av-drawer
|
||||
7. Footer .av-footer
|
||||
8. Alerts & toasts .av-alert, .av-toast
|
||||
9. Modals .av-modal
|
||||
10. Tooltips & popovers .av-tooltip
|
||||
11. Tabs & accordions .av-tabs, .av-accordion
|
||||
12. Tables .av-table
|
||||
13. Badges & tags .av-badge
|
||||
|
||||
Reference : Design Handoff Specification, section 3.
|
||||
============================================================================ */
|
||||
|
||||
|
||||
/* ============================================================================
|
||||
1. Buttons (Design Handoff section 3.1)
|
||||
|
||||
Variants : primary, secondary, ghost, on-dark, destructive
|
||||
Sizes : sm (32px), md (44px default), lg (52px), xl (60px hero only)
|
||||
States : default, hover, focus, active, disabled, loading
|
||||
Border radius : radius-sm by default (tactical aesthetic — crisp corners).
|
||||
============================================================================ */
|
||||
|
||||
.av-btn {
|
||||
@@ -49,7 +41,6 @@
|
||||
font-size: var(--text-body-md);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
line-height: 1;
|
||||
letter-spacing: 0;
|
||||
text-decoration: none;
|
||||
border: var(--border-default) solid transparent;
|
||||
border-radius: var(--radius-sm);
|
||||
@@ -65,43 +56,13 @@
|
||||
}
|
||||
|
||||
.av-btn:disabled,
|
||||
.av-btn.is-disabled {
|
||||
opacity: 0.4;
|
||||
cursor: not-allowed;
|
||||
pointer-events: none;
|
||||
}
|
||||
.av-btn.is-disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
|
||||
.av-btn.is-loading { cursor: wait; }
|
||||
|
||||
.av-btn.is-loading {
|
||||
cursor: wait;
|
||||
}
|
||||
|
||||
/* --- Sizes --- */
|
||||
|
||||
.av-btn--sm {
|
||||
height: 32px;
|
||||
padding: 0 var(--space-3);
|
||||
font-size: var(--text-body-sm);
|
||||
}
|
||||
|
||||
.av-btn--md {
|
||||
height: 44px;
|
||||
padding: 0 var(--space-5);
|
||||
}
|
||||
|
||||
.av-btn--lg {
|
||||
height: 52px;
|
||||
padding: 0 var(--space-7, 1.75rem);
|
||||
font-size: var(--text-body-lg);
|
||||
}
|
||||
|
||||
.av-btn--xl {
|
||||
height: 60px;
|
||||
padding: 0 var(--space-9, 2.25rem);
|
||||
font-size: var(--text-h4);
|
||||
font-weight: var(--font-weight-bold);
|
||||
}
|
||||
|
||||
/* --- Variant : primary (gold fill, navy text) --- */
|
||||
.av-btn--sm { height: 32px; padding: 0 var(--space-3); font-size: var(--text-body-sm); }
|
||||
.av-btn--md { height: 44px; padding: 0 var(--space-5); }
|
||||
.av-btn--lg { height: 52px; padding: 0 1.75rem; font-size: var(--text-body-lg); }
|
||||
.av-btn--xl { height: 60px; padding: 0 2.25rem; font-size: var(--text-h4); font-weight: var(--font-weight-bold); }
|
||||
|
||||
.av-btn--primary {
|
||||
background-color: var(--color-brand-gold);
|
||||
@@ -115,13 +76,7 @@
|
||||
transform: translateY(-1px);
|
||||
box-shadow: var(--shadow-glow-gold);
|
||||
}
|
||||
.av-btn--primary:active {
|
||||
transform: translateY(0);
|
||||
filter: brightness(0.92);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* --- Variant : secondary (outlined, navy text) --- */
|
||||
.av-btn--primary:active { transform: translateY(0); filter: brightness(0.92); box-shadow: none; }
|
||||
|
||||
.av-btn--secondary {
|
||||
background-color: transparent;
|
||||
@@ -134,8 +89,6 @@
|
||||
color: var(--color-text-on-dark);
|
||||
}
|
||||
|
||||
/* --- Variant : ghost (navy text, no border) --- */
|
||||
|
||||
.av-btn--ghost {
|
||||
background-color: transparent;
|
||||
color: var(--color-brand-navy);
|
||||
@@ -146,12 +99,6 @@
|
||||
background-color: var(--color-bg-subtle);
|
||||
}
|
||||
|
||||
/* --- Variant : on-dark (for dark backgrounds — text gold or white) --- */
|
||||
|
||||
.av-btn--on-dark.av-btn--primary {
|
||||
background-color: var(--color-brand-gold);
|
||||
color: var(--color-brand-navy);
|
||||
}
|
||||
.av-btn--on-dark.av-btn--secondary {
|
||||
color: var(--color-text-on-dark);
|
||||
border-color: var(--color-text-on-dark);
|
||||
@@ -161,25 +108,19 @@
|
||||
background-color: var(--color-text-on-dark);
|
||||
color: var(--color-brand-navy);
|
||||
}
|
||||
.av-btn--on-dark.av-btn--ghost {
|
||||
color: var(--color-text-on-dark);
|
||||
}
|
||||
.av-btn--on-dark.av-btn--ghost { color: var(--color-text-on-dark); }
|
||||
.av-btn--on-dark.av-btn--ghost:hover,
|
||||
.av-btn--on-dark.av-btn--ghost:focus-visible {
|
||||
background-color: var(--color-bg-dark-elevated);
|
||||
}
|
||||
|
||||
/* --- Variant : destructive --- */
|
||||
|
||||
.av-btn--destructive {
|
||||
background-color: var(--color-alert-red);
|
||||
color: var(--color-text-on-dark);
|
||||
border-color: var(--color-alert-red);
|
||||
}
|
||||
.av-btn--destructive:hover,
|
||||
.av-btn--destructive:focus-visible {
|
||||
filter: brightness(1.08);
|
||||
}
|
||||
.av-btn--destructive:focus-visible { filter: brightness(1.08); }
|
||||
|
||||
|
||||
/* ============================================================================
|
||||
@@ -197,37 +138,804 @@
|
||||
text-decoration-thickness: 1px;
|
||||
text-underline-offset: 4px;
|
||||
}
|
||||
.av-link--on-dark {
|
||||
.av-link--on-dark { color: var(--color-text-on-dark); }
|
||||
.av-link--on-dark:hover { color: var(--color-brand-gold); }
|
||||
|
||||
.av-link--with-arrow {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: var(--space-2);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
.av-link--with-arrow::after {
|
||||
content: "→";
|
||||
transition: transform var(--duration-fast) var(--ease-default);
|
||||
}
|
||||
.av-link--with-arrow:hover::after { transform: translateX(4px); }
|
||||
|
||||
|
||||
/* ============================================================================
|
||||
3. Forms — to be filled when conversion templates are built
|
||||
============================================================================ */
|
||||
|
||||
.av-input, .av-textarea, .av-select {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 44px;
|
||||
padding: 10px 12px;
|
||||
font-family: inherit;
|
||||
font-size: var(--text-body-md);
|
||||
color: var(--color-text-primary);
|
||||
background-color: var(--color-bg-default);
|
||||
border: var(--border-thin) solid var(--color-border-default);
|
||||
border-radius: var(--radius-sm);
|
||||
transition: border-color var(--duration-fast) var(--ease-default);
|
||||
}
|
||||
.av-textarea { height: auto; min-height: 96px; resize: vertical; }
|
||||
.av-input:focus,
|
||||
.av-textarea:focus,
|
||||
.av-select:focus {
|
||||
border-color: var(--color-info);
|
||||
border-width: var(--border-default);
|
||||
outline: none;
|
||||
padding: 9px 11px; /* compensate for 1px extra border */
|
||||
}
|
||||
.av-input.is-error,
|
||||
.av-textarea.is-error { border-color: var(--color-error); border-width: var(--border-default); }
|
||||
.av-input.is-success { border-color: var(--color-success); border-width: var(--border-default); }
|
||||
.av-input:disabled { background: var(--color-bg-subtle); color: var(--color-text-muted); }
|
||||
|
||||
.av-label {
|
||||
display: block;
|
||||
font-size: var(--text-body-md);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
color: var(--color-text-primary);
|
||||
margin-bottom: var(--space-2);
|
||||
}
|
||||
.av-label__required { color: var(--color-error); margin-left: var(--space-1); }
|
||||
|
||||
.av-helper {
|
||||
display: block;
|
||||
margin-top: var(--space-2);
|
||||
font-size: var(--text-body-sm);
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
.av-helper.is-error { color: var(--color-error); }
|
||||
|
||||
|
||||
/* ============================================================================
|
||||
4. Cards (Design Handoff section 3.4)
|
||||
============================================================================ */
|
||||
|
||||
.av-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-color: var(--color-bg-elevated);
|
||||
border-radius: var(--radius-md);
|
||||
box-shadow: var(--shadow-sm);
|
||||
overflow: hidden;
|
||||
transition:
|
||||
box-shadow var(--duration-default) var(--ease-default),
|
||||
transform var(--duration-default) var(--ease-default);
|
||||
}
|
||||
.av-card:hover {
|
||||
box-shadow: var(--shadow-md);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
.av-card.is-on-dark {
|
||||
background-color: var(--color-bg-dark-elevated);
|
||||
color: var(--color-text-on-dark);
|
||||
}
|
||||
.av-link--on-dark:hover {
|
||||
|
||||
.av-card__media {
|
||||
display: block;
|
||||
aspect-ratio: 4 / 3;
|
||||
background-color: var(--color-bg-subtle);
|
||||
overflow: hidden;
|
||||
}
|
||||
.av-card__media img,
|
||||
.av-card__media video {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
transition: transform var(--duration-default) var(--ease-default);
|
||||
}
|
||||
.av-card:hover .av-card__media img { transform: scale(1.04); }
|
||||
|
||||
.av-card__body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1;
|
||||
padding: var(--space-6);
|
||||
gap: var(--space-3);
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.av-card__body { padding: var(--space-8); }
|
||||
}
|
||||
|
||||
.av-card__eyebrow {
|
||||
font-family: var(--font-body);
|
||||
font-size: var(--text-overline);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: var(--tracking-overline);
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
.av-card.is-on-dark .av-card__eyebrow { color: var(--color-brand-gold); }
|
||||
|
||||
.av-card__title {
|
||||
font-family: var(--font-display);
|
||||
font-size: var(--text-h3);
|
||||
line-height: var(--leading-h3);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
color: var(--color-text-primary);
|
||||
letter-spacing: var(--tracking-snug);
|
||||
}
|
||||
.av-card.is-on-dark .av-card__title { color: var(--color-text-on-dark); }
|
||||
|
||||
.av-card__excerpt {
|
||||
font-size: var(--text-body-md);
|
||||
line-height: var(--leading-body-md);
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
.av-card.is-on-dark .av-card__excerpt { color: var(--color-text-on-dark-muted); }
|
||||
|
||||
.av-card__cta { margin-top: auto; padding-top: var(--space-4); }
|
||||
|
||||
/* Variant : feature card (icon top instead of image) */
|
||||
.av-card--feature .av-card__icon {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
margin-bottom: var(--space-2);
|
||||
color: var(--color-brand-gold);
|
||||
}
|
||||
|
||||
/* Variant : case study (image with overlay) */
|
||||
.av-card--case-study .av-card__media { aspect-ratio: 16 / 9; }
|
||||
.av-card--case-study .av-card__metric {
|
||||
font-family: var(--font-display);
|
||||
font-size: var(--text-display-md);
|
||||
font-weight: var(--font-weight-bold);
|
||||
line-height: var(--leading-display-md);
|
||||
color: var(--color-brand-gold);
|
||||
}
|
||||
|
||||
/* ============================================================================
|
||||
3. Forms — placeholder
|
||||
To be filled from Design Handoff section 3.3 when conversion templates are built.
|
||||
============================================================================ */
|
||||
/* Variant : quote (testimonial) */
|
||||
.av-card--quote {
|
||||
background-color: var(--color-bg-subtle);
|
||||
padding: var(--space-8);
|
||||
gap: var(--space-4);
|
||||
}
|
||||
.av-card--quote::before {
|
||||
content: "“";
|
||||
font-family: var(--font-display);
|
||||
font-size: 4rem;
|
||||
font-weight: var(--font-weight-bold);
|
||||
line-height: 1;
|
||||
color: var(--color-brand-gold);
|
||||
margin-bottom: -2.5rem;
|
||||
}
|
||||
.av-card--quote .av-card__quote {
|
||||
font-size: var(--text-body-lg);
|
||||
line-height: var(--leading-body-lg);
|
||||
color: var(--color-text-primary);
|
||||
font-style: italic;
|
||||
}
|
||||
.av-card--quote .av-card__attribution {
|
||||
font-size: var(--text-body-sm);
|
||||
color: var(--color-text-muted);
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
/* Variant : blog */
|
||||
.av-card--blog .av-card__media { aspect-ratio: 16 / 9; }
|
||||
|
||||
|
||||
/* ============================================================================
|
||||
4. Cards — placeholder
|
||||
To be filled from Design Handoff section 3.4 when home solutions/industries
|
||||
sections are built.
|
||||
5. Stat callout (Design Handoff section 3.4 - stat callout component)
|
||||
============================================================================ */
|
||||
|
||||
.av-stat {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-1);
|
||||
}
|
||||
|
||||
.av-stat__value {
|
||||
font-family: var(--font-display);
|
||||
font-size: var(--text-display-lg);
|
||||
line-height: var(--leading-display-lg);
|
||||
font-weight: var(--font-weight-bold);
|
||||
color: var(--color-brand-navy);
|
||||
letter-spacing: var(--tracking-tight);
|
||||
}
|
||||
.av-stat--gold .av-stat__value { color: var(--color-brand-gold); }
|
||||
.av-stat--on-dark .av-stat__value { color: var(--color-text-on-dark); }
|
||||
.av-stat--on-dark.av-stat--gold .av-stat__value { color: var(--color-brand-gold); }
|
||||
|
||||
.av-stat__label {
|
||||
font-size: var(--text-body-sm);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: var(--tracking-overline);
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
.av-stat--on-dark .av-stat__label { color: var(--color-text-on-dark-muted); }
|
||||
|
||||
.av-stat__source {
|
||||
font-size: var(--text-overline);
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
|
||||
|
||||
/* ============================================================================
|
||||
5. Stat callout — placeholder
|
||||
6. Header & navigation (Design Handoff section 3.5)
|
||||
============================================================================ */
|
||||
|
||||
.av-header {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: var(--z-sticky);
|
||||
background-color: var(--color-bg-default);
|
||||
height: 60px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
transition: box-shadow var(--duration-fast) var(--ease-default), background-color var(--duration-fast) var(--ease-default);
|
||||
}
|
||||
@media (min-width: 1024px) {
|
||||
.av-header { height: 72px; }
|
||||
}
|
||||
.av-header.is-scrolled { box-shadow: var(--shadow-sm); }
|
||||
|
||||
.av-header__inner {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
gap: var(--space-6);
|
||||
}
|
||||
|
||||
.av-header__logo {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 32px;
|
||||
font-family: var(--font-display);
|
||||
font-weight: var(--font-weight-bold);
|
||||
font-size: var(--text-h4);
|
||||
color: var(--color-brand-navy);
|
||||
letter-spacing: 0.05em;
|
||||
text-transform: uppercase;
|
||||
text-decoration: none;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.av-header__logo svg, .av-header__logo img { height: 32px; width: auto; }
|
||||
|
||||
.av-nav {
|
||||
display: none;
|
||||
align-items: center;
|
||||
gap: var(--space-6);
|
||||
flex: 1;
|
||||
justify-content: center;
|
||||
}
|
||||
@media (min-width: 1024px) {
|
||||
.av-nav { display: flex; }
|
||||
}
|
||||
|
||||
.av-nav__item { position: relative; }
|
||||
|
||||
.av-nav__link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: var(--space-1);
|
||||
height: 60px;
|
||||
padding: 0 var(--space-2);
|
||||
font-size: var(--text-body-md);
|
||||
font-weight: var(--font-weight-medium);
|
||||
color: var(--color-text-primary);
|
||||
text-decoration: none;
|
||||
transition: color var(--duration-fast) var(--ease-default);
|
||||
}
|
||||
.av-nav__link:hover,
|
||||
.av-nav__link[aria-expanded="true"] { color: var(--color-brand-gold); }
|
||||
.av-nav__link[aria-haspopup="true"]::after {
|
||||
content: "▾";
|
||||
font-size: 0.7em;
|
||||
margin-left: var(--space-1);
|
||||
transition: transform var(--duration-fast) var(--ease-default);
|
||||
}
|
||||
.av-nav__link[aria-expanded="true"]::after { transform: rotate(180deg); }
|
||||
|
||||
.av-header__right {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-4);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.av-lang-switch {
|
||||
display: none;
|
||||
align-items: center;
|
||||
gap: var(--space-2);
|
||||
font-size: var(--text-body-sm);
|
||||
font-weight: var(--font-weight-medium);
|
||||
}
|
||||
@media (min-width: 1024px) { .av-lang-switch { display: inline-flex; } }
|
||||
.av-lang-switch__current {
|
||||
color: var(--color-brand-navy);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
.av-lang-switch__other { color: var(--color-text-muted); }
|
||||
.av-lang-switch__other:hover { color: var(--color-brand-navy); }
|
||||
|
||||
.av-header__cta-mobile-only { display: none; }
|
||||
|
||||
|
||||
/* --- Mega menu (desktop only) --- */
|
||||
|
||||
.av-megamenu {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: var(--z-dropdown);
|
||||
background-color: var(--color-bg-default);
|
||||
box-shadow: var(--shadow-md);
|
||||
padding: var(--space-8);
|
||||
display: none;
|
||||
opacity: 0;
|
||||
transform: translateY(-4px);
|
||||
transition: opacity var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
|
||||
}
|
||||
.av-megamenu.is-open {
|
||||
display: block;
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
.av-megamenu__inner {
|
||||
max-width: var(--container-max);
|
||||
margin-inline: auto;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
gap: var(--space-8);
|
||||
}
|
||||
.av-megamenu__col-title {
|
||||
font-size: var(--text-overline);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: var(--tracking-overline);
|
||||
color: var(--color-text-muted);
|
||||
margin-bottom: var(--space-3);
|
||||
}
|
||||
.av-megamenu__list { display: flex; flex-direction: column; gap: var(--space-2); }
|
||||
.av-megamenu__link {
|
||||
font-size: var(--text-body-md);
|
||||
color: var(--color-text-primary);
|
||||
text-decoration: none;
|
||||
font-weight: var(--font-weight-medium);
|
||||
padding-block: var(--space-1);
|
||||
}
|
||||
.av-megamenu__link:hover { color: var(--color-brand-gold); }
|
||||
|
||||
|
||||
/* --- Drawer (mobile) --- */
|
||||
|
||||
.av-drawer-toggle {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
padding: 0;
|
||||
background: transparent;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
color: var(--color-brand-navy);
|
||||
}
|
||||
@media (min-width: 1024px) { .av-drawer-toggle { display: none; } }
|
||||
|
||||
.av-drawer {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: var(--z-fixed);
|
||||
background-color: var(--color-brand-navy);
|
||||
color: var(--color-text-on-dark);
|
||||
padding: var(--space-6);
|
||||
overflow-y: auto;
|
||||
transform: translateX(100%);
|
||||
transition: transform var(--duration-slow) var(--ease-default);
|
||||
visibility: hidden;
|
||||
}
|
||||
.av-drawer.is-open {
|
||||
transform: translateX(0);
|
||||
visibility: visible;
|
||||
}
|
||||
.av-drawer__close {
|
||||
position: absolute;
|
||||
top: var(--space-6);
|
||||
right: var(--space-6);
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: var(--color-text-on-dark);
|
||||
cursor: pointer;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
.av-drawer__nav { margin-top: var(--space-12); }
|
||||
.av-drawer__group { border-bottom: 1px solid var(--color-border-on-dark); }
|
||||
.av-drawer__group-title {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: var(--space-4) 0;
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: var(--color-text-on-dark);
|
||||
font-size: var(--text-h4);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
font-family: inherit;
|
||||
}
|
||||
.av-drawer__cta-area {
|
||||
margin-top: var(--space-12);
|
||||
padding-top: var(--space-8);
|
||||
border-top: 1px solid var(--color-border-on-dark);
|
||||
}
|
||||
|
||||
|
||||
/* ============================================================================
|
||||
6. Navigation (header, mega menu, drawer) — placeholder
|
||||
7. Footer (Design Handoff section 3.5)
|
||||
============================================================================ */
|
||||
|
||||
.av-footer {
|
||||
background-color: var(--color-brand-navy-deep);
|
||||
color: var(--color-text-on-dark);
|
||||
padding-block: var(--space-12);
|
||||
}
|
||||
@media (min-width: 1024px) {
|
||||
.av-footer { padding-block: var(--space-20); }
|
||||
}
|
||||
|
||||
.av-footer__cols {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: var(--space-10);
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.av-footer__cols { grid-template-columns: repeat(2, 1fr); }
|
||||
}
|
||||
@media (min-width: 1024px) {
|
||||
.av-footer__cols { grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; gap: var(--space-8); }
|
||||
}
|
||||
|
||||
.av-footer__col-title {
|
||||
font-size: var(--text-overline);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: var(--tracking-overline);
|
||||
color: var(--color-brand-gold);
|
||||
margin-bottom: var(--space-4);
|
||||
}
|
||||
|
||||
.av-footer__list { display: flex; flex-direction: column; gap: var(--space-3); }
|
||||
.av-footer__list a {
|
||||
color: var(--color-text-on-dark-muted);
|
||||
font-size: var(--text-body-md);
|
||||
text-decoration: none;
|
||||
transition: color var(--duration-fast) var(--ease-default);
|
||||
}
|
||||
.av-footer__list a:hover { color: var(--color-text-on-dark); }
|
||||
|
||||
.av-footer__brand p {
|
||||
color: var(--color-text-on-dark-muted);
|
||||
font-size: var(--text-body-md);
|
||||
line-height: var(--leading-body-md);
|
||||
}
|
||||
.av-footer__brand .av-header__logo {
|
||||
color: var(--color-text-on-dark);
|
||||
margin-bottom: var(--space-4);
|
||||
}
|
||||
|
||||
.av-footer__newsletter-form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-2);
|
||||
margin-top: var(--space-3);
|
||||
}
|
||||
|
||||
.av-footer__bottom {
|
||||
margin-top: var(--space-12);
|
||||
padding-top: var(--space-6);
|
||||
border-top: 1px solid var(--color-border-on-dark);
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: var(--space-4);
|
||||
font-size: var(--text-body-sm);
|
||||
color: var(--color-text-on-dark-muted);
|
||||
}
|
||||
.av-footer__bottom-links { display: flex; flex-wrap: wrap; gap: var(--space-4); }
|
||||
.av-footer__bottom-links a {
|
||||
color: var(--color-text-on-dark-muted);
|
||||
text-decoration: none;
|
||||
}
|
||||
.av-footer__bottom-links a:hover { color: var(--color-text-on-dark); }
|
||||
|
||||
|
||||
/* ============================================================================
|
||||
7. Footer — placeholder
|
||||
8. Hero (home + page heroes)
|
||||
============================================================================ */
|
||||
|
||||
.av-hero {
|
||||
position: relative;
|
||||
background-color: var(--color-brand-navy);
|
||||
color: var(--color-text-on-dark);
|
||||
overflow: hidden;
|
||||
isolation: isolate;
|
||||
min-height: 70vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-block: var(--space-20);
|
||||
}
|
||||
@media (min-width: 1024px) { .av-hero { min-height: 85vh; padding-block: var(--space-32); } }
|
||||
|
||||
.av-hero__media {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: -1;
|
||||
overflow: hidden;
|
||||
}
|
||||
.av-hero__media::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(8, 20, 39, 0.55), rgba(11, 31, 58, 0.85));
|
||||
}
|
||||
.av-hero__media video,
|
||||
.av-hero__media img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.av-hero__inner {
|
||||
max-width: 800px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-6);
|
||||
}
|
||||
|
||||
.av-hero__eyebrow {
|
||||
font-size: var(--text-overline);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: var(--tracking-overline);
|
||||
color: var(--color-brand-gold);
|
||||
}
|
||||
|
||||
.av-hero__headline {
|
||||
font-family: var(--font-display);
|
||||
font-size: clamp(2.5rem, 6vw, var(--text-display-xl));
|
||||
line-height: var(--leading-display-xl);
|
||||
font-weight: var(--font-weight-bold);
|
||||
letter-spacing: var(--tracking-tight);
|
||||
color: var(--color-text-on-dark);
|
||||
margin: 0;
|
||||
max-width: 18ch;
|
||||
}
|
||||
|
||||
.av-hero__sub {
|
||||
font-size: var(--text-body-lg);
|
||||
line-height: var(--leading-body-lg);
|
||||
color: var(--color-text-on-dark-muted);
|
||||
max-width: 60ch;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.av-hero__ctas {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--space-4);
|
||||
margin-top: var(--space-2);
|
||||
}
|
||||
|
||||
|
||||
/* ============================================================================
|
||||
9. Logo strip (trust bar)
|
||||
============================================================================ */
|
||||
|
||||
.av-logo-strip {
|
||||
background-color: var(--color-bg-subtle);
|
||||
padding-block: var(--space-10);
|
||||
}
|
||||
.av-logo-strip__intro {
|
||||
text-align: center;
|
||||
font-size: var(--text-overline);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: var(--tracking-overline);
|
||||
color: var(--color-text-muted);
|
||||
margin-bottom: var(--space-6);
|
||||
}
|
||||
.av-logo-strip__row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: var(--space-8);
|
||||
margin-bottom: var(--space-10);
|
||||
}
|
||||
.av-logo-strip__logo {
|
||||
height: 40px;
|
||||
width: 120px;
|
||||
background-color: var(--color-bg-elevated);
|
||||
border: 1px dashed var(--color-border-default);
|
||||
border-radius: var(--radius-sm);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: var(--text-body-sm);
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
.av-logo-strip__metrics {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: var(--space-6);
|
||||
text-align: center;
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.av-logo-strip__metrics { grid-template-columns: repeat(4, 1fr); }
|
||||
}
|
||||
.av-logo-strip__metric {
|
||||
font-size: var(--text-body-sm);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
|
||||
|
||||
/* ============================================================================
|
||||
10. Eyebrow / overline
|
||||
============================================================================ */
|
||||
|
||||
.av-eyebrow {
|
||||
display: inline-block;
|
||||
font-size: var(--text-overline);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: var(--tracking-overline);
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
.av-eyebrow--gold { color: var(--color-brand-gold); }
|
||||
|
||||
|
||||
/* ============================================================================
|
||||
11. Section title + lead
|
||||
============================================================================ */
|
||||
|
||||
.av-section__title {
|
||||
font-family: var(--font-display);
|
||||
font-size: clamp(var(--text-h1), 4vw, var(--text-display-md));
|
||||
line-height: var(--leading-display-md);
|
||||
font-weight: var(--font-weight-bold);
|
||||
letter-spacing: var(--tracking-tight);
|
||||
color: var(--color-text-primary);
|
||||
margin: 0;
|
||||
max-width: 24ch;
|
||||
}
|
||||
.av-section--dark .av-section__title { color: var(--color-text-on-dark); }
|
||||
|
||||
.av-section__lead {
|
||||
font-size: var(--text-body-lg);
|
||||
line-height: var(--leading-body-lg);
|
||||
color: var(--color-text-secondary);
|
||||
max-width: 56ch;
|
||||
margin: 0;
|
||||
}
|
||||
.av-section--dark .av-section__lead { color: var(--color-text-on-dark-muted); }
|
||||
|
||||
.av-section__head {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-4);
|
||||
margin-bottom: var(--space-10);
|
||||
max-width: 720px;
|
||||
}
|
||||
|
||||
.av-grid-3 {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: var(--space-6);
|
||||
}
|
||||
@media (min-width: 768px) { .av-grid-3 { grid-template-columns: repeat(2, 1fr); } }
|
||||
@media (min-width: 1024px) { .av-grid-3 { grid-template-columns: repeat(3, 1fr); } }
|
||||
|
||||
.av-grid-4 {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: var(--space-6);
|
||||
}
|
||||
@media (min-width: 768px) { .av-grid-4 { grid-template-columns: repeat(2, 1fr); } }
|
||||
|
||||
|
||||
/* ============================================================================
|
||||
12. Conversion banner (3 CTAs side-by-side, dark)
|
||||
============================================================================ */
|
||||
|
||||
.av-conversion-banner {
|
||||
background-color: var(--color-brand-navy);
|
||||
color: var(--color-text-on-dark);
|
||||
padding-block: var(--space-20);
|
||||
}
|
||||
.av-conversion-banner__head {
|
||||
text-align: center;
|
||||
margin-bottom: var(--space-12);
|
||||
}
|
||||
.av-conversion-banner__title {
|
||||
font-family: var(--font-display);
|
||||
font-size: clamp(var(--text-h1), 5vw, var(--text-display-lg));
|
||||
line-height: var(--leading-display-lg);
|
||||
font-weight: var(--font-weight-bold);
|
||||
letter-spacing: var(--tracking-tight);
|
||||
color: var(--color-text-on-dark);
|
||||
margin: 0 auto var(--space-4) auto;
|
||||
max-width: 20ch;
|
||||
}
|
||||
.av-conversion-banner__lead {
|
||||
font-size: var(--text-body-lg);
|
||||
color: var(--color-text-on-dark-muted);
|
||||
max-width: 56ch;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.av-conversion-banner__grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: var(--space-6);
|
||||
}
|
||||
@media (min-width: 768px) { .av-conversion-banner__grid { grid-template-columns: repeat(3, 1fr); } }
|
||||
|
||||
.av-conversion-banner__card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-4);
|
||||
padding: var(--space-8);
|
||||
background-color: var(--color-bg-dark-elevated);
|
||||
border: 1px solid var(--color-border-on-dark);
|
||||
border-radius: var(--radius-md);
|
||||
}
|
||||
.av-conversion-banner__card-title {
|
||||
font-family: var(--font-display);
|
||||
font-size: var(--text-h3);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
color: var(--color-text-on-dark);
|
||||
}
|
||||
.av-conversion-banner__card-desc {
|
||||
font-size: var(--text-body-md);
|
||||
color: var(--color-text-on-dark-muted);
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
|
||||
/* ============================================================================
|
||||
13. Reveal animation (scroll-triggered, JS-driven via main.js)
|
||||
============================================================================ */
|
||||
|
||||
[data-av-reveal] {
|
||||
opacity: 0;
|
||||
transform: translateY(16px);
|
||||
transition:
|
||||
opacity var(--duration-deliberate) var(--ease-default),
|
||||
transform var(--duration-deliberate) var(--ease-default);
|
||||
}
|
||||
[data-av-reveal].is-revealed,
|
||||
.no-js [data-av-reveal] {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
[data-av-reveal] { opacity: 1; transform: none; transition: none; }
|
||||
}
|
||||
|
||||
96
wp-content/themes/asterion-bricks/footer.php
Normal file
96
wp-content/themes/asterion-bricks/footer.php
Normal file
@@ -0,0 +1,96 @@
|
||||
<?php
|
||||
/**
|
||||
* Asterion Bricks — Global footer
|
||||
*
|
||||
* Per Design Handoff section 3.5 :
|
||||
* - 5 columns desktop : Solutions / Industries / Why Asterion / Resources / Newsletter
|
||||
* - Stack on mobile (could become accordions later)
|
||||
* - Bottom strip : copyright · privacy · terms · cookies · social · language switcher
|
||||
*
|
||||
* @package AsterionBricks
|
||||
*/
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
$av_year = date_i18n('Y');
|
||||
?>
|
||||
</main><!-- /#main -->
|
||||
|
||||
<footer class="av-footer" role="contentinfo">
|
||||
<div class="av-container">
|
||||
|
||||
<div class="av-footer__cols">
|
||||
|
||||
<div class="av-footer__brand">
|
||||
<a href="<?php echo esc_url(home_url('/')); ?>" class="av-header__logo" aria-label="Asterion VR — home">
|
||||
ASTERION VR
|
||||
</a>
|
||||
<p>
|
||||
<?php esc_html_e('The modular, sovereign XR platform for European security forces. Train like the threat is now.', 'asterion-bricks'); ?>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="av-footer__col">
|
||||
<h2 class="av-footer__col-title"><?php esc_html_e('Solutions', 'asterion-bricks'); ?></h2>
|
||||
<ul class="av-footer__list">
|
||||
<li><a href="<?php echo esc_url(home_url('/solutions/my-proserve/')); ?>">MY PROSERVE</a></li>
|
||||
<li><a href="<?php echo esc_url(home_url('/solutions/proserve-flex/')); ?>">PROSERVE FLEX</a></li>
|
||||
<li><a href="<?php echo esc_url(home_url('/solutions/proserve-academy/')); ?>">PROSERVE ACADEMY</a></li>
|
||||
<li><a href="<?php echo esc_url(home_url('/solutions/customization/')); ?>">PROSERVE+</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="av-footer__col">
|
||||
<h2 class="av-footer__col-title"><?php esc_html_e('Industries', 'asterion-bricks'); ?></h2>
|
||||
<ul class="av-footer__list">
|
||||
<li><a href="<?php echo esc_url(home_url('/industries/police/')); ?>"><?php esc_html_e('Police', 'asterion-bricks'); ?></a></li>
|
||||
<li><a href="<?php echo esc_url(home_url('/industries/special-forces/')); ?>"><?php esc_html_e('Special Forces', 'asterion-bricks'); ?></a></li>
|
||||
<li><a href="<?php echo esc_url(home_url('/industries/military/')); ?>"><?php esc_html_e('Military', 'asterion-bricks'); ?></a></li>
|
||||
<li><a href="<?php echo esc_url(home_url('/industries/firefighters/')); ?>"><?php esc_html_e('Firefighters', 'asterion-bricks'); ?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="av-footer__col">
|
||||
<h2 class="av-footer__col-title"><?php esc_html_e('Why Asterion', 'asterion-bricks'); ?></h2>
|
||||
<ul class="av-footer__list">
|
||||
<li><a href="<?php echo esc_url(home_url('/about/')); ?>"><?php esc_html_e('Our story', 'asterion-bricks'); ?></a></li>
|
||||
<li><a href="<?php echo esc_url(home_url('/customers/')); ?>"><?php esc_html_e('Customers', 'asterion-bricks'); ?></a></li>
|
||||
<li><a href="<?php echo esc_url(home_url('/trust/')); ?>"><?php esc_html_e('Trust & Compliance', 'asterion-bricks'); ?></a></li>
|
||||
<li><a href="<?php echo esc_url(home_url('/partners/')); ?>"><?php esc_html_e('Partners', 'asterion-bricks'); ?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="av-footer__newsletter">
|
||||
<h2 class="av-footer__col-title"><?php esc_html_e('Newsletter', 'asterion-bricks'); ?></h2>
|
||||
<p style="color:var(--color-text-on-dark-muted);font-size:var(--text-body-sm);">
|
||||
<?php esc_html_e('Insights from the front of immersive training. One email per month. No spam.', 'asterion-bricks'); ?>
|
||||
</p>
|
||||
<form class="av-footer__newsletter-form" method="post" action="#" aria-label="<?php esc_attr_e('Newsletter signup', 'asterion-bricks'); ?>">
|
||||
<label for="av-newsletter-email" class="av-sr-only"><?php esc_html_e('Your email', 'asterion-bricks'); ?></label>
|
||||
<input type="email" id="av-newsletter-email" name="email" class="av-input" placeholder="<?php esc_attr_e('your@email.com', 'asterion-bricks'); ?>" required>
|
||||
<button type="submit" class="av-btn av-btn--primary av-btn--md"><?php esc_html_e('Subscribe', 'asterion-bricks'); ?></button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="av-footer__bottom">
|
||||
<div>© <?php echo esc_html($av_year); ?> Asterion VR. <?php esc_html_e('All rights reserved.', 'asterion-bricks'); ?></div>
|
||||
<div class="av-footer__bottom-links">
|
||||
<a href="<?php echo esc_url(home_url('/legal/privacy/')); ?>"><?php esc_html_e('Privacy', 'asterion-bricks'); ?></a>
|
||||
<a href="<?php echo esc_url(home_url('/legal/terms/')); ?>"><?php esc_html_e('Terms', 'asterion-bricks'); ?></a>
|
||||
<a href="<?php echo esc_url(home_url('/legal/cookies/')); ?>"><?php esc_html_e('Cookies', 'asterion-bricks'); ?></a>
|
||||
<a href="<?php echo esc_url(home_url('/legal/notice/')); ?>"><?php esc_html_e('Legal notice', 'asterion-bricks'); ?></a>
|
||||
</div>
|
||||
<div class="av-footer__social">
|
||||
<a href="https://www.linkedin.com/company/asterion-vr/" rel="noopener" aria-label="LinkedIn">LinkedIn</a>
|
||||
·
|
||||
<a href="https://www.youtube.com/" rel="noopener" aria-label="YouTube">YouTube</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<?php wp_footer(); ?>
|
||||
</body>
|
||||
</html>
|
||||
377
wp-content/themes/asterion-bricks/front-page.php
Normal file
377
wp-content/themes/asterion-bricks/front-page.php
Normal file
@@ -0,0 +1,377 @@
|
||||
<?php
|
||||
/**
|
||||
* Asterion Bricks — Front page (home)
|
||||
*
|
||||
* Implements the 9-section home wireframe from the Design Handoff
|
||||
* (section 4.1) using the EN copy from Strategy & Content (D.1).
|
||||
*
|
||||
* 1. Hero — dark, full-bleed video, signature
|
||||
* 2. Trust bar — sector marks + 4 inline metrics
|
||||
* 3. Solutions — 3 cards (MY / FLEX / ACADEMY)
|
||||
* 4. Industries — 4 cards 2x2 (Police / SF / Military / Firefighters)
|
||||
* 5. Feature heroes — 3 alternating (UWeD / Instructor Cockpit / AAR)
|
||||
* 6. Featured case — single highlighted case
|
||||
* 7. Testimonials — 3 quotes (slider becomes JS-driven later)
|
||||
* 8. Latest insights — 3 blog cards
|
||||
* 9. Conversion banner — Demo / T&E / Quote
|
||||
*
|
||||
* @package AsterionBricks
|
||||
*/
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
get_header();
|
||||
|
||||
$home_url = home_url('/');
|
||||
$theme = get_stylesheet_directory_uri();
|
||||
?>
|
||||
|
||||
<!-- ============================================================== -->
|
||||
<!-- 1. HERO -->
|
||||
<!-- ============================================================== -->
|
||||
<section class="av-hero" aria-labelledby="hero-headline">
|
||||
<div class="av-hero__media" aria-hidden="true">
|
||||
<?php /* Hero video placeholder. Replace with a 25-35s loop, MP4 H.264 + WebM, < 2 MB, per Design Handoff 5.4. */ ?>
|
||||
<div style="width:100%;height:100%;background:
|
||||
radial-gradient(ellipse at 20% 30%, rgba(201,164,90,0.15), transparent 60%),
|
||||
radial-gradient(ellipse at 80% 70%, rgba(30,91,168,0.20), transparent 60%),
|
||||
linear-gradient(135deg, #081427 0%, #0B1F3A 50%, #13294B 100%);"></div>
|
||||
</div>
|
||||
|
||||
<div class="av-container">
|
||||
<div class="av-hero__inner">
|
||||
<p class="av-hero__eyebrow"><?php esc_html_e('Modular XR training for security forces', 'asterion-bricks'); ?></p>
|
||||
<h1 id="hero-headline" class="av-hero__headline">Your Last Mistake Should Be in VR.</h1>
|
||||
<p class="av-hero__sub">
|
||||
PROSERVE™ is the modular, fully portable XR platform built for police, special forces, military and firefighters. Deploy in five minutes. Train anywhere. Debrief everything.
|
||||
</p>
|
||||
<div class="av-hero__ctas">
|
||||
<a href="<?php echo esc_url($home_url . 'request-demo/'); ?>" class="av-btn av-btn--primary av-btn--xl"><?php esc_html_e('Request a Demo', 'asterion-bricks'); ?></a>
|
||||
<a href="#feature-heroes" class="av-btn av-btn--on-dark av-btn--secondary av-btn--xl"><?php esc_html_e('Watch the 90-second film', 'asterion-bricks'); ?></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ============================================================== -->
|
||||
<!-- 2. TRUST BAR -->
|
||||
<!-- ============================================================== -->
|
||||
<section class="av-logo-strip" aria-label="<?php esc_attr_e('Trusted by', 'asterion-bricks'); ?>">
|
||||
<div class="av-container">
|
||||
<p class="av-logo-strip__intro"><?php esc_html_e('Trusted by security forces across Europe', 'asterion-bricks'); ?></p>
|
||||
<div class="av-logo-strip__row">
|
||||
<?php /* Real client logos pending NDA confirmation — see MISSING-ASSETS.md. */ ?>
|
||||
<?php for ($i = 1; $i <= 6; $i++) : ?>
|
||||
<div class="av-logo-strip__logo">Logo <?php echo (int) $i; ?></div>
|
||||
<?php endfor; ?>
|
||||
</div>
|
||||
<div class="av-logo-strip__metrics">
|
||||
<div class="av-logo-strip__metric"><?php esc_html_e('10 years of XR research for security forces', 'asterion-bricks'); ?></div>
|
||||
<div class="av-logo-strip__metric"><?php esc_html_e('11 environments · 50+ scenarios · monthly updates', 'asterion-bricks'); ?></div>
|
||||
<div class="av-logo-strip__metric"><?php esc_html_e('< 5 minutes from case to active training', 'asterion-bricks'); ?></div>
|
||||
<div class="av-logo-strip__metric"><?php esc_html_e('Made in France · GDPR-native · works fully offline', 'asterion-bricks'); ?></div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ============================================================== -->
|
||||
<!-- 3. SOLUTIONS -->
|
||||
<!-- ============================================================== -->
|
||||
<section class="av-section av-section--dark" aria-labelledby="solutions-title" data-av-reveal>
|
||||
<div class="av-container">
|
||||
<div class="av-section__head">
|
||||
<span class="av-eyebrow av-eyebrow--gold"><?php esc_html_e('Solutions', 'asterion-bricks'); ?></span>
|
||||
<h2 id="solutions-title" class="av-section__title">Three solutions. One platform. Zero compromise.</h2>
|
||||
<p class="av-section__lead">
|
||||
From the lone officer rebuilding muscle memory to a 16-trainee unit running a coordinated assault — PROSERVE scales with your mission, not the other way around.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="av-grid-3">
|
||||
|
||||
<article class="av-card is-on-dark">
|
||||
<div class="av-card__media" style="background:linear-gradient(135deg,#13294B,#0B1F3A);"></div>
|
||||
<div class="av-card__body">
|
||||
<span class="av-card__eyebrow"><?php esc_html_e('Solo training', 'asterion-bricks'); ?></span>
|
||||
<h3 class="av-card__title">MY PROSERVE</h3>
|
||||
<p class="av-card__excerpt">
|
||||
Mini-case. Anywhere, anytime. Built for the officer who needs to train 30 minutes between two shifts. 9 m² of free space, a headset, a real-recoil replica. The legal minimum becomes the daily standard.
|
||||
</p>
|
||||
<div class="av-card__cta">
|
||||
<a href="<?php echo esc_url($home_url . 'solutions/my-proserve/'); ?>" class="av-link av-link--on-dark av-link--with-arrow"><?php esc_html_e('Discover MY PROSERVE', 'asterion-bricks'); ?></a>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<article class="av-card is-on-dark">
|
||||
<div class="av-card__media" style="background:linear-gradient(135deg,#13294B,#0B1F3A);"></div>
|
||||
<div class="av-card__body">
|
||||
<span class="av-card__eyebrow"><?php esc_html_e('Team training · 1 to 5', 'asterion-bricks'); ?></span>
|
||||
<h3 class="av-card__title">PROSERVE FLEX</h3>
|
||||
<p class="av-card__excerpt">
|
||||
One case per operator. Multi-user cooperative scenarios, instructor PC, full AAR. Deploy on any flat surface from 9 to 100 m². For tactical units that move with their training.
|
||||
</p>
|
||||
<div class="av-card__cta">
|
||||
<a href="<?php echo esc_url($home_url . 'solutions/proserve-flex/'); ?>" class="av-link av-link--on-dark av-link--with-arrow"><?php esc_html_e('Discover PROSERVE FLEX', 'asterion-bricks'); ?></a>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<article class="av-card is-on-dark">
|
||||
<div class="av-card__media" style="background:linear-gradient(135deg,#13294B,#0B1F3A);"></div>
|
||||
<div class="av-card__body">
|
||||
<span class="av-card__eyebrow"><?php esc_html_e('Unit training · 1 to 16', 'asterion-bricks'); ?></span>
|
||||
<h3 class="av-card__title">PROSERVE ACADEMY</h3>
|
||||
<p class="av-card__excerpt">
|
||||
The full training centre, in your facility. Up to 900 m² of free-roam space, instructor cockpit, racked compute, parallel sessions. Built for academies and continuous training programs.
|
||||
</p>
|
||||
<div class="av-card__cta">
|
||||
<a href="<?php echo esc_url($home_url . 'solutions/proserve-academy/'); ?>" class="av-link av-link--on-dark av-link--with-arrow"><?php esc_html_e('Discover PROSERVE ACADEMY', 'asterion-bricks'); ?></a>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ============================================================== -->
|
||||
<!-- 4. INDUSTRIES -->
|
||||
<!-- ============================================================== -->
|
||||
<section class="av-section" aria-labelledby="industries-title" data-av-reveal>
|
||||
<div class="av-container">
|
||||
<div class="av-section__head">
|
||||
<span class="av-eyebrow"><?php esc_html_e('Industries', 'asterion-bricks'); ?></span>
|
||||
<h2 id="industries-title" class="av-section__title">Built with operators, for operators.</h2>
|
||||
<p class="av-section__lead">
|
||||
PROSERVE is not a generic VR platform repackaged for the public sector. Every scenario, every weapon profile, every instructor metric was specified by serving and former operators in close partnership with our engineering team.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="av-grid-4" style="grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));">
|
||||
|
||||
<article class="av-card">
|
||||
<div class="av-card__media" style="background:linear-gradient(135deg,#1F3252,#0B1F3A);"></div>
|
||||
<div class="av-card__body">
|
||||
<span class="av-card__eyebrow"><?php esc_html_e('National & Municipal', 'asterion-bricks'); ?></span>
|
||||
<h3 class="av-card__title"><?php esc_html_e('Police', 'asterion-bricks'); ?></h3>
|
||||
<p class="av-card__excerpt">Vehicle stops, identity checks, urban CQB, de-escalation, riot containment. Built for the realities of contemporary policing.</p>
|
||||
<div class="av-card__cta"><a href="<?php echo esc_url($home_url . 'industries/police/'); ?>" class="av-link av-link--with-arrow"><?php esc_html_e('Police training', 'asterion-bricks'); ?></a></div>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<article class="av-card">
|
||||
<div class="av-card__media" style="background:linear-gradient(135deg,#1F3252,#0B1F3A);"></div>
|
||||
<div class="av-card__body">
|
||||
<span class="av-card__eyebrow"><?php esc_html_e('Tactical Units', 'asterion-bricks'); ?></span>
|
||||
<h3 class="av-card__title"><?php esc_html_e('Special Forces', 'asterion-bricks'); ?></h3>
|
||||
<p class="av-card__excerpt">Hostage rescue, dynamic entries, hostile crowd extraction, sniper-spotter coordination. Built for the units where every error has a name.</p>
|
||||
<div class="av-card__cta"><a href="<?php echo esc_url($home_url . 'industries/special-forces/'); ?>" class="av-link av-link--with-arrow"><?php esc_html_e('Special forces training', 'asterion-bricks'); ?></a></div>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<article class="av-card">
|
||||
<div class="av-card__media" style="background:linear-gradient(135deg,#1F3252,#0B1F3A);"></div>
|
||||
<div class="av-card__body">
|
||||
<span class="av-card__eyebrow"><?php esc_html_e('Armed forces', 'asterion-bricks'); ?></span>
|
||||
<h3 class="av-card__title"><?php esc_html_e('Military', 'asterion-bricks'); ?></h3>
|
||||
<p class="av-card__excerpt">MOUT, convoy escort, FOB defense, IED awareness, joint operation drills. Built for armed forces that deploy fast and adapt faster.</p>
|
||||
<div class="av-card__cta"><a href="<?php echo esc_url($home_url . 'industries/military/'); ?>" class="av-link av-link--with-arrow"><?php esc_html_e('Military training', 'asterion-bricks'); ?></a></div>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<article class="av-card">
|
||||
<div class="av-card__media" style="background:linear-gradient(135deg,#1F3252,#0B1F3A);"></div>
|
||||
<div class="av-card__body">
|
||||
<span class="av-card__eyebrow"><?php esc_html_e('Emergency services', 'asterion-bricks'); ?></span>
|
||||
<h3 class="av-card__title"><?php esc_html_e('Firefighters', 'asterion-bricks'); ?></h3>
|
||||
<p class="av-card__excerpt">Structure fires, hazmat, multi-casualty triage, confined-space rescue, industrial accidents. Built for first responders who can't rehearse the worst day at full scale.</p>
|
||||
<div class="av-card__cta"><a href="<?php echo esc_url($home_url . 'industries/firefighters/'); ?>" class="av-link av-link--with-arrow"><?php esc_html_e('Firefighter training', 'asterion-bricks'); ?></a></div>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ============================================================== -->
|
||||
<!-- 5. FEATURE HEROES (3 alternating) -->
|
||||
<!-- ============================================================== -->
|
||||
<section id="feature-heroes" class="av-section av-section--dark" data-av-reveal>
|
||||
<div class="av-container">
|
||||
<div class="av-section__head">
|
||||
<span class="av-eyebrow av-eyebrow--gold"><?php esc_html_e('Technology', 'asterion-bricks'); ?></span>
|
||||
<h2 class="av-section__title">Behavior, not scripts.</h2>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
$features = [
|
||||
[
|
||||
'eyebrow' => 'Real-recoil weapon integration',
|
||||
'title' => 'The weapon you train with is the weapon you carry.',
|
||||
'body' => 'Our Universal Weapon Digitizer (UWeD™) attaches to any gas-blowback or CO2 replica — Glock 17, HK416, MP7, M9, and dozens more — or to your real service weapon firing blanks. Bullet trajectory is physically simulated: ricochet, penetration, material density. Recoil-induced tracking loss is corrected by an exclusive IMU compensation system.',
|
||||
'link' => 'See how UWeD works',
|
||||
'href' => '/technology/weapons-tracking/',
|
||||
],
|
||||
[
|
||||
'eyebrow' => 'Instructor Cockpit',
|
||||
'title' => 'You orchestrate. The trainees adapt.',
|
||||
'body' => "From a dedicated instructor PC, you orchestrate every detail of the scenario in real time. Walk through walls. Switch to any trainee's first-person view. Toggle field of view, shot traces, and threat highlighting. Add or remove civilians, change a hostage's behavior, escalate or de-escalate a contact — without pausing the scenario.",
|
||||
'link' => 'Inside the Instructor Cockpit',
|
||||
'href' => '/technology/instructor-cockpit/',
|
||||
],
|
||||
[
|
||||
'eyebrow' => 'After-Action Review',
|
||||
'title' => 'The session ends; the learning starts.',
|
||||
'body' => "Every event is logged: shots fired, shots hit, shots missed by target type, reaction time, field-of-view direction, weapon muzzling, position over time. Replay any session from any angle — top-down tactical, free-camera, or in-eye view of any trainee. Speed up, slow down, pause. Compare a recruit's reaction time to the unit's median.",
|
||||
'link' => 'Explore After-Action Review',
|
||||
'href' => '/technology/after-action-review/',
|
||||
],
|
||||
];
|
||||
foreach ($features as $i => $f) :
|
||||
$reverse = ($i % 2 === 1);
|
||||
?>
|
||||
<div style="display:grid;grid-template-columns:1fr;gap:var(--space-8);align-items:center;margin-bottom:var(--space-16);<?php echo $reverse ? 'direction:rtl;' : ''; ?>" class="av-feature-row">
|
||||
<div style="aspect-ratio:16/9;background:linear-gradient(135deg,#13294B,#081427);border-radius:var(--radius-md);direction:ltr;"></div>
|
||||
<div style="direction:ltr;display:flex;flex-direction:column;gap:var(--space-3);">
|
||||
<span class="av-eyebrow av-eyebrow--gold"><?php echo esc_html($f['eyebrow']); ?></span>
|
||||
<h3 style="font-family:var(--font-display);font-size:var(--text-display-md);line-height:var(--leading-display-md);font-weight:var(--font-weight-bold);letter-spacing:var(--tracking-tight);color:var(--color-text-on-dark);margin:0;"><?php echo esc_html($f['title']); ?></h3>
|
||||
<p style="color:var(--color-text-on-dark-muted);font-size:var(--text-body-lg);line-height:var(--leading-body-lg);max-width:60ch;"><?php echo wp_kses_post($f['body']); ?></p>
|
||||
<div><a href="<?php echo esc_url($home_url . ltrim($f['href'], '/')); ?>" class="av-link av-link--on-dark av-link--with-arrow"><?php echo esc_html($f['link']); ?></a></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<style>
|
||||
@media (min-width: 768px) {
|
||||
.av-feature-row { grid-template-columns: 1fr 1fr !important; }
|
||||
}
|
||||
</style>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ============================================================== -->
|
||||
<!-- 6. FEATURED CASE STUDY -->
|
||||
<!-- ============================================================== -->
|
||||
<section class="av-section" aria-labelledby="case-title" data-av-reveal>
|
||||
<div class="av-container">
|
||||
<div style="display:grid;grid-template-columns:1fr;gap:var(--space-10);align-items:center;" class="av-case-row">
|
||||
<div style="aspect-ratio:4/3;background:linear-gradient(135deg,#3E4C5E,#0B1F3A);border-radius:var(--radius-md);"></div>
|
||||
<div style="display:flex;flex-direction:column;gap:var(--space-4);">
|
||||
<span class="av-eyebrow"><?php esc_html_e('Case study', 'asterion-bricks'); ?></span>
|
||||
<h2 id="case-title" class="av-section__title">How a European tactical unit cut tactical errors by 35%.</h2>
|
||||
<p class="av-section__lead">
|
||||
In 2025, a European tactical unit deployed PROSERVE FLEX as part of its continuous training program. Six months in, instructor-rated tactical errors dropped 35% across the unit. Reaction time improved 22%. And weekly training volume tripled, without a single live round fired.
|
||||
</p>
|
||||
<div style="display:flex;gap:var(--space-8);margin-top:var(--space-2);">
|
||||
<div class="av-stat av-stat--gold"><div class="av-stat__value">-35%</div><div class="av-stat__label"><?php esc_html_e('Tactical errors', 'asterion-bricks'); ?></div></div>
|
||||
<div class="av-stat av-stat--gold"><div class="av-stat__value">+22%</div><div class="av-stat__label"><?php esc_html_e('Reaction time', 'asterion-bricks'); ?></div></div>
|
||||
<div class="av-stat av-stat--gold"><div class="av-stat__value">×3</div><div class="av-stat__label"><?php esc_html_e('Training volume', 'asterion-bricks'); ?></div></div>
|
||||
</div>
|
||||
<div style="margin-top:var(--space-2);"><a href="<?php echo esc_url($home_url . 'customers/'); ?>" class="av-btn av-btn--secondary av-btn--md"><?php esc_html_e('Read the case study', 'asterion-bricks'); ?></a></div>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
@media (min-width: 1024px) { .av-case-row { grid-template-columns: 1fr 1fr !important; } }
|
||||
</style>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ============================================================== -->
|
||||
<!-- 7. TESTIMONIALS -->
|
||||
<!-- ============================================================== -->
|
||||
<section class="av-section" style="background-color:var(--color-bg-subtle);" aria-labelledby="testimonials-title" data-av-reveal>
|
||||
<div class="av-container">
|
||||
<div class="av-section__head" style="text-align:center;align-items:center;margin-inline:auto;">
|
||||
<span class="av-eyebrow"><?php esc_html_e('Voices from the field', 'asterion-bricks'); ?></span>
|
||||
<h2 id="testimonials-title" class="av-section__title" style="text-align:center;margin-inline:auto;">Train how it really feels.</h2>
|
||||
</div>
|
||||
|
||||
<div class="av-grid-3">
|
||||
<article class="av-card av-card--quote">
|
||||
<div class="av-card__quote">We've stopped asking how often we train. We've started measuring how well.</div>
|
||||
<div class="av-card__attribution">— Tactical training officer, European federal police (anonymized)</div>
|
||||
</article>
|
||||
<article class="av-card av-card--quote">
|
||||
<div class="av-card__quote">The first time my recruits saw their own AAR replay, three of them asked to redo the drill. That had never happened before.</div>
|
||||
<div class="av-card__attribution">— Senior instructor, national police academy</div>
|
||||
</article>
|
||||
<article class="av-card av-card--quote">
|
||||
<div class="av-card__quote">What used to take a half-day live exercise now takes 20 minutes between shifts.</div>
|
||||
<div class="av-card__attribution">— Captain, urban response unit</div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ============================================================== -->
|
||||
<!-- 8. LATEST INSIGHTS -->
|
||||
<!-- ============================================================== -->
|
||||
<section class="av-section" aria-labelledby="insights-title" data-av-reveal>
|
||||
<div class="av-container">
|
||||
<div class="av-section__head">
|
||||
<span class="av-eyebrow"><?php esc_html_e('Insights', 'asterion-bricks'); ?></span>
|
||||
<h2 id="insights-title" class="av-section__title">Insights from the front of immersive training.</h2>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
$insights = get_posts(['numberposts' => 3, 'post_status' => 'publish']);
|
||||
if (! empty($insights)) :
|
||||
?>
|
||||
<div class="av-grid-3">
|
||||
<?php foreach ($insights as $post) : setup_postdata($post); ?>
|
||||
<article class="av-card av-card--blog">
|
||||
<a href="<?php the_permalink(); ?>" class="av-card__media" aria-hidden="true" tabindex="-1" style="background:linear-gradient(135deg,#CCD3DC,#E5E9EE);"></a>
|
||||
<div class="av-card__body">
|
||||
<span class="av-card__eyebrow"><?php echo esc_html(get_the_date('M j, Y')); ?></span>
|
||||
<h3 class="av-card__title"><a href="<?php the_permalink(); ?>" style="color:inherit;text-decoration:none;"><?php the_title(); ?></a></h3>
|
||||
<p class="av-card__excerpt"><?php echo esc_html(wp_trim_words(get_the_excerpt(), 22)); ?></p>
|
||||
<div class="av-card__cta"><a href="<?php the_permalink(); ?>" class="av-link av-link--with-arrow"><?php esc_html_e('Read more', 'asterion-bricks'); ?></a></div>
|
||||
</div>
|
||||
</article>
|
||||
<?php endforeach; wp_reset_postdata(); ?>
|
||||
</div>
|
||||
<?php else : ?>
|
||||
<p style="color:var(--color-text-muted);">
|
||||
<?php esc_html_e('Editorial blog launches with the site go-live. The 12-month content calendar is in the Strategy & Content brief, section B.4.', 'asterion-bricks'); ?>
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
|
||||
<div style="margin-top:var(--space-8);">
|
||||
<a href="<?php echo esc_url($home_url . 'insights/'); ?>" class="av-link av-link--with-arrow"><?php esc_html_e('See all articles', 'asterion-bricks'); ?></a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ============================================================== -->
|
||||
<!-- 9. CONVERSION BANNER -->
|
||||
<!-- ============================================================== -->
|
||||
<section class="av-conversion-banner" aria-labelledby="conversion-title" data-av-reveal>
|
||||
<div class="av-container">
|
||||
<div class="av-conversion-banner__head">
|
||||
<h2 id="conversion-title" class="av-conversion-banner__title">Train like the threat is now.</h2>
|
||||
<p class="av-conversion-banner__lead"><?php esc_html_e('Three paths into the platform — pick the one that fits where you are.', 'asterion-bricks'); ?></p>
|
||||
</div>
|
||||
<div class="av-conversion-banner__grid">
|
||||
|
||||
<div class="av-conversion-banner__card">
|
||||
<h3 class="av-conversion-banner__card-title"><?php esc_html_e('Request a Demo', 'asterion-bricks'); ?></h3>
|
||||
<p class="av-conversion-banner__card-desc"><?php esc_html_e('Schedule a 30-minute tailored session with our team. Receive a video demo of the configuration that matches your needs.', 'asterion-bricks'); ?></p>
|
||||
<a href="<?php echo esc_url($home_url . 'request-demo/'); ?>" class="av-btn av-btn--primary av-btn--md"><?php esc_html_e('Schedule a demo', 'asterion-bricks'); ?></a>
|
||||
</div>
|
||||
|
||||
<div class="av-conversion-banner__card">
|
||||
<h3 class="av-conversion-banner__card-title"><?php esc_html_e('Request a T&E Kit', 'asterion-bricks'); ?></h3>
|
||||
<p class="av-conversion-banner__card-desc"><?php esc_html_e('Get a PROSERVE case on loan at your facility for 5 to 10 days, with on-site support from our team.', 'asterion-bricks'); ?></p>
|
||||
<a href="<?php echo esc_url($home_url . 'request-te-kit/'); ?>" class="av-btn av-btn--on-dark av-btn--secondary av-btn--md"><?php esc_html_e('Request the kit', 'asterion-bricks'); ?></a>
|
||||
</div>
|
||||
|
||||
<div class="av-conversion-banner__card">
|
||||
<h3 class="av-conversion-banner__card-title"><?php esc_html_e('Request a Quote', 'asterion-bricks'); ?></h3>
|
||||
<p class="av-conversion-banner__card-desc"><?php esc_html_e('Get a detailed quote and deployment plan within 5 working days.', 'asterion-bricks'); ?></p>
|
||||
<a href="<?php echo esc_url($home_url . 'request-quote/'); ?>" class="av-btn av-btn--on-dark av-btn--secondary av-btn--md"><?php esc_html_e('Get a quote', 'asterion-bricks'); ?></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
114
wp-content/themes/asterion-bricks/header.php
Normal file
114
wp-content/themes/asterion-bricks/header.php
Normal file
@@ -0,0 +1,114 @@
|
||||
<?php
|
||||
/**
|
||||
* Asterion Bricks — Global header
|
||||
*
|
||||
* Sticky header per Design Handoff section 3.5 :
|
||||
* - 60px on mobile, 72px on desktop
|
||||
* - Logo left, main nav center (desktop), CTA + lang switch right
|
||||
* - Hamburger drawer on mobile
|
||||
*
|
||||
* @package AsterionBricks
|
||||
*/
|
||||
defined('ABSPATH') || exit;
|
||||
?>
|
||||
<!doctype html>
|
||||
<html <?php language_attributes(); ?>>
|
||||
<head>
|
||||
<meta charset="<?php bloginfo('charset'); ?>">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||||
<meta name="theme-color" content="#0B1F3A">
|
||||
<link rel="profile" href="https://gmpg.org/xfn/11">
|
||||
<?php wp_head(); ?>
|
||||
</head>
|
||||
<body <?php body_class(); ?>>
|
||||
<?php wp_body_open(); ?>
|
||||
|
||||
<a class="av-skip-link" href="#main"><?php esc_html_e('Skip to main content', 'asterion-bricks'); ?></a>
|
||||
|
||||
<header class="av-header" role="banner">
|
||||
<div class="av-container av-header__inner">
|
||||
|
||||
<a href="<?php echo esc_url(home_url('/')); ?>" class="av-header__logo" aria-label="Asterion VR — home">
|
||||
ASTERION VR
|
||||
</a>
|
||||
|
||||
<nav class="av-nav" aria-label="<?php esc_attr_e('Primary', 'asterion-bricks'); ?>">
|
||||
<ul class="av-nav__list" style="display:flex;gap:var(--space-6);list-style:none;margin:0;padding:0;">
|
||||
<li class="av-nav__item">
|
||||
<a href="<?php echo esc_url(home_url('/solutions/')); ?>" class="av-nav__link" aria-haspopup="true" aria-expanded="false">
|
||||
<?php esc_html_e('Solutions', 'asterion-bricks'); ?>
|
||||
</a>
|
||||
</li>
|
||||
<li class="av-nav__item">
|
||||
<a href="<?php echo esc_url(home_url('/industries/')); ?>" class="av-nav__link" aria-haspopup="true" aria-expanded="false">
|
||||
<?php esc_html_e('Industries', 'asterion-bricks'); ?>
|
||||
</a>
|
||||
</li>
|
||||
<li class="av-nav__item">
|
||||
<a href="<?php echo esc_url(home_url('/technology/')); ?>" class="av-nav__link" aria-haspopup="true" aria-expanded="false">
|
||||
<?php esc_html_e('Technology', 'asterion-bricks'); ?>
|
||||
</a>
|
||||
</li>
|
||||
<li class="av-nav__item">
|
||||
<a href="<?php echo esc_url(home_url('/why-asterion/')); ?>" class="av-nav__link">
|
||||
<?php esc_html_e('Why Asterion', 'asterion-bricks'); ?>
|
||||
</a>
|
||||
</li>
|
||||
<li class="av-nav__item">
|
||||
<a href="<?php echo esc_url(home_url('/insights/')); ?>" class="av-nav__link">
|
||||
<?php esc_html_e('Insights', 'asterion-bricks'); ?>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<div class="av-header__right">
|
||||
<div class="av-lang-switch" aria-label="<?php esc_attr_e('Language', 'asterion-bricks'); ?>">
|
||||
<span class="av-lang-switch__current">EN</span>
|
||||
<span aria-hidden="true">·</span>
|
||||
<a href="#" class="av-lang-switch__other" aria-label="<?php esc_attr_e('Switch to French', 'asterion-bricks'); ?>">FR</a>
|
||||
</div>
|
||||
|
||||
<a href="<?php echo esc_url(home_url('/request-demo/')); ?>" class="av-btn av-btn--primary av-btn--md">
|
||||
<?php esc_html_e('Request a Demo', 'asterion-bricks'); ?>
|
||||
</a>
|
||||
|
||||
<button type="button" class="av-drawer-toggle" aria-controls="av-drawer" aria-expanded="false" aria-label="<?php esc_attr_e('Open menu', 'asterion-bricks'); ?>">
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
|
||||
<line x1="3" y1="6" x2="21" y2="6"></line>
|
||||
<line x1="3" y1="12" x2="21" y2="12"></line>
|
||||
<line x1="3" y1="18" x2="21" y2="18"></line>
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<aside id="av-drawer" class="av-drawer" aria-hidden="true">
|
||||
<button type="button" class="av-drawer__close" aria-label="<?php esc_attr_e('Close menu', 'asterion-bricks'); ?>">×</button>
|
||||
<nav class="av-drawer__nav" aria-label="<?php esc_attr_e('Mobile primary', 'asterion-bricks'); ?>">
|
||||
<div class="av-drawer__group">
|
||||
<a href="<?php echo esc_url(home_url('/solutions/')); ?>" class="av-drawer__group-title"><?php esc_html_e('Solutions', 'asterion-bricks'); ?></a>
|
||||
</div>
|
||||
<div class="av-drawer__group">
|
||||
<a href="<?php echo esc_url(home_url('/industries/')); ?>" class="av-drawer__group-title"><?php esc_html_e('Industries', 'asterion-bricks'); ?></a>
|
||||
</div>
|
||||
<div class="av-drawer__group">
|
||||
<a href="<?php echo esc_url(home_url('/technology/')); ?>" class="av-drawer__group-title"><?php esc_html_e('Technology', 'asterion-bricks'); ?></a>
|
||||
</div>
|
||||
<div class="av-drawer__group">
|
||||
<a href="<?php echo esc_url(home_url('/why-asterion/')); ?>" class="av-drawer__group-title"><?php esc_html_e('Why Asterion', 'asterion-bricks'); ?></a>
|
||||
</div>
|
||||
<div class="av-drawer__group">
|
||||
<a href="<?php echo esc_url(home_url('/insights/')); ?>" class="av-drawer__group-title"><?php esc_html_e('Insights', 'asterion-bricks'); ?></a>
|
||||
</div>
|
||||
</nav>
|
||||
<div class="av-drawer__cta-area">
|
||||
<a href="<?php echo esc_url(home_url('/request-demo/')); ?>" class="av-btn av-btn--primary av-btn--lg" style="width:100%;">
|
||||
<?php esc_html_e('Request a Demo', 'asterion-bricks'); ?>
|
||||
</a>
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
<main id="main" class="av-main">
|
||||
70
wp-content/themes/asterion-bricks/index.php
Normal file
70
wp-content/themes/asterion-bricks/index.php
Normal file
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
/**
|
||||
* Asterion Bricks — Default index template
|
||||
*
|
||||
* Fallback used by WordPress when no more specific template matches.
|
||||
* Renders standard post lists for archives and the blog hub.
|
||||
*
|
||||
* @package AsterionBricks
|
||||
*/
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<section class="av-section">
|
||||
<div class="av-container av-container--narrow">
|
||||
|
||||
<?php if (have_posts()) : ?>
|
||||
<header class="av-section__head">
|
||||
<?php if (is_archive()) : ?>
|
||||
<h1 class="av-section__title"><?php the_archive_title(); ?></h1>
|
||||
<?php $desc = get_the_archive_description(); if ($desc) : ?>
|
||||
<div class="av-section__lead"><?php echo wp_kses_post($desc); ?></div>
|
||||
<?php endif; ?>
|
||||
<?php elseif (is_search()) : ?>
|
||||
<h1 class="av-section__title"><?php printf(esc_html__('Search results for « %s »', 'asterion-bricks'), get_search_query()); ?></h1>
|
||||
<?php elseif (is_home()) : ?>
|
||||
<h1 class="av-section__title"><?php esc_html_e('Insights', 'asterion-bricks'); ?></h1>
|
||||
<?php endif; ?>
|
||||
</header>
|
||||
|
||||
<div class="av-stack av-stack--xl">
|
||||
<?php while (have_posts()) : the_post(); ?>
|
||||
<article <?php post_class('av-card av-card--blog'); ?> style="display:block;background:transparent;box-shadow:none;border-bottom:1px solid var(--color-border-subtle);padding-bottom:var(--space-8);">
|
||||
<header style="display:flex;flex-direction:column;gap:var(--space-2);margin-bottom:var(--space-3);">
|
||||
<span class="av-eyebrow"><?php echo esc_html(get_the_date()); ?></span>
|
||||
<h2 style="font-family:var(--font-display);font-size:var(--text-h2);line-height:var(--leading-h2);font-weight:var(--font-weight-bold);">
|
||||
<a href="<?php the_permalink(); ?>" style="color:inherit;text-decoration:none;"><?php the_title(); ?></a>
|
||||
</h2>
|
||||
</header>
|
||||
<div style="color:var(--color-text-secondary);font-size:var(--text-body-md);line-height:var(--leading-body-md);">
|
||||
<?php the_excerpt(); ?>
|
||||
</div>
|
||||
<p style="margin-top:var(--space-3);">
|
||||
<a href="<?php the_permalink(); ?>" class="av-link av-link--with-arrow"><?php esc_html_e('Read more', 'asterion-bricks'); ?></a>
|
||||
</p>
|
||||
</article>
|
||||
<?php endwhile; ?>
|
||||
</div>
|
||||
|
||||
<nav class="av-pagination" style="margin-top:var(--space-12);">
|
||||
<?php the_posts_pagination([
|
||||
'mid_size' => 1,
|
||||
'prev_text' => esc_html__('← Previous', 'asterion-bricks'),
|
||||
'next_text' => esc_html__('Next →', 'asterion-bricks'),
|
||||
]); ?>
|
||||
</nav>
|
||||
|
||||
<?php else : ?>
|
||||
<header class="av-section__head">
|
||||
<h1 class="av-section__title"><?php esc_html_e('Nothing here yet.', 'asterion-bricks'); ?></h1>
|
||||
<p class="av-section__lead"><?php esc_html_e('No content matches your request. Try a different search, or head back home.', 'asterion-bricks'); ?></p>
|
||||
</header>
|
||||
<p><a class="av-btn av-btn--primary av-btn--md" href="<?php echo esc_url(home_url('/')); ?>"><?php esc_html_e('Back to home', 'asterion-bricks'); ?></a></p>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
Reference in New Issue
Block a user