-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
185 lines (162 loc) · 4.42 KB
/
index.html
File metadata and controls
185 lines (162 loc) · 4.42 KB
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LEGhub API Documentation</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
}
.container {
background: white;
border-radius: 20px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
max-width: 800px;
width: 100%;
padding: 60px 40px;
text-align: center;
}
h1 {
color: #333;
font-size: 2.5rem;
margin-bottom: 10px;
font-weight: 700;
}
.subtitle {
color: #666;
font-size: 1.1rem;
margin-bottom: 50px;
}
.versions {
display: flex;
gap: 30px;
justify-content: center;
flex-wrap: wrap;
margin-bottom: 40px;
}
.version-card {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 15px;
padding: 40px 30px;
min-width: 280px;
flex: 1;
max-width: 350px;
text-decoration: none;
color: white;
transition: transform 0.3s ease, box-shadow 0.3s ease;
position: relative;
overflow: hidden;
}
.version-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(255, 255, 255, 0.1);
opacity: 0;
transition: opacity 0.3s ease;
}
.version-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}
.version-card:hover::before {
opacity: 1;
}
.version-number {
font-size: 3rem;
font-weight: 700;
margin-bottom: 15px;
display: block;
}
.version-label {
font-size: 0.9rem;
text-transform: uppercase;
letter-spacing: 2px;
opacity: 0.9;
margin-bottom: 10px;
}
.version-description {
font-size: 1rem;
opacity: 0.95;
line-height: 1.5;
}
.version-card.v1 {
background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}
.version-card.v2 {
background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}
.badge {
display: inline-block;
background: rgba(255, 255, 255, 0.3);
padding: 5px 15px;
border-radius: 20px;
font-size: 0.8rem;
margin-top: 10px;
text-transform: uppercase;
letter-spacing: 1px;
}
.info {
color: #666;
font-size: 0.95rem;
line-height: 1.6;
margin-top: 30px;
padding-top: 30px;
border-top: 1px solid #e5e7eb;
}
@media (max-width: 768px) {
h1 {
font-size: 2rem;
}
.container {
padding: 40px 30px;
}
.versions {
flex-direction: column;
gap: 20px;
}
.version-card {
min-width: 100%;
}
}
</style>
</head>
<body>
<div class="container">
<h1>LEGhub API Documentation</h1>
<p class="subtitle">Choose your API version</p>
<div class="versions">
<a href="v1/" class="version-card v1">
<span class="version-label">Version</span>
<span class="version-number">1.0</span>
<p class="version-description">Current stable version</p>
<span class="badge">Stable</span>
</a>
<a href="v2/" class="version-card v2">
<span class="version-label">Version</span>
<span class="version-number">2.0</span>
<p class="version-description">Draft version with new features</p>
<span class="badge">Draft</span>
</a>
</div>
<div class="info">
<p><strong>About:</strong> This documentation defines the endpoints for Electricity Network Operators (VNB) to receive Local Electricity Community (LEG) founding and participation data.</p>
</div>
</div>
</body>
</html>