[docsy] Rework CTAs and feature ribbon (#84)

Signed-off-by: Patrice Chalin <chalin@users.noreply.github.com>
This commit is contained in:
Patrice Chalin 2024-12-13 11:22:48 -05:00 committed by GitHub
parent fd024dabc0
commit c46bbac30d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 36 additions and 25 deletions

View File

@ -14,6 +14,16 @@
max-height: 12rem;
}
.cta {
a {
@extend .btn-lg;
@extend .mt-2; // For when btns stack on mobile
}
a:not(:last-child) {
@extend .me-3;
}
}
.cncf {
text-align: center;

View File

@ -7,22 +7,16 @@ description: A framework to secure the integrity of software supply chains
<img src="/img/in-toto-horizontal-white.svg" alt="in-toto" class="in-toto-logo">
<!-- prettier-ignore -->
<!-- prettier-ignore-start -->
{{% param description %}}
{.display-6}
{.display-6 .mb-5}
<div class="p-initial mt-5">
<a class="btn btn-lg btn-primary me-3" href="docs/what-is-in-toto/">Learn
More</a>
<a class="btn btn-lg btn-primary me-3" href="https://github.com/in-toto/demo">Try
the demo</a>
<a class="btn btn-lg btn-primary" href="https://github.com/in-toto/friends">Explore
integrations</a>
</div>
<a class="btn btn-primary" href="docs/what-is-in-toto/">Learn More</a>
<a class="btn btn-secondary" href="docs/getting-started/">Get started</a>
<a class="btn btn-primary" href="https://github.com/in-toto/demo">Try the demo</a>
{.p-initial .cta}
<div class="h3 mt-4">
<a class="btn btn-lg btn-secondary" href="docs/getting-started/">Get started</i></a>
</div>
<!-- prettier-ignore-end -->
{{% /blocks/cover %}}
@ -34,23 +28,30 @@ integrations</a>
{{% blocks/section color="dark" type="row" %}}
{{% blocks/feature icon="fa-solid fa-lock" title="Software supply chain protection" url="/docs/" %}}
{{% blocks/feature
title="Open, extensible standard"
url="/docs/specs/"
icon="fa-solid fa-book"
%}}
Supply chain compromises are becoming a frequent occurrence. in-toto can help
you protect your software supply chain.
An open metadata standard that you can implement in your software's supply
chain.
{{% /blocks/feature %}}
{{% /blocks/feature %}} {{% blocks/feature
title="Adoptions and Integrations"
url="https://github.com/in-toto/friends"
icon="fa-solid fa-handshake-simple"
%}}
{{% blocks/feature icon="fa-solid fa-book" title="Open, extensible standard" url="/docs/specs/" %}}
Explore integrations and adopters of in-toto.
in-toto is an open metadata standard that you can implement in your software's
supply chain toolchain.
{{% /blocks/feature %}} {{% blocks/feature
title="Extensive tooling"
url="https://github.com/in-toto"
icon="fa-solid fa-gear"
%}}
{{% /blocks/feature %}}
{{% blocks/feature icon="fa-solid fa-gear" title="Extensive tooling" url="https://github.com/in-toto" %}}
You can use in-toto today by using our Apache-licensed libraries and tools.
Use in-toto today by through Apache-licensed libraries and tools.
{{% /blocks/feature %}}