Skip to main content
Configuration File: config/shared/comparison.ts

Overview

The comparison table shows a side-by-side feature comparison between you and competitors:
  • Display up to 4 providers (you + 3 competitors)
  • Show feature checkmarks (✓) and crosses (✗)
  • Organize features into categories
  • Add migration CTA
Configuration file: config/shared/comparison.ts

Quick Start

1

Edit the config file

Open config/shared/comparison.ts:
2

Add competitors and features

Update provider names and feature comparisons
3

Test it

View the comparison table on your homepage

Configuration Structure

Section Header

CTA Message

This appears below the comparison table with “Get Free Migration” highlighted.

Providers

Important:
  • First provider with highlight: true is shown as “You”
  • Maximum 4 providers (you + 3 competitors)
  • id must match field names in features array
  • Use real competitor names or generic names

Features

Fields:
  • category - Group name (e.g., “Key Features”, “Support”, “Hardware”)
  • items - Array of features to compare
  • name - Feature name (be specific)
  • Provider IDs - true = has feature, false = doesn’t have feature

Complete Example


Formatting Tips

Using HTML Entities

For special characters in feature names, use HTML entities:

Special Characters

You can add special characters and symbols to feature names:

Multiple Categories

Organize features into logical groups:

Troubleshooting

Provider ID mismatch error

Ensure provider id matches the field names in features:

Table not showing

Check:
  1. At least 2 providers defined
  2. At least 1 feature category
  3. All provider IDs match in features
  4. No syntax errors (missing commas, brackets)

“You” label not showing

The first provider with highlight: true becomes “You”:

Features misaligned

Ensure every feature has all provider IDs: