Skip to content

Commit

Permalink
Updates the home page to match operate look and feel (#508)
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Sundberg <[email protected]>
  • Loading branch information
seansund authored Oct 6, 2022
1 parent 757bc7d commit e16b08e
Show file tree
Hide file tree
Showing 10 changed files with 109 additions and 65 deletions.
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
site_name: Cloud Native Toolkit
site_name: "Cloud-Native Toolkit: Develop"
site_description: >-
The Cloud-Native Toolkit is an open-source collection of assets that enable application development and support teams to deliver business value quickly using Red Hat OpenShift or Kubernetes
site_url: https://cloudnativetoolkit.dev
Expand Down
Binary file added overrides/assets/images/apply.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added overrides/assets/images/catalyst.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions overrides/assets/images/catalyst.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added overrides/assets/images/learn-min.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added overrides/assets/images/resources-min.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 26 additions & 3 deletions overrides/assets/stylesheets/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,17 @@

.home-hero-image {
height: 45vh;
background-image: url(images/catalyst.svg);
background-image: url(images/code3.png);
background-position: center;
background-size: cover;
}

.home-hero-text {
bottom: 0;
bottom: 20px;
right: 50px;
position: absolute;
background-color:rgba(0, 0, 0, 0.3);
padding: 10px 10px 20px 10px;
}

.home-hero-text h1 {
Expand Down Expand Up @@ -70,6 +73,10 @@
padding: 0;
}

.md-content__inner {
margin-left: 0 !important;
}

.md-typeset img,
.md-typeset svg {
max-width: initial;
Expand Down Expand Up @@ -98,4 +105,20 @@
article.md-content__inner.md-typeset {
background-color: #161616;
border-left: 1px solid #393939;
}
}

.md-content {
padding-bottom: 0;
}

.card {
padding: 10px 10px;
}

.card div {
font-size: large;
}

.md-nav__link--active {
color: white !important;
}
Binary file added overrides/assets/stylesheets/images/code3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
140 changes: 80 additions & 60 deletions overrides/home.html
Original file line number Diff line number Diff line change
@@ -1,76 +1,96 @@

{% extends "main.html" %}

<link rel="stylesheet" href="{{ 'assets/stylesheets/home.css' | url }}" />

<!-- Announcement bar -->
{% block announce %}
<a href="https://cloud-native-toolkit.github.io/dev-guide">
Previous version of site can be found here
</a>
{% endblock %}

<!-- Tabs -->
{% block tabs %}{% endblock %}

<!-- Content -->
{% block content %}

<link rel="stylesheet" href="{{ 'assets/stylesheets/home.css' | url }}" />
<!-- Hero for landing page -->
<section class="mdx-container">
<!-- Hero for landing page -->
<section class="mdx-container">
<div class="md-grid md-typeset">
<div class="mdx-hero">

<section>
<div class=home-hero>
<div class=home-hero-text>
<h1>Cloud Native Toolkit</h1>
</div>
<div class=home-hero-image>
<div class="mdx-hero">
<section>
<div class="home-hero">
<div class="home-hero-text">
<a href="overview/overview/">
<div>
<h2 style="text-align: center; color: white; margin-top: 0">Get started</h2>
<ul style="list-style-type: none; color: white">
<li>Accelerate time to value using modern DevSec(Comp)Ops practices</li>
<li>Customize the development experience and toolchain to the environment</li>
<li>Leverage the enhanced developer experience provided by Red Hat OpenShift</li>
<li>Contribute accelerators along the software development lifecycle (SDLC)</li>
</ul>
</div>
</a>
</div>
<div class=home-hero-image>
</div>
</div>
</section>
<section>
<div class="home-description">
<div class='row' style="padding-top: 1rem">
<div class='column'>
<a href="resources/workshop/workshop/">
<div class="card">
<div>
<img src="assets/images/learn-min.jpg" width="100%" />
</div>
<div>
<h4 style="text-align: center; color: white">Learn</h4>
<ul style="list-style-type: none; text-align: center; color: white">
<li>Understand how to quickly create a development environment</li>
<li>Get hands-on experience building cloud-native applications</li>
<li>Learn how to customize your development environment</li>
</ul>
</div>
</div>
</a>
</div>
<div class='column'>
<a href="adopting/adopting/">
<div class="card">
<div>
<img src="assets/images/catalyst.png" width="100%" />
</div>
<div>
<h4 style="text-align: center; color: white">Apply</h4>
<ul style="list-style-type: none; text-align: center; color: white">
<li>Dig deeper into the technologies that support the software development lifecycle</li>
<li>Get support for advanced use cases</li>
</ul>
</div>
</div>
</a>
</div>
<div class='column'>
<a href="reference/reference/">
<div class="card">
<div>
<img src="assets/images/resources-min.jpg" width="100%" />
</div>
<div>
<h4 style="text-align: center; color: white">Resources</h4>
<ul style="list-style-type: none; text-align: center; color: white">
<li>Get resources to help build cloud-native applications</li>
<li>Build customized development experiences</li>
<li>Join the community and help expand supported use cases</li>
</ul>
</div>
</div>
</a>
</div>
</div>
</section>
</div>
</div>
</section>
<section>
<div class=home-description>
<div class='row'>
<div class='column'>
Cloud-Native Toolkit
</div>
<div class='column'>
The Cloud-Native Toolkit is an open-source collection of assets
that enable application development and support teams to deliver business value
quickly using Red Hat OpenShift or IBM Cloud-managed Kubernetes.
This guide provides information to help Developers, Administrators,
and Site Reliability Engineers use the Toolkit to support delivering business
applications through the entire Software Development Life Cycle (SDLC).
</div>
</div>
</div>
</section>
<section>
<div class=home-purpose>
<div class='row'>
<div class='column'>
Fit to purpose
</div>
<div class='column'>
The Cloud-Native Toolkit environment has been built to support the principles
of a robust SDLC while being flexible enough to fit into a wide range of
development settings and toolchains. The Cloud-Native Toolkit supports different
tool selections, from open source versions of tools like Artifactory and SonarQube to
enterprise-class software like IBM Cloud Pak for Applications and IBM Multicloud Manager.
</div>
</div>
</div>
</section>
</div>
</div>
</section>
</div>
</section>
{% endblock %}

<!-- Application footer -->
{% block footer %}
{{ super() }}
{% endblock %}

{% block footer %} {{ super() }} {% endblock %}
2 changes: 1 addition & 1 deletion overrides/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div class="md-footer-meta md-typeset">
<div class="md-footer-meta__inner md-grid">
<div class="md-footer-column">
<div class="md-footer-text"><a href="https://cloudnativetoolkit.dev/contribute/contribute/">Contribute</a> to the Cloud-Native Toolkit</div>
<div class="md-footer-text"><a href="https://modules.cloudnativetoolkit.dev/#/contributing">Contribute</a> to the Toolkit</div>
<div class="md-footer-text">Site licensed under <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a></div>
</div>
<div class="md-footer-column">
Expand Down

0 comments on commit e16b08e

Please sign in to comment.