Skip to content

Commit ce6cc39

Browse files
bring back NEW badge (#225)
* bring back NEW badge * no more pay over time * cleanup
1 parent 892c043 commit ce6cc39

File tree

1 file changed

+38
-3
lines changed

1 file changed

+38
-3
lines changed

src/routes/shop/+page.svelte

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@
44
import ProductCard from "$lib/components/ProductCard.svelte";
55
import Accordion from "$lib/components/Accordion.svelte";
66
import Button from "$lib/components/Button.svelte";
7+
import Badge from "$lib/components/Badge.svelte";
78
89
import FourImage from "$lib/images/products/comma-four/four_screen_on.png";
910
1011
import RecordingsIcon from "$lib/icons/features/recordings.svg?raw";
1112
import CalendarIcon from "$lib/icons/features/calendar.svg?raw";
12-
import CurrencyIcon from "$lib/icons/features/currency.svg?raw";
13+
import CarIcon from "$lib/icons/features/car.svg?raw";
1314
import BusinessIcon from "$lib/icons/features/business.svg?raw";
1415
import ContactIcon from "$lib/icons/features/contact.svg?raw";
1516
import ImmediateIcon from "$lib/icons/features/immediate.svg?raw";
@@ -49,6 +50,7 @@
4950
<div class="product-display gradient-bg">
5051
<Grid columns={2} alignItems="center" size="large">
5152
<div class="product-content">
53+
<Badge style="accent">NEW DEVICE!</Badge>
5254
<hgroup>
5355
<h1>comma four</h1>
5456
<span>${FOUR_PRICE}</span>
@@ -57,15 +59,48 @@
5759
Buy now
5860
</LinkButton>
5961
<p>
60-
Works with {vehicleCountText} cars.
61-
<a class="highlight muted" href="/vehicles">Check compatibility</a>.
62+
Works with {vehicleCountText} cars from 27 brands.
63+
<a class="highlight muted" href="/vehicles">Is your car compatible?</a>
6264
</p>
6365
</div>
6466
<div class="mobile-first">
6567
<img src={FourImage} loading="lazy" alt="comma four device" />
6668
</div>
6769
</Grid>
6870
</div>
71+
<div class="traits light">
72+
<Grid columns={3} alignItems="stretch" columnGap="0" rowGap="0">
73+
<div class="trait">
74+
<div>{@html CarIcon}</div>
75+
<hgroup>
76+
<h2>Works with {vehicleCountText} cars</h2>
77+
<div>
78+
Compatible with {vehicleCountText} vehicles.
79+
<a class="highlight" href="/vehicles">Check compatibility</a>.
80+
</div>
81+
</hgroup>
82+
</div>
83+
<div class="trait">
84+
<div>{@html RecordingsIcon}</div>
85+
<hgroup>
86+
<h2>Easy to plug in</h2>
87+
<div>
88+
Check out our step-by-step guide. Get set up in your car in 15 minutes.
89+
</div>
90+
</hgroup>
91+
</div>
92+
<div class="trait">
93+
<div>{@html CalendarIcon}</div>
94+
<hgroup>
95+
<h2>30-day money-back trial</h2>
96+
<div>
97+
See for yourself why Consumer Reports rated us as the
98+
<a class="highlight" href="https://data.consumerreports.org/wp-content/uploads/2020/11/consumer-reports-active-driving-assistance-systems-november-16-2020.pdf" target="_blank">top ADAS system</a>.
99+
</div>
100+
</hgroup>
101+
</div>
102+
</Grid>
103+
</div>
69104
</article>
70105

71106
</div>

0 commit comments

Comments
 (0)