Skip to content

Commit 1ec27a9

Browse files
insectenginek-wall
authored andcommitted
Re-work Hero band and change global font
1) Added hero band with new text as per original PR 2) Added "row" to layout to remove unwanted global side padding so the page renders at true full width. 3) change from Josefin to Questrail font.
1 parent 67e2c19 commit 1ec27a9

File tree

4 files changed

+42
-9
lines changed

4 files changed

+42
-9
lines changed

_layouts/default.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
<body class="d-flex flex-column vh-100" data-bs-theme="light">
1414
{% include nav.html %}
1515
<div class="container-fluid" data-bs-theme="light">
16+
<div class="row">
1617
{{ content }}
18+
</div>
1719
</div>
1820
{% include footer.html %}
1921
</body>

_layouts/index.html

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,31 @@
11
---
22
layout: default
33
---
4+
5+
<!-- Hero -->
6+
7+
<div class="krx-hero">
8+
<div class="container col-xxl-8 px-4 py-5">
9+
<div class="row flex-lg-row-reverse align-items-center g-5 py-5">
10+
<div class="col-10 col-sm-8 col-lg-6">
11+
<img src="{{site.baseurl}}/images/kroxylicious_logo_rgb_no_text.svg" class="d-block mx-lg-auto img-fluid" alt="Kroxylicious Mascot" width="700" height="500" loading="lazy">
12+
</div>
13+
<div class="col-lg-6">
14+
<h1 class="fw-bold text-body-emphasis lh-1 mb-3">Kroxylicious transparently inject behaviour into your Apache Kafka<sup>&#174;</sup> cluster</h1>
15+
<p class="lead">Solutions to cross-cutting concerns in areas including security, policy-enforcement, audit and much more.</p>
16+
<div class="d-grid gap-2 d-md-flex justify-content-md-start">
17+
<a href="{{site.baseurl}}/quickstarts/" alt="Get started with Kroxylicious" type="button" class="btn btn-light btn-lg px-4 gap-3">Get Started</a>
18+
<a href="{{site.baseurl}}/kroxylicious/" alt="Read the documentation" type="button" class="btn btn-light btn-lg px-4">Read the Docs</a>
19+
</div>
20+
</div>
21+
</div>
22+
</div>
23+
</div>
24+
25+
<!-- Hero -->
26+
427
<div class="row justify-content-center">
5-
<div class="col-11 col-lg-8 card shadow gx-5 gy-5 m-lg-5">
28+
<div class="col-11 col-lg-8 gx-5 gy-5 m-lg-5">
629
<div class="row g-0">
730
<div class="col-auto">
831
<div class="card-body">

_sass/kroxylicious.scss

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
// Required
33
@import "./bootstrap/scss/functions";
44

5-
@import url('https://fonts.googleapis.com/css?family=Josefin+Sans:300,400,700&display=swap');
5+
@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');
66

77
$font-family-sans-serif:
8-
"Josefin Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
8+
"Questrial", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
99
"Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
1010
"Segoe UI Symbol", "Noto Color Emoji";
1111

@@ -117,4 +117,16 @@ $navbar-dark-disabled-color: rgba($white, 0.45);
117117

118118
div.highlighter-rouge {
119119
padding: 0 10px;
120-
}
120+
}
121+
122+
// Hero Styles
123+
124+
.krx-hero {
125+
background: rgb(73,160,120);
126+
background: linear-gradient(111deg, rgba(73,160,120,1) 0%, rgba(44,96,72,1) 30%, rgba(22,48,36,1) 100%);
127+
128+
h1, p {
129+
color: $white !important;
130+
}
131+
}
132+

index.markdown

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,8 @@
44

55
layout: index
66
---
7-
*Kroxylicious* is a project aiming to provide an open source pluggable framework for
8-
writing network proxies that understand the Apache Kafka&#174; protocol.
97

10-
<br />
11-
12-
#### Why?
8+
#### Why Kroxylicious?
139

1410
Proxies are a powerful architectural pattern which are widely used for other
1511
application-layer protocols, such as HTTP.

0 commit comments

Comments
 (0)