Skip to content
Merged
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
3 changes: 3 additions & 0 deletions apps/site/public/partners/cloudflare.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 18 additions & 2 deletions apps/site/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,24 @@ const agents = [
<article>
<Icon name="ph:cloud" />
<h3>Cloudflare</h3>
<p>The main hosted target: Workers, D1, and R2 with private team authentication and isolated content domains. Cloudflare Artifacts can add Git-backed history per project.</p>
<code>Workers · D1 · R2 · Closed beta</code>
<p>The main hosted target: Workers, D1, and R2 with private team authentication and isolated content domains.</p>
<code>Workers · D1 · R2</code>
<a
class="landing-cloudflare-artifacts"
href="https://developers.cloudflare.com/artifacts/"
target="_blank"
rel="noreferrer"
>
<span class="landing-cloudflare-artifacts__mark" aria-hidden="true"></span>
<span class="landing-cloudflare-artifacts__label">
<small>In partnership with</small>
<span>
<strong>Cloudflare Artifacts</strong>
<em>Closed beta</em>
</span>
</span>
<Icon name="ph:arrow-up-right" aria-hidden="true" />
</a>
</article>
<article>
<Icon name="ph:buildings" />
Expand Down
74 changes: 74 additions & 0 deletions apps/site/src/styles/landing.css
Original file line number Diff line number Diff line change
Expand Up @@ -735,6 +735,80 @@
font-size: 0.6875rem;
}

.landing-cloudflare-artifacts {
display: grid;
grid-template-columns: 2rem minmax(0, 1fr) auto;
align-items: center;
gap: 0.75rem;
margin-top: 1.25rem;
padding-top: 1rem;
border-top: 1px solid var(--nb-border);
color: var(--nb-foreground);
text-decoration: none;
}

.landing-cloudflare-artifacts:hover strong {
text-decoration: underline;
text-decoration-thickness: from-font;
text-underline-offset: 0.18em;
}

.landing-cloudflare-artifacts__mark {
width: 2rem;
height: 1.6rem;
background: #f38020;
-webkit-mask: url("/partners/cloudflare.svg") center / contain no-repeat;
mask: url("/partners/cloudflare.svg") center / contain no-repeat;
}

.landing-cloudflare-artifacts__label {
display: flex;
min-width: 0;
flex-direction: column;
gap: 0.25rem;
}

.landing-cloudflare-artifacts__label small {
color: var(--nb-muted-foreground);
font-family: var(--nb-font-mono);
font-size: 0.5625rem;
font-style: normal;
line-height: 1.2;
text-transform: uppercase;
}

.landing-cloudflare-artifacts__label > span {
display: flex;
min-width: 0;
align-items: center;
gap: 0.5rem;
flex-wrap: wrap;
}

.landing-cloudflare-artifacts__label strong {
font-size: 0.8125rem;
font-weight: 600;
line-height: 1.2;
}

.landing-cloudflare-artifacts__label em {
padding: 0.1875rem 0.35rem;
background: color-mix(in oklch, #f38020 14%, transparent);
color: color-mix(in oklch, #f38020 78%, var(--nb-foreground));
font-family: var(--nb-font-mono);
font-size: 0.5625rem;
font-style: normal;
font-weight: 600;
line-height: 1;
text-transform: uppercase;
}

.landing-cloudflare-artifacts > svg {
width: 0.875rem;
height: 0.875rem;
color: var(--nb-muted-foreground);
}

.landing-loop {
display: grid;
min-height: 40rem;
Expand Down