Design: Add Missing Features to xapps-site

Date: 2026-04-22
Scope: xapps-site (Jekyll) — homepage + docs
Approach: C — primary 4-card grid unchanged; compact “Also included” row + 4 new docs pages


Background

The app (xapps-geo) has 6 distinct storefront widget/redirect types plus two supporting tools. The site currently features only 4 of them. Discovery via graphify graph:

Feature Source file Site status
Custom Widget Redirects widget-redirects.ts ✅ homepage card + doc
Custom Auto Redirects auto-redirects.ts ✅ homepage card + doc
Markets Widget Redirects markets-widget-redirects.ts ✅ homepage card + doc
Markets Auto Redirects XGEOMARKETSAUTOREDIRECTS ✅ homepage card + doc
Inline Widget widget-redirects-block.tsXGeoInlineWidget ❌ missing
Markets Inline Widget markets-widget-redirects-block.tsXGeoMarketsInlineWidget ❌ missing
Geo Simulator geo-simulator.min.js (Community 17) ❌ missing (brief mention only)
Analytics analytics-tracker.ts + PerformanceSection.tsx ❌ missing

Homepage Change — index.html

What changes

Add an “Also included” secondary row inside <section class="features">, directly after the closing </div> of .features__grid. The existing 4-card grid is untouched.

New HTML block

<div class="features__also">
  <p class="features__also-label">Also included</p>
  <div class="features__also-grid">
    <div class="features__also-item">
      <p class="features__also-title">Inline Widget</p>
      <p class="features__also-desc">Embed a country selector directly in your theme layout — no popup required. Customize templates, fonts, default selection, and placeholder text.</p>
    </div>
    <div class="features__also-item">
      <p class="features__also-title">Markets Inline Widget</p>
      <p class="features__also-desc">Same inline embed powered by Shopify Markets. Choose label formats combining country, language, and currency. Supports flag display and custom translations.</p>
    </div>
    <div class="features__also-item">
      <p class="features__also-title">Geo Simulator</p>
      <p class="features__also-desc">Test redirects by simulating visits from any country — no VPN needed. Append <code>?xgeo-sim=1</code> to any storefront URL to open the simulator panel.</p>
    </div>
    <div class="features__also-item">
      <p class="features__also-title">Analytics</p>
      <p class="features__also-desc">Track redirect performance from the dashboard. View widget and auto redirect counts across Custom and Markets features. Export reports by email.</p>
    </div>
  </div>
</div>

New CSS — css/style.css

Appended after .features__desc block (~15 lines):

.features__also {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(128, 128, 128, 0.2);
}

.features__also-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.features__also-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.features__also-item {
  background: rgba(128, 128, 128, 0.05);
  border: 1px solid rgba(128, 128, 128, 0.12);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

.features__also-title {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.features__also-desc {
  font-size: 0.75rem;
  color: var(--color-muted);
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 640px) {
  .features__also-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

Docs Changes — _docs/

Four new markdown files. All use layout: docs.

1. _docs/inline-widget.md

2. _docs/markets-inline-widget.md

3. _docs/analytics.md

4. _docs/geo-simulator.md


Spec Self-Review