-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
83 lines (74 loc) · 3.11 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hindi Quotes</title>
<link rel="icon" href="/assets/quote.png">
<link rel="stylesheet" href="/css/style.css">
</head>
<body class="gradient__bg">
<header class="flex-box">
<div class="heading">
<h1 id="title" class="gradient__text">हिन्दी Quotes</h1>
</div>
<div class="repolink">
<p class="p-text"><span>GitHub:</span> <a href="https://github.com/nkilm/hindi-quotes"
target="_">https://github.com/nkilm/hindi-quotes</a> </p>
</div>
</header>
<div class="container">
<div class="badges">
<img id="licence" src="https://img.shields.io/badge/license-MIT-%2395c20d" alt="license" />
<img id="quotes" src="https://img.shields.io/badge/quotes-499-%2358a6ff" alt="number of quotes" />
<img id="quotes" src="https://img.shields.io/github/last-commit/nkilm/hindi-quotes" alt="last commit on" />
</div>
<h2>Usage</h2>
<div class="api-example p-text">
<h3>GET /random</h3>
<p id="base-url">URL: <a href="https://hindi-quotes.vercel.app/random"
target="_blank">https://hindi-quotes.vercel.app/random</a></p>
<p>Returns a random quote(Object) of any type.</p>
<div class="code">
<pre class="pre">
<code>
{
"type": "positive",
"quote": "मनुष्य अपने विश्वास से निर्मित होता हैं, जैसा वो विश्वास करता हैं वैसा वो बन जाता हैं.."
}
</code>
</pre>
</div>
</div>
<div class="api-example p-text">
<h3>GET /random/{type}</h3>
<p id="base-url">URL: <a href="https://hindi-quotes.vercel.app/random/success"
target="_blank">https://hindi-quotes.vercel.app/random/success</a>
</p>
<p>Returns a quote(Object) of given type. E.g. <code>GET /random/success</code>.</p>
<div class="code">
<pre>
<code>
{
"type": "success",
"quote": "किसी को हरा देना बेहद आसान है लेकिन, किसी को जीतना बेहद मुश्किल.."
}
</code>
</pre>
</div>
</div>
<div class="contributing p-text">
<h2>Contributing✨</h2>
<p>→ Fork the Repository</p>
<p>→ Add new Quotes/Fix Errors</p>
<p>→ Submit Pull request</p>
</div>
</div>
<footer class="p-text">
<div class="author">
<p>Made with ❤️ by <a href="https://nikhilmohite.com" target="_">Nikhil Mohite</a></p>
</div>
</footer>
</body>
</html>