Skip to content

Commit 4e36d1a

Browse files
committed
[WIP] Promote the API Masters video course
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
1 parent 4a1a809 commit 4e36d1a

File tree

7 files changed

+29
-26
lines changed

7 files changed

+29
-26
lines changed

content/draft3/core/exclusiveMaximum.markdown

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ keyword: "exclusiveMaximum"
33
signature: "Boolean"
44
value: This keyword must be set to a boolean value
55
summary: "When [`maximum`](/draft3/core/maximum) is present and this keyword is set to true, the numeric instance must be less than the value in [`maximum`](/draft3/core/maximum)."
6-
summary: "Validation succeeds if the numeric instance is less than the given number."
76
kind: [ "assertion" ]
87
instance: [ "number" ]
98
specification: "https://json-schema.org/draft-03/draft-zyp-json-schema-03.pdf#5.12"

layouts/_default/section.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
<div class="d-flex bg-body flex-fill">
2828
{{ partial "sidebar.html" . }}
2929
<div class="flex-xl-grow-1 mw-100">
30+
{{ partial "training.html" . }}
3031
<main class="px-3 px-lg-5 pt-4 pb-3">
3132
<header class="mb-3">
3233
<h1>{{ .Title }}
@@ -232,7 +233,6 @@ <h2>Keywords</h2>
232233
{{ end }}
233234
</main>
234235

235-
{{ partial "book.html" . }}
236236
{{ partial "help.html" . }}
237237
</div>
238238
</div>

layouts/_default/single.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
<div class="d-flex bg-body flex-fill">
2222
{{ partial "sidebar.html" . }}
2323
<div class="flex-xl-grow-1 mw-100">
24+
{{ partial "training.html" . }}
2425
<main class="px-3 px-lg-5 pt-4 pb-3">
2526
<article>
2627
<header>
@@ -249,7 +250,6 @@ <h1 class="fw-bold">{{ .Params.keyword }}</h1>
249250
</article>
250251
</main>
251252

252-
{{ partial "book.html" . }}
253253
{{ partial "help.html" . }}
254254
</div>
255255
</div>

layouts/partials/book.html

Lines changed: 0 additions & 23 deletions
This file was deleted.

layouts/partials/training.html

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{{ $courseURL := "https://www.sourcemeta.com/courses/jsonschema-apimasters" }}
2+
{{ $oreilly := "https://www.oreilly.com/library/view/unifying-business-data/9781098144999/" }}
3+
4+
<section class="bg-light-subtle border-bottom py-3">
5+
<div class="container-fluid px-3 px-lg-5">
6+
<div class="d-flex flex-md-row align-items-center gap-3">
7+
<div class="flex-shrink-0 d-none d-md-block">
8+
<a href="{{ $courseURL }}" target="_blank" class="d-block position-relative" style="width: 140px;">
9+
<img src="{{ .Site.BaseURL }}/course.webp" alt="JSON Schema for OpenAPI course" class="img-fluid rounded shadow-sm" style="width: 100%; object-fit: cover;">
10+
<div class="position-absolute top-50 start-50 translate-middle">
11+
<div class="bg-dark bg-opacity-90 rounded-circle d-flex align-items-center justify-content-center" style="width: 35px; height: 35px;">
12+
<i class="bi bi-play-fill text-white" style="font-size: 1.1rem; margin-left: 2px;"></i>
13+
</div>
14+
</div>
15+
</a>
16+
</div>
17+
<div class="flex-grow-1 text-center text-md-start">
18+
<h3 class="h6 fw-bold mb-1">Looking to master JSON Schema for OpenAPI?</h3>
19+
<p class="mb-2 text-muted small">A 9+ course taught by a member of the JSON Schema Technical Steering Committee</p>
20+
<div class="d-flex align-items-center justify-content-center justify-content-md-start flex-wrap gap-3">
21+
<a href="{{ $courseURL }}" target="_blank" class="btn btn-sm btn-dark">Take the Video Course <i class="bi bi-arrow-right ms-1"></i></a>
22+
<span class="text-muted small">Also check out our <a href="{{ $oreilly }}" target="_blank">O'Reilly book</a></span>
23+
</div>
24+
</div>
25+
</div>
26+
</div>
27+
</section>

static/course.webp

167 KB
Loading

static/cover.webp

-27.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)