Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docsy] Rework CTA buttons and feature ribbon #84

Merged
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
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
51 changes: 26 additions & 25 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,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 icon="fa-solid fa-book" title="Open, extensible standard" url="/docs/specs/" %}}
{{% /blocks/feature %}} {{% blocks/feature
title="Adoptions and Integrations"
url="https://github.com/in-toto/friends"
icon="fa-solid fa-handshake-simple"
%}}

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

{{% /blocks/feature %}}
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.
Use in-toto today by through Apache-licensed libraries and tools.

{{% /blocks/feature %}}

Expand Down
Loading