-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
112 lines (111 loc) · 3.46 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
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
<!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>C++ Web Server</title>
<link rel="icon" type="image/x-icon" href="cpp_favicon.ico" />
<!-- Bootstrap -->
<link
rel="stylesheet"
href="vendor/bootstrap-3.4.1-dist/css/bootstrap.min.css"
/>
<link
rel="stylesheet"
href="vendor/bootstrap-3.4.1-dist/css/bootstrap-theme.min.css"
/>
<link
rel="stylesheet"
href="vendor/fontawesome-free-6.2.1-web/css/fontawesome.min.css"
/>
<link
rel="stylesheet"
href="vendor/fontawesome-free-6.2.1-web/css/brands.min.css"
/>
<link
rel="stylesheet"
href="vendor/fontawesome-free-6.2.1-web/css/solid.min.css"
/>
<!-- own styles -->
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div id="main" class="container">
<div class="jumbotron">
<div class="row">
<div class="col-md-12 col-md-offset-1">
<h1>Hypermedia-driven web apps</h1>
</div>
</div>
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
HDAs with <strong>htmx</strong> and
<strong>Drogon C++ web framework</strong>
</h4>
</div>
<div class="panel-body">
<figure class="figure">
<img
class="figure-img img-fluid rounded"
width="630"
src="videos/htmx_with_cpp.gif"
/>
<figcaption class="figure-caption"></figcaption>
</figure>
</div>
<!-- panel body -->
</div>
<!-- panel -->
</div>
<!-- div col -->
</div>
<!-- div row -->
<div class="row">
<div class="col-md-12 col-md-offset-4">
<a
class="btn btn-success btn-lg"
role="button"
href="https://github.com/brakmic/HDA-Demo"
><i class="fa-brands fa-square-github fa-lg"></i>
Get sources
</a>
<button
class="btn btn-primary btn-lg"
role="button"
hx-get="/contacts"
hx-target="#main"
hx-swap="innerHTML"
>
<i class="fa-solid fa-cloud-bolt fa-lg"></i>
Run demo
</button>
<!-- col -->
</div>
<!-- row -->
</div>
<!-- jumbotron -->
</div>
</div>
<footer class="navbar-default navbar-fixed-bottom">
<div class="container-fluid">
<span
><a href="https://brakmic.com" target="_blank"
>Built with <i class="fa-solid fa-heart fa-lg"></i> and
<i class="fa-brands fa-cuttlefish">++</i> by Harris Brakmic</a
></span
>
</div>
</footer>
<!-- jQuery & Bootstrap-->
<script src="vendor/jquery-3.6.3.min.js"></script>
<script src="vendor/bootstrap-3.4.1-dist/js/bootstrap.min.js"></script>
<!-- hyperscript -->
<script src="vendor/hyperscript.min.js"></script>
<!-- htmx -->
<script src="vendor/htmx.min.js"></script>
</body>
</html>