Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 28 additions & 26 deletions src/components/ProductFeatures.astro
Original file line number Diff line number Diff line change
Expand Up @@ -56,21 +56,23 @@ const entries = Object.entries(plan);
)}
{additional_descriptions && (
<>
{value.lite ||
(value.free && (
{value.lite ? (
<li>
<strong>Lite: </strong>
<Fragment
set:html={marked.parseInline(value.lite.toString())}
/>
</li>
) : (
value.free && (
<li>
<strong>Lite: </strong>
{value.lite ? (
<Fragment
set:html={marked.parseInline(value.lite.toString())}
/>
) : (
<Fragment
set:html={marked.parseInline(value.free.toString())}
/>
)}
<Fragment
set:html={marked.parseInline(value.free.toString())}
/>
</li>
))}
)
)}
</>
)}
{value.pro && (
Expand All @@ -83,23 +85,23 @@ const entries = Object.entries(plan);
)}
{additional_descriptions && (
<>
{value.pro_plus ||
(value.pro && (
{value.pro_plus ? (
<li>
<strong>Pro Plus: </strong>
<Fragment
set:html={marked.parseInline(value.pro_plus.toString())}
/>
</li>
) : (
value.pro && (
<li>
<strong>Pro Plus: </strong>
{value.pro_plus ? (
<Fragment
set:html={marked.parseInline(
value.pro_plus.toString(),
)}
/>
) : (
<Fragment
set:html={marked.parseInline(value.pro.toString())}
/>
)}
<Fragment
set:html={marked.parseInline(value.pro.toString())}
/>
</li>
))}
)
)}
</>
)}
{value.biz && (
Expand Down