Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add explainer to Express Build #1265

Merged
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
18 changes: 16 additions & 2 deletions src/routes/pricing/compare-plans.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@
import { visible } from '$lib/actions/visible';
import { isHeaderHidden } from '$lib/layouts/Main.svelte';
import { getScrollDir } from '$lib/utils/getScrollDir';
import { isVisible } from '$lib/utils/isVisible';
import { createAccordion, melt } from '@melt-ui/svelte';
import { writable } from 'svelte/store';
import { fly } from 'svelte/transition';
import Tooltip from '../../lib/components/Tooltip.svelte';

type Table = {
title: string;
rows: {
title: string;
info?: string;
free: string | true;
pro: string | true;
scale: string | true;
Expand Down Expand Up @@ -232,6 +233,7 @@
},
{
title: 'Express builds',
info: 'Dedicated priority queues for build jobs',
free: '-',
pro: true,
scale: true
Expand Down Expand Up @@ -498,7 +500,19 @@
<tbody class="web-compare-table-body" use:melt={$content(table.title)}>
{#each table.rows as row}
<tr>
<th class="web-sub-body-500">{row.title}</th>
<th class="web-sub-body-500">
<div class="u-flex u-gap-4">
{row.title}
{#if row.info}
<Tooltip placement="top">
<span class="icon-info" aria-hidden="true" />
<svelte:fragment slot="tooltip">
{row.info}
</svelte:fragment>
</Tooltip>
{/if}
</div>
</th>
{#each cols as col, index}
<td
class="level-{index}"
Expand Down
Loading