Skip to content
Open
Show file tree
Hide file tree
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
31 changes: 31 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,37 @@ <h3 class="card-title">Pro</h3>
</div>
<button class="download-button primary">Get Pro</button>
</div>
<div class="card">
<div class="card-top">
<h3 class="card-title">Organisation</h3>
<p class="card-price">
<span class="card-price-amount">$20</span>
<span class="card-price-period">/mo.</span>
</p>
<div class="card-content">
<p class="includes-text">Everything in Hobby, plus:</p>
<ul class="features-list">
<li>
<span class="checkmark">✓</span>
Extended limits on Agent
</li>
<li>
<span class="checkmark">✓</span>
Unlimited Tab completions
</li>
<li>
<span class="checkmark">✓</span>
Background Agents
</li>
<li>
<span class="checkmark">✓</span>
Maximum context windows
</li>
</ul>
</div>
</div>
<button class="download-button primary">Get Pro</button>
</div>
</div>
</body>
</html>
32 changes: 30 additions & 2 deletions jsx-version.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ <h1 className="card-title">{title}</h1>
includesText: 'Includes:',
features: ['No credit card required', 'Limited Agent requests', 'Limited Tab completions'],
buttonText: 'Download',
buttonVariant: 'secondary',
buttonVariant: 'outline',
};
const proPlan = {
title: 'Pro',
Expand All @@ -72,9 +72,34 @@ <h1 className="card-title">{title}</h1>
'Maximum context windows',
],
buttonText: 'Get Pro',
buttonVariant: 'secondary',
};
const organisationPlan = {
title: 'Organisation',
price: '$100/mo.',
includesText: 'Everything in Pro, plus:',
features: [
'Extended limits on Agent',
'Unlimited Tab completions',
'Background Agents',
'Maximum context windows',
],
buttonText: 'Get Organisation',
buttonVariant: 'primary',
};

const enterprisePlan = {
title: 'Enterprise',
price: '$1000/mo.',
includesText: 'Everything in Organisation, plus:',
features: [
'Extended limits on Agent',
'Unlimited Tab completions',
'Background Agents',
'Maximum context windows',
],
buttonText: 'Get Enterprise',
buttonVariant: 'glass',
};
return (
// <> is a React Fragment - it groups elements without adding extra HTML divs
<>
Expand All @@ -84,6 +109,8 @@ <h1 className="card-title">{title}</h1>
{/* This is the same as writing: title="Hobby" price="Free" includesText="Includes:" etc. */}
<PricingCard {...hobbyPlan} />
<PricingCard {...proPlan} />
<PricingCard {...organisationPlan} />
<PricingCard {...enterprisePlan} />
</div>
</>
);
Expand All @@ -95,3 +122,4 @@ <h1 className="card-title">{title}</h1>
</script>
</body>
</html>

30 changes: 30 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,36 @@ body {
background-color: #333;
}

.download-button.outline{
background-color: transparent;
border: 1px solid #111;
color: #111;
}

.download-button.outline:hover {
background-color: #111;
color: #fff;
}

.download-button.outline:active {
background-color: #111;
color: #fff;
}

.download-button.outline.glass{
background-color: rgba(255, 255, 255, 0.467);
border: 1px solid rgba(255, 255, 255, 0.471);
color: #fff;
}

.download-button.outline.glass:hover {
background-color: rgba(255, 255, 255, 0.2);
border: 1px solid rgba(255, 255, 255, 0.3);
color: #fff;
}

.download-button.outline.glass:active {
background-color: rgba(255, 255, 255, 0.3);
.page-label {
position: fixed;
top: 16px;
Expand Down