Skip to content

Commit 1d00fd2

Browse files
authored
More improved shortcodes (#11)
Signed-off-by: Juan Cruz Viotti <[email protected]>
1 parent 899f349 commit 1d00fd2

File tree

9 files changed

+167
-112
lines changed

9 files changed

+167
-112
lines changed

assets/main.scss

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ $primary: #000;
2222
// @import "../vendor/bootstrap/scss/tables";
2323
// @import "../vendor/bootstrap/scss/forms";
2424
@import "../vendor/bootstrap/scss/buttons";
25-
// @import "../vendor/bootstrap/scss/transitions";
25+
@import "../vendor/bootstrap/scss/transitions";
2626
// @import "../vendor/bootstrap/scss/dropdown";
2727
// @import "../vendor/bootstrap/scss/button-group";
2828
@import "../vendor/bootstrap/scss/nav";
2929
@import "../vendor/bootstrap/scss/navbar";
3030
@import "../vendor/bootstrap/scss/card";
31-
// @import "../vendor/bootstrap/scss/accordion";
31+
@import "../vendor/bootstrap/scss/accordion";
3232
// @import "../vendor/bootstrap/scss/breadcrumb";
3333
// @import "../vendor/bootstrap/scss/pagination";
3434
@import "../vendor/bootstrap/scss/badge";
@@ -76,3 +76,12 @@ $bootstrap-icons-font-dir: "./";
7676
max-width: 75%;
7777
}
7878
}
79+
80+
.hover-lift {
81+
transition: all 0.3s ease;
82+
83+
&:hover {
84+
transform: translateY(-8px);
85+
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
86+
}
87+
}

content/_index.html

Lines changed: 33 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -2,39 +2,35 @@
22
title = "Home"
33
+++
44

5-
<div class="border-top position-relative overflow-hidden">
6-
{{< blueprint theme="light" >}}
5+
{{< blueprint color="white" class="border-top pt-4 pt-md-5 pb-3" >}}
6+
<div>
7+
<div class="badge text-wrap border border-primary text-dark fs-6 mb-4 p-2"><b>Blaze</b>: Compiling JSON Schema for 10x Faster Validation. <a href="https://arxiv.org/abs/2503.02770">Read our paper</a></div>
78

8-
<div class="container pt-4 pt-md-5 pb-3 position-relative">
9-
<div>
10-
<div class="badge text-wrap border border-primary text-dark fs-6 mb-4 p-2"><b>Blaze</b>: Compiling JSON Schema for 10x Faster Validation. <a href="https://arxiv.org/abs/2503.02770">Read our paper</a></div>
11-
12-
<h1 class="display-2 fw-bold d-none d-lg-block">The <span class="text-gradient-metal">JSON Schema</span> Registry</h1>
13-
<h1 class="display-5 fw-bold d-lg-none">The <span class="text-gradient-metal">JSON Schema</span> Registry</h1>
9+
<h1 class="display-2 fw-bold d-none d-lg-block">The <span class="text-gradient-metal">JSON Schema</span> Registry</h1>
10+
<h1 class="display-5 fw-bold d-lg-none">The <span class="text-gradient-metal">JSON Schema</span> Registry</h1>
1411

15-
<h2 class="fw-lighter d-none d-lg-block">
16-
<span class="me-2">Enterprise-grade</span> | <span class="mx-2">High-performance</span> | <span class="ms-2">Self-hosted</span>
17-
</h2>
12+
<h2 class="fw-lighter d-none d-lg-block">
13+
<span class="me-2">Enterprise-grade</span> | <span class="mx-2">High-performance</span> | <span class="ms-2">Self-hosted</span>
14+
</h2>
1815

19-
<p class="fw-lighter fs-4 d-lg-none">
20-
<span class="me-2">Enterprise-grade</span> | <span class="mx-2">High-performance</span> | <span class="ms-2">Self-hosted</span>
21-
</p>
16+
<p class="fw-lighter fs-4 d-lg-none">
17+
<span class="me-2">Enterprise-grade</span> | <span class="mx-2">High-performance</span> | <span class="ms-2">Self-hosted</span>
18+
</p>
2219

23-
<p class="text-muted mt-4 fw-light w-lg-75">JSON Schema is at the core of your governance program, but working with it shouldn't be a headache. Our self-hosted registry eliminates the complexity of operating schemas at scale. <i class="fw-lighter text-body">Led by a <a target="_blank" href="https://www.linkedin.com/in/jviotti/">member</a> of the JSON Schema Technical Steering Committee.</i></p>
20+
<p class="text-muted mt-4 fw-light w-lg-75">JSON Schema is at the core of your governance program, but working with it shouldn't be a headache. Our self-hosted registry eliminates the complexity of operating schemas at scale. <i class="fw-lighter text-body">Led by a <a target="_blank" href="https://www.linkedin.com/in/jviotti/">member</a> of the JSON Schema Technical Steering Committee.</i></p>
2421

25-
<div class="mt-5">
26-
<a class="btn btn-lg btn-primary me-2" href="https://github.com/sourcemeta/registry" role="button">
27-
<i class="bi bi-github me-1"></i> View on GitHub</a>
28-
<a class="btn btn-lg btn-light border" href="https://schemas.sourcemeta.com" role="button">
29-
<i class="bi bi-box-arrow-up-right me-1"></i> Explore a live instance</a>
30-
</div>
22+
<div class="mt-5">
23+
<a class="btn btn-lg btn-primary me-2" href="https://github.com/sourcemeta/registry" role="button">
24+
<i class="bi bi-github me-1"></i> View on GitHub</a>
25+
<a class="btn btn-lg btn-light border" href="https://schemas.sourcemeta.com" role="button">
26+
<i class="bi bi-box-arrow-up-right me-1"></i> Explore a live instance</a>
3127
</div>
32-
33-
<a class="d-block" href="https://schemas.sourcemeta.com">
34-
<img class="w-100 my-5 border shadow" src="screenshot.webp" alt="The Sourcemeta JSON Schema Registry">
35-
</a>
3628
</div>
37-
</div>
29+
30+
<a class="d-block" href="https://schemas.sourcemeta.com">
31+
<img class="w-100 my-5 border shadow" src="screenshot.webp" alt="The Sourcemeta JSON Schema Registry">
32+
</a>
33+
{{< /blueprint >}}
3834

3935
{{< components/ribbon >}}
4036
<div class="container text-secondary d-flex flex-column flex-xl-row align-items-center text-center text-xl-start">
@@ -161,23 +157,25 @@ <h3 class="display-6 fw-bold mb-3">Designed to solve schema management at scale<
161157
</div>
162158
</div>
163159

164-
<div class="border p-4 bg-light-subtle d-flex align-items-lg-center flex-column flex-md-row">
165-
<a href="https://www.linkedin.com/in/jviotti/">
166-
<img src="jviotti.webp" alt="Juan Cruz Viotti" class="img-thumbnail mb-4 mb-md-0 me-md-4" style="max-width: 200px">
167-
</a>
160+
{{< callout >}}
161+
<div class="col-12 col-md-auto">
162+
<a href="https://www.linkedin.com/in/jviotti/">
163+
<img src="jviotti.webp" alt="Juan Cruz Viotti" class="img-thumbnail mb-4 mb-md-0" style="max-width: 200px">
164+
</a>
165+
</div>
168166

169-
<div>
167+
<div class="col-12 col-md">
170168
<div class="h4 fw-bold">Do you have any questions?</div>
171-
<p class="lead mb-1">I'm <a href="https://www.linkedin.com/in/jviotti/">Juan Cruz Viotti</a>, founder of Sourcemeta, member of the JSON Schema Technical Steering Committee, O'Reilly author, and award-winning University of Oxford alumnus.</p>
172-
<p>I'd love to discuss how JSON Schema, OpenAPI, and Sourcemeta tooling can help you build world class APIs.</p>
173-
<button type="button" class="btn btn-dark" data-cal-link="jviotti/30min" data-cal-namespace="30min" data-cal-config='{"layout":"month_view"}'>Book a virtual coffee chat</button>
169+
<p class="lead mb-1 text-white-50">I'm <a href="https://www.linkedin.com/in/jviotti/" class="text-white">Juan Cruz Viotti</a>, founder of Sourcemeta, member of the JSON Schema Technical Steering Committee, O'Reilly author, and award-winning University of Oxford alumnus.</p>
170+
<p class="text-white-50">I'd love to discuss how JSON Schema, OpenAPI, and Sourcemeta tooling can help you build world class APIs.</p>
171+
<button type="button" class="btn btn-light" data-cal-link="jviotti/30min" data-cal-namespace="30min" data-cal-config='{"layout":"month_view"}'>Book a virtual coffee chat</button>
174172
<script type="text/javascript">
175173
(function (C, A, L) { let p = function (a, ar) { a.q.push(ar); }; let d = C.document; C.Cal = C.Cal || function () { let cal = C.Cal; let ar = arguments; if (!cal.loaded) { cal.ns = {}; cal.q = cal.q || []; d.head.appendChild(d.createElement("script")).src = A; cal.loaded = true; } if (ar[0] === L) { const api = function () { p(api, arguments); }; const namespace = ar[1]; api.q = api.q || []; if(typeof namespace === "string"){cal.ns[namespace] = cal.ns[namespace] || api;p(cal.ns[namespace], ar);p(cal, ["initNamespace", namespace]);} else p(cal, ar); return;} p(cal, ar); }; })(window, "https://app.cal.com/embed/embed.js", "init");
176174
Cal("init", "30min", {origin:"https://cal.com"});
177175
Cal.ns["30min"]("ui", {"cssVarsPerTheme":{"light":{"cal-brand":"#000000"},"dark":{"cal-brand":"#ffffff"}},"hideEventTypeDetails":false,"layout":"month_view"});
178176
</script>
179177
</div>
180-
</div>
178+
{{< /callout >}}
181179
</div>
182180
</section>
183181

@@ -306,5 +304,3 @@ <h1 class="card-title pricing-card-title">€1125<small class="text-body-seconda
306304
</div>
307305
</div>
308306
</section>
309-
310-
{{< sections/opensource >}}

content/background.webp

-14.4 KB
Binary file not shown.

layouts/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22
<main>
33
{{ .Content }}
44
</main>
5+
6+
{{ partial "opensource.html" . }}
57
{{ end }}
File renamed without changes.

0 commit comments

Comments
 (0)