-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
46 lines (41 loc) · 1.58 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Stimulus JS</title>
<link rel="shortcut icon" href="data:image/x-icon;" type="image/x-icon">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<script type="importmap">
{
"imports": {
"@hotwired/stimulus": "https://unpkg.com/@hotwired/stimulus/dist/stimulus.js",
"bootstrap": "https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
}
}
</script>
</head>
<body class="bg-secondary bg-opacity-10">
<div class="container">
<div class="col-4 offset-4 my-5 bg-white py-4 rounded shadow">
<div class="row">
<h1 class="text-center mb-4">Grocery bud</h1>
<form class="row align-items-center mb-3">
<div class="col-9 offset-1">
<input type="text" class="form-control" placeholder="egs...">
</div>
<div class="col-1 d-flex justify-content-center">
<button type="submit" class="btn btn-primary">Add</button>
</div>
</form>
</div>
<div class="row">
<div class="col-8 offset-1">
<ul class="list-group list-group-flush"></ul>
</div>
</div>
</div>
</div>
<script src="lib/index.js" type="module"></script>
</body>
</html>