This commit is contained in:
1 parent
415d8b7ead
commit
359c226d00
1 file changed
+7
-2
@@ -51,6 +51,10 @@ const tiers = [
|
|||||||
},
|
},
|
||||||
] as const
|
] as const
|
||||||
|
|
||||||
|
// On phones the privacy spectrum reads best-to-worst, so the recommended
|
||||||
|
// Tier 4 card comes first. Desktop keeps the original left-to-right order.
|
||||||
|
const tierMobileOrder = ['order-4', 'order-3', 'order-2'] as const
|
||||||
|
|
||||||
const comparisonRows = [
|
const comparisonRows = [
|
||||||
{
|
{
|
||||||
tier: 'Tier 1: Sniffing',
|
tier: 'Tier 1: Sniffing',
|
||||||
@@ -164,9 +168,10 @@ const comparisonRows = [
|
|||||||
<h2 class="sr-only">Sensing architecture tiers</h2>
|
<h2 class="sr-only">Sensing architecture tiers</h2>
|
||||||
<!-- TIER 1 -->
|
<!-- TIER 1 -->
|
||||||
<article
|
<article
|
||||||
v-for="tier in tiers"
|
v-for="(tier, index) in tiers"
|
||||||
:key="tier.id"
|
:key="tier.id"
|
||||||
class="flex flex-col bg-[#0e2233] border border-[#1e3a52] rounded-xl p-space-lg shadow-sm hover:border-[#334e68] transition-all relative overflow-hidden"
|
class="flex flex-col bg-[#0e2233] border border-[#1e3a52] rounded-xl p-space-lg shadow-sm hover:border-[#334e68] transition-all relative overflow-hidden"
|
||||||
|
:class="[tierMobileOrder[index], 'md:order-none']"
|
||||||
>
|
>
|
||||||
<div class="flex items-center justify-between mb-space-md">
|
<div class="flex items-center justify-between mb-space-md">
|
||||||
<span class="font-label-sm text-[11px] text-[#94A3B8] uppercase tracking-wider">{{ tier.tier }}</span>
|
<span class="font-label-sm text-[11px] text-[#94A3B8] uppercase tracking-wider">{{ tier.tier }}</span>
|
||||||
@@ -213,7 +218,7 @@ const comparisonRows = [
|
|||||||
</article>
|
</article>
|
||||||
|
|
||||||
<!-- TIER 4 (RECOMMENDED) -->
|
<!-- TIER 4 (RECOMMENDED) -->
|
||||||
<article class="flex flex-col bg-[#0e2233] rounded-xl p-space-lg shadow-[0_0_30px_rgba(0,195,205,0.22)] relative overflow-hidden -mt-2 lg:-mt-3 ring-2 ring-[#00C3CD] border border-[#00C3CD]">
|
<article class="order-1 md:order-none flex flex-col bg-[#0e2233] rounded-xl p-space-lg shadow-[0_0_30px_rgba(0,195,205,0.22)] relative overflow-hidden mt-0 md:-mt-2 lg:-mt-3 ring-2 ring-[#00C3CD] border border-[#00C3CD]">
|
||||||
<!-- Top Banner -->
|
<!-- Top Banner -->
|
||||||
<div class="bg-[#132b40] text-[#00C3CD] -mx-space-lg -mt-space-lg px-space-lg py-2 flex items-center justify-between gap-2 mb-space-md border-b border-[#00C3CD]/40">
|
<div class="bg-[#132b40] text-[#00C3CD] -mx-space-lg -mt-space-lg px-space-lg py-2 flex items-center justify-between gap-2 mb-space-md border-b border-[#00C3CD]/40">
|
||||||
<div class="flex items-center gap-1 text-[9px] font-label-sm uppercase tracking-wide font-bold whitespace-nowrap">
|
<div class="flex items-center gap-1 text-[9px] font-label-sm uppercase tracking-wide font-bold whitespace-nowrap">
|
||||||
|
|||||||
Reference in new issue
Block a user