Skip to content

Commit 3eff1c1

Browse files
authored
update the cards on the homepage (#2868)
[ ] Check if this is a typo or other quick fix and ignore the rest :) ## Type of change <!-- Please be sure to add the appropriate label to your PR. --> ### What should this PR do? <!-- Does this PR resolve an issue? Please include a reference to it. --> ### Why are we making this change? <!-- What larger problem does this PR address? --> ### What are the acceptance criteria? <!-- What should be happening for this PR to be accepted? Please list criteria. --> <!-- Do any stakeholders need to be tagged in this review? If so, please add them. --> ### How should this PR be tested? <!-- What should your reviewer do to test this PR? Please list steps. --> Signed-off-by: ltagliaferri <[email protected]>
1 parent cdc9e54 commit 3eff1c1

File tree

2 files changed

+20
-11
lines changed

2 files changed

+20
-11
lines changed

assets/scss/components/_academy-rebrand.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,11 @@
367367
border: none !important;
368368
}
369369

370+
.card-gradient-purple {
371+
background: #6226FB !important;
372+
border: none !important;
373+
}
374+
370375
// Dark mode - keep same flat colors
371376
:root[data-dark-mode] {
372377
.card-gradient-magenta {
@@ -380,6 +385,10 @@
380385
.card-gradient-green {
381386
background: #04BD13 !important;
382387
}
388+
389+
.card-gradient-purple {
390+
background: #6226FB !important;
391+
}
383392
}
384393

385394
// Enhanced Basics Cards

layouts/index.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,17 @@ <h1 class="hero-title">
3232
<!-- <h4 class="section-title">Featured</h4> -->
3333
<div class="top-card-container">
3434
<div class="card-container">
35+
<div>
36+
<a href="/chainguard/chainguard-images/overview/" class="a--original">
37+
<div class="card-background image-card card-gradient-purple">
38+
<svg xmlns="http://www.w3.org/2000/svg" width="56" height="56" viewBox="0 0 80 80" fill="none">
39+
<path d="M0 0V80H80V0H0ZM53.3333 53.3333H26.6667V26.6667H53.3333V53.3333Z" fill="#FFFFFF"/>
40+
</svg>
41+
</div>
42+
<h5 class="caption-title">Chainguard Containers</h5>
43+
<p class="caption">Distroless container images with minimal attack surface and zero CVEs</p>
44+
</a>
45+
</div>
3546
<div>
3647
<a href="/chainguard/libraries/overview/" class="a--original">
3748
<div class="card-background image-card card-gradient-magenta">
@@ -47,17 +58,6 @@ <h5 class="caption-title">Chainguard Libraries</h5>
4758
<p class="caption">Hardened language packages built for enterprise security requirements</p>
4859
</a>
4960
</div>
50-
<div>
51-
<a href="/chainguard/vms/" class="a--original">
52-
<div class="card-background image-card card-gradient-cyan">
53-
<svg xmlns="http://www.w3.org/2000/svg" width="56" height="56" viewBox="0 0 96 96" fill="none">
54-
<path d="M76.8 38.4V19.2H57.6V0H38.4V19.2H19.2V38.4H0V57.6H19.2V76.8H38.4V96H57.6V76.8H76.8V57.6H96V38.4H76.8ZM38.4 57.6V38.4H57.6V57.6H38.4Z" fill="#FFFFFF"/>
55-
</svg>
56-
</div>
57-
<h5 class="caption-title">Chainguard VMs</h5>
58-
<p class="caption">Secure virtual machine images with built-in security controls and compliance</p>
59-
</a>
60-
</div>
6161
<div>
6262
<a href="https://courses.chainguard.dev/?utm_source=skilljar&utm_medium=referral&utm_campaign=FY25-DevRel-Skilljar" class="a--original" target="_blank">
6363
<div class="card-background image-card card-gradient-green">

0 commit comments

Comments
 (0)