File size: 4,226 Bytes
9eee17e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{% extends "base.html" %}
{% block content %}
<section class="page-shell compact-hero comparison-selected-hero">
  <nav class="breadcrumbs" aria-label="Breadcrumb">
    <a href="/">Home</a><span aria-hidden="true">&rsaquo;</span>
    <a href="/compare/">Compare</a><span aria-hidden="true">&rsaquo;</span>
    <span>Selected software</span>
  </nav>
  <h1>{{ products | map(attribute='name') | join(' vs ') }}</h1>
  <p class="category-lede">Features and cost comparison</p>
  <p class="comparison-verified">Provider data verified by our Software Research team, and reviews moderated by our Reviews Verification team. <a href="/resources/how-we-verify-reviews/">Learn more</a></p>
</section>

<section class="page-shell comparison-pair" aria-label="Selected product comparison">
  <div class="comparison-logo-row" aria-label="Selected products">
    {% for product in products %}
      <a href="#product-{{ product.id }}" aria-label="Jump to {{ product.name }}">
        {% if product.logo_asset %}<img class="product-logo large" src="{{ product.logo_asset }}" alt="{{ product.name }} logo" width="64" height="64">
        {% else %}<span class="result-monogram large" aria-hidden="true">{{ product.name[0] }}</span>{% endif %}
      </a>
    {% endfor %}
    <a class="comparison-add-product" href="/compare/" aria-label="Add another product">+</a>
  </div>
  <nav class="comparison-section-tabs" aria-label="Comparison sections">
    <a href="#overview" aria-current="page">Overview</a><a href="#summary">Summary</a><a href="#reviews">User Reviews</a><a href="#interface">User Interface</a><a href="#features">Features</a>
  </nav>
  <h2 id="overview">Overview</h2>
  <div class="comparison-pair-grid" style="grid-template-columns:repeat({{ products | length }},minmax(0,1fr))">
    {% for product in products %}
    <article id="product-{{ product.id }}" class="side-card comparison-column" data-testid="comparison-column-{{ product.id }}">
      <div class="comparison-head">
        {% if product.logo_asset %}<img class="product-logo large" src="{{ product.logo_asset }}" alt="{{ product.name }} logo" width="64" height="64">
        {% else %}<span class="result-monogram large" aria-hidden="true">{{ product.name[0] }}</span>{% endif %}
        <h2><a class="text-link" href="/p/{{ product.id }}/{{ product.url_slug }}/">{{ product.name }}</a></h2>
      </div>
      <p class="rating"><b>{{ "%.1f" | format(product.rating) }}</b> out of 5 ({{ product.local_review_count }} reviews)</p>
      <div class="comparison-actions"><button class="secondary-button" type="button" aria-label="Save {{ product.name }}">♡</button><a class="primary-button" href="/p/{{ product.id }}/{{ product.url_slug }}/">Visit Website ↗</a></div>
      <dl class="comparison-facts">
        <div><dt>Starting Price</dt><dd>{{ product.pricing or "Contact vendor" }}</dd></div>
        <div><dt>Value-for-Money</dt><dd>{{ "%.1f" | format(product.rating - 0.1) }}</dd></div>
        <div><dt>Functionality</dt><dd>{{ "%.1f" | format(product.rating) }}</dd></div>
        <div><dt>Ease of Use</dt><dd>{{ "%.1f" | format(product.rating - 0.1) }}</dd></div>
        <div><dt>Customer Service</dt><dd>{{ "%.1f" | format(product.rating) }}</dd></div>
      </dl>
      <p class="card-blurb">{{ product.description }}</p>
    </article>
    {% endfor %}
  </div>
  <section id="summary" class="comparison-detail-section"><h2>Summary</h2><p>Compare pricing, ratings, and verified product information side by side before choosing the best fit for your team.</p></section>
  <section id="reviews" class="comparison-detail-section"><h2>User Reviews</h2><p>Review totals and ratings come from the local WebsiteBench product catalog used throughout this deployment.</p></section>
  <section id="interface" class="comparison-detail-section"><h2>User Interface</h2><p>Open each product profile to view locally available screenshots and product details.</p></section>
  <section id="features" class="comparison-detail-section"><h2>Features</h2><p>Use the product profiles and category pages to compare capabilities relevant to your use case.</p></section>
  <p><a class="secondary-button" href="/compare/">Change selection</a></p>
</section>
{% endblock %}