Skip to content

Commit

Permalink
[docsy] Rework CTAs and feature ribbon
Browse files Browse the repository at this point in the history
Signed-off-by: Patrice Chalin <[email protected]>
  • Loading branch information
chalin committed Dec 13, 2024
1 parent fd024da commit 9e4475c
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 23 deletions.
10 changes: 10 additions & 0 deletions assets/scss/_styles_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
47 changes: 24 additions & 23 deletions content/en/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}}

Expand All @@ -34,21 +28,28 @@ integrations</a>

{{% blocks/section color="dark" type="row" %}}

{{% blocks/feature icon="fa-solid fa-lock" title="Software supply chain protection" url="/docs/" %}}

Supply chain compromises are becoming a frequent occurrence. in-toto can help
you protect your software supply chain.

{{% /blocks/feature %}}

{{% blocks/feature icon="fa-solid fa-book" title="Open, extensible standard" url="/docs/specs/" %}}
{{% blocks/feature
title="Open, extensible standard"
url="/docs/specs/"
icon="fa-solid fa-book"
%}}

in-toto is an open metadata standard that you can implement in your software's
supply chain toolchain.

{{% /blocks/feature %}}
{{% /blocks/feature %}} {{% blocks/feature
title="Adoptions and Integrations"
url="https://github.com/in-toto/friends"
icon="fa-solid fa-handshake-simple"
%}}

Explore integrations and adopters of in-toto.

{{% blocks/feature icon="fa-solid fa-gear" title="Extensive tooling" url="https://github.com/in-toto" %}}
{{% /blocks/feature %}} {{% blocks/feature
title="Extensive tooling"
url="https://github.com/in-toto"
icon="fa-solid fa-gear"
%}}

You can use in-toto today by using our Apache-licensed libraries and tools.

Expand Down

0 comments on commit 9e4475c

Please sign in to comment.