Skip to content

Commit a87b4ea

Browse files
authored
Replace API image with JSON Schema logo (#5317)
Replace stylized JSON image, which is not the official JSON logo, with the JSON Schema logo. Image source: Official JSON Schema website sources at https://github.com/json-schema-org/website/blob/fd76cd790cc68928a5eadaa14a76dca28f70bea5/public/logo-blue.svg The text block starts with “The JSON API contains a list of JSON Schema files for known JSON file formats.”. Our API provides JSON Schema, so using a JSON schema logo seems appropriate, certainly more so than using only the official JSON logo. Positive consequences: * Scalable and high-dpi-capable SVG instead of PNG * Fixes dark scheme visual transparency edge rendering artifacts (consequence of dark mode introduced in #5313)
1 parent d7785cd commit a87b4ea

File tree

3 files changed

+36
-1
lines changed

3 files changed

+36
-1
lines changed

src/img/api.png

-5.57 KB
Binary file not shown.

src/img/json-schema-logo-blue.svg

Lines changed: 35 additions & 0 deletions
Loading

src/json.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<article>
3838
<h3 id="api">Public API</h3>
3939
<p>
40-
<img src="/img/api.png" width="256" height="88" alt="Public API for JSON Schemas" class="left" />
40+
<img src="/img/json-schema-logo-blue.svg" width="192" height="192" alt="Public API for JSON Schemas" class="left" />
4141
The JSON <a href="~/api/json/catalog.json">API</a> contains a list of JSON Schema files for known JSON file formats.
4242
Each schema file can be used in tooling such as command line validators, editor auto-completion etc.
4343
</p>

0 commit comments

Comments
 (0)