Skip to content

Commit eed5a1b

Browse files
committed
frontend: initial impl with open-props and htmx
1 parent a746db8 commit eed5a1b

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

frontend/index.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<link rel="stylesheet" href="/style.css">
7+
<script src="https://unpkg.com/[email protected]" integrity="sha384-Y7hw+L/jvKeWIRRkqWYfPcvVxHzVzn5REgzbawhxAuQGwX1XWe70vji+VSeHOThJ" crossorigin="anonymous"></script>
8+
<title>Demo</title>
9+
</head>
10+
<body>
11+
<div id="app" hx-get="/api/v1/items" hx-trigger="load">
12+
</div>
13+
<noscript>
14+
<p lang="en">
15+
This website requires JavaScript. Here are the
16+
<a href="https://www.enable-javascript.com/en/">instructions how to enable JavaScript in your web browser</a>.
17+
Or perhaps you need to make an exception in your script blocker.
18+
</p>
19+
</noscript>
20+
</body>
21+
</html>

frontend/style.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@import "https://unpkg.com/open-props";
2+
@import "https://unpkg.com/open-props/normalize.min.css";

0 commit comments

Comments
 (0)