forked from neslinesli93/elm-vs-yew
-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.mustache
89 lines (82 loc) · 3.27 KB
/
home.mustache
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
<!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, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<title>Elm vs Yew</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.9.0/css/bulma.min.css" />
<link rel="stylesheet" href="style/homepage.css" />
<link rel="stylesheet" href="style/main.css" />
{{#shynet}}
<noscript><img src="https://shynet.tommasopifferi.com/ingress/5bf99fb8-5643-4d56-872b-14aa9b66415b/pixel.gif"></noscript> <script src="https://shynet.tommasopifferi.com/ingress/5bf99fb8-5643-4d56-872b-14aa9b66415b/script.js"></script>
{{/shynet}}
</head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div class="homepage-wrapper">
<div class="text-wrapper">
<section class="has-text-centered pt-4">
<div class="container">
<h1 class="title">
Elm vs Yew: a benchmark
</h1>
<h2 class="subtitle">
The repo for this website is available
<a href="https://github.com/neslinesli93/elm-vs-yew">here.</a>
</h2>
</div>
</section>
<section>
<div class="content mx-2 my-6">
<p>
The two sections below contain a grid of equally distributed boxes.
Each box has an attached event handler that applies a specific class on hover,
and removes it when the hover ends.
</p>
<p>
The section on the left is rendered using <a href="https://elm-lang.org/">Elm</a>,
while the one on the right uses <a href="https://yew.rs/">Yew</a>.
</p>
</div>
</section>
</div>
<div class="panels-wrapper">
<div class="panel-wrapper flex-1">
<div class="card">
<header class="card-header">
<p class="card-header-title">Elm</p>
</header>
</div>
<div class="card flex-1">
<div class="card-content">
<div id="elm-root-wrapper">
<div id="elm-root"></div>
</div>
</div>
</div>
</div>
<div class="panel-wrapper flex-1">
<div class="card">
<header class="card-header">
<p class="card-header-title">Yew</p>
</header>
</div>
<div class="card flex-1">
<div class="card-content">
<div id="yew-root-wrapper">
<div id="yew-root"></div>
</div>
</div>
</div>
</div>
</div>
</div>
{{#scripts}}
<script src="{{.}}"></script>
{{/scripts}}
</body>
</html>