Skip to content

Commit fa504be

Browse files
committed
Improve introduction page
1 parent 37cc069 commit fa504be

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

website/docs/introduction.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,33 @@
22
id: introduction
33
title: Introduction
44
slug: /
5+
hide_title: true
56
---
67

7-
JSON API is an open source data source plugin for Grafana that lets you visualize data from any URL that returns JSON data, such as REST APIs or static file servers.
8+
import useBaseUrl from '@docusaurus/useBaseUrl';
9+
10+
export const Logo= ({ children }) =>(
11+
<div
12+
style={{
13+
display: "flex",
14+
alignItems: "center",
15+
justifyContent: "center",
16+
padding: "72px 0",
17+
}}>
18+
<img alt="Logo" src={useBaseUrl('img/logo.svg')} width="64px" height="64px" />
19+
<h1
20+
style={{
21+
fontSize: "3rem",
22+
margin: 0,
23+
marginLeft: 8,
24+
}}>
25+
JSON API
26+
</h1>
27+
</div>
28+
)
29+
30+
<Logo />
31+
32+
JSON API is an open source data source plugin for Grafana that lets you visualize data from any URL that returns JSON, such as REST APIs or static file servers.
833

934
Since the plugin doesn't keep a record of previous queries, each query needs to contain the complete data set you want to visualize. If you'd like to visualize how the data changes over time, you're probably better off storing the data in a database.

0 commit comments

Comments
 (0)