Skip to content

Commit 15c394d

Browse files
authored
Design a landing site for std (#12)
Signed-off-by: Juan Cruz Viotti <[email protected]>
1 parent f7b658b commit 15c394d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+4360
-82
lines changed

assets/bootstrap.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import Collapse from './vendor/bootstrap/js/src/collapse.js'
2+
3+
window.bootstrap = window.bootstrap || {}
4+
window.bootstrap.Collapse = Collapse

assets/main.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ $primary: #000;
3232
// @import "../vendor/bootstrap/scss/breadcrumb";
3333
// @import "../vendor/bootstrap/scss/pagination";
3434
@import "../vendor/bootstrap/scss/badge";
35-
// @import "../vendor/bootstrap/scss/alert";
35+
@import "../vendor/bootstrap/scss/alert";
3636
// @import "../vendor/bootstrap/scss/progress";
3737
// @import "../vendor/bootstrap/scss/list-group";
3838
// @import "../vendor/bootstrap/scss/close";
@@ -85,3 +85,9 @@ $bootstrap-icons-font-dir: "./";
8585
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
8686
}
8787
}
88+
89+
.highlight pre {
90+
background: transparent !important;
91+
@extend .mb-0;
92+
@extend .p-4;
93+
}

config/_default/config.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,15 @@ staticDir = [ './vendor/bootstrap-icons/font/fonts', './static' ]
66
description = 'The JSON Schema Registry. Enterprise-grade, high-performance, and self-hosted'
77
github = 'https://github.com/sourcemeta'
88
9+
10+
[markup]
11+
[markup.highlight]
12+
style = 'swapoff'
13+
14+
[[module.mounts]]
15+
source = "assets"
16+
target = "assets"
17+
18+
[[module.mounts]]
19+
source = "vendor/bootstrap/js"
20+
target = "assets/vendor/bootstrap/js"

content/_index.html

Lines changed: 23 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
+++
22
title = "Home"
3+
github = "sourcemeta/registry"
4+
5+
[[navigation]]
6+
title = "Docs"
7+
link = "https://registry.sourcemeta.com"
8+
9+
[[navigation]]
10+
title = "Features"
11+
link = "#features"
12+
13+
[[navigation]]
14+
title = "Pricing"
15+
link = "#pricing"
16+
17+
[[navigation]]
18+
title = "Open Source"
19+
link = "#opensource"
20+
21+
[[navigation]]
22+
title = "Support"
23+
link = "https://github.com/sourcemeta/registry/discussions"
324
+++
425

526
{{< blueprint color="white" class="border-top pt-4 pt-md-5 pb-3" >}}
@@ -80,31 +101,7 @@ <h2 class="fw-lighter d-none d-lg-block">
80101
</div>
81102
{{< /components/ribbon >}}
82103

83-
<section class="bg-light border-bottom py-4">
84-
<div class="container">
85-
<div class="row align-items-center g-5">
86-
<div class="col-12 col-md-3">
87-
<a href="/courses/jsonschema-for-openapi/" class="d-block position-relative">
88-
<img src="courses/jsonschema-for-openapi/screenshot.webp" alt="JSON Schema for OpenAPI course" class="img-fluid rounded shadow-sm">
89-
<div class="position-absolute top-50 start-50 translate-middle">
90-
<div class="bg-primary bg-opacity-90 rounded-circle d-flex align-items-center justify-content-center" style="width: 50px; height: 50px;">
91-
<i class="bi bi-play-fill text-white" style="font-size: 1.5rem; margin-left: 3px;"></i>
92-
</div>
93-
</div>
94-
</a>
95-
</div>
96-
<div class="col-12 col-md-9">
97-
<div class="d-flex align-items-start">
98-
<div>
99-
<h3 class="h4 fw-bold mb-2">Master JSON Schema for OpenAPI</h3>
100-
<p class="mb-3 text-muted small">Learn advanced patterns, schema-first design, and production-grade techniques from a member of the JSON Schema Technical Steering Committee. 14 modules and over 9 hours of content covering the entirety of JSON Schema 2020-12, from basics all the way to dynamic references.</p>
101-
<a href="/courses/jsonschema-for-openapi/" class="btn btn-sm btn-outline-primary">Take the Video Course <i class="bi bi-arrow-right ms-1"></i></a>
102-
</div>
103-
</div>
104-
</div>
105-
</div>
106-
</div>
107-
</section>
104+
{{< promotion >}}
108105

109106
<section class="py-5" id="features">
110107
<div class="container">
@@ -183,25 +180,7 @@ <h3 class="display-6 fw-bold mb-3">Designed to solve schema management at scale<
183180
</div>
184181
</div>
185182

186-
{{< callout >}}
187-
<div class="col-12 col-md-auto">
188-
<a href="https://www.linkedin.com/in/jviotti/">
189-
<img src="jviotti.webp" alt="Juan Cruz Viotti" class="img-thumbnail mb-4 mb-md-0" style="max-width: 200px">
190-
</a>
191-
</div>
192-
193-
<div class="col-12 col-md">
194-
<div class="h4 fw-bold">Do you have any questions?</div>
195-
<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>
196-
<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>
197-
<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>
198-
<script type="text/javascript">
199-
(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");
200-
Cal("init", "30min", {origin:"https://cal.com"});
201-
Cal.ns["30min"]("ui", {"cssVarsPerTheme":{"light":{"cal-brand":"#000000"},"dark":{"cal-brand":"#ffffff"}},"hideEventTypeDetails":false,"layout":"month_view"});
202-
</script>
203-
</div>
204-
{{< /callout >}}
183+
{{< talk-to-us >}}
205184
</div>
206185
</section>
207186

content/products/_index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
+++
2+
title = "Products"
3+
+++

0 commit comments

Comments
 (0)