-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathindex.html
More file actions
49 lines (49 loc) · 2.34 KB
/
index.html
File metadata and controls
49 lines (49 loc) · 2.34 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>Barebones</title>
<meta name="description" content=""/>
<meta property="og:title" content=""/>
<meta property="og:description" content=""/>
<meta property="og:image" content=""/>
<meta name="twitter:card" content="summary"/>
<meta name="twitter:site" content=""/>
<link rel="icon" href="/content/favicon.ico"/>
<link rel="apple-touch-icon" href="/content/apple-touch-icon.png"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" href="/bundle/bundle.css"/>
<script defer src="/bundle/bundle.js"></script>
</head>
<body>
<a data-component="image-link" href="https://github.com/jaydenseric/Barebones">
<img src="/content/barebones-logo.svg" alt="Barebones logo"/>
</a>
<section data-component="section">
<div data-component="generic-content">
<h1>Getting started</h1>
<p>After <a href="https://github.com/jaydenseric/Barebones#setup" target="_blank">setup</a> and inspecting these example components:</p>
<ol>
<li>Remove Barebones examples and references. Within the project directory in Terminal run <code>yarn run init</code>. This script also deletes itself.</li>
<li>Customize the meta in <code>/index.html</code>.</li>
<li>Customize the icons in <code>/content</code>.</li>
<li>Customize the <a href="https://github.com/ai/browserslist" target="_blank">Browserslist</a> browser support queries in <code>/package.json</code> for build tools.</li>
<li>Edit <code>/readme.md</code> to be about your project.</li>
<li>Re-run the build and start scripts. A clean slate!</li>
</ol>
</div>
</section>
<section data-component="section">
<div data-component="generic-content">
<h2>Counter example</h2>
<p>Below is an example component with an ES6 class and SVG symbol icons. You can find the assets in <code>/components/counter</code> and can see it being initialized in <code>/components/app/index.js</code>.</p>
</div>
<article data-component="counter">
<button title="Toggle play">
<svg><use xlink:href="/components/counter/icons.svg#play"/></svg>
</button>
<output>0</output>
</article>
</section>
</body>
</html>