Skip to content

Commit c8b1a3e

Browse files
committed
update views/index.html wip
1 parent 6e31d2d commit c8b1a3e

File tree

1 file changed

+27
-21
lines changed

1 file changed

+27
-21
lines changed

views/index.html

Lines changed: 27 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,32 @@
11
<!DOCTYPE html>
22
<html>
3-
<head>
4-
<meta charset="UTF-8" />
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<link href="/output.css" rel="stylesheet" />
7-
</head>
8-
<body class="container mx-auto font-sans">
9-
<header>
10-
<h1>JSON Server</h1>
11-
<a href="https://github.com/typicode/json-server">GitHub</a>
12-
<a href="https://github.com/sponsors/typicode">Donate</a>
13-
</header>
14-
<main>
15-
<h2>Routes</h2>
16-
<ul class="font-mono">
17-
<% Object.entries(it.data).forEach(function([name]) { %>
3+
4+
<head>
5+
<meta charset="UTF-8" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<link href="/output.css" rel="stylesheet" />
8+
</head>
9+
10+
<body class="container mx-auto prose">
11+
<header>
12+
<h1>JSON Server [alpha]</h1>
13+
</header>
14+
<main>
15+
<h2>Routes</h2>
16+
<ul class="font-mono">
17+
<% Object.entries(it.data).forEach(function([name]) { %>
1818
<li>
19-
<a href="<%= name %>"><%= name %></a>
19+
<a href="<%= name %>">
20+
/<%= name %>
21+
</a>
2022
</li>
2123
<% }) %>
22-
</ul>
23-
<h2>Sponsors</h2>
24-
</main>
25-
</body>
26-
</html>
24+
</ul>
25+
</main>
26+
<footer class="space-x-4">
27+
<a href="https://github.com/typicode/json-server">🐱 GitHub</a>
28+
<a href="https://github.com/sponsors/typicode">♥ Sponsor</a>
29+
</footer>
30+
</body>
31+
32+
</html>

0 commit comments

Comments
 (0)