-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
36 lines (36 loc) · 1.84 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
<!DOCTYPE html>
<html lang=en>
<head>
<title>Overview</title>
</head>
<body>
<h1>web-components-toolbox-nature</h1>
<h2>Setup</h2>
<ol>
<li>git submodule update --init --recursive --remote --force</li>
<li>npm install</li>
<li>npm run serve</li>
<li>note: on windows systems you may need to run: "git config --system core.longpaths true"</li>
</ol>
<br>
<h3>Pages</h3>
<div id=pages></div>
<script>
const pageQuery = 'rootFolder=src&css=./src/css/variablesCustom.css&logo=./src/es/components/atoms/logo/default-/default-.html&nav=./src/es/components/web-components-toolbox/src/es/components/molecules/navigation/nature-/nature-.html&footer=./src/es/components/organisms/footer/default-/default-.html'
document.querySelector('#pages').innerHTML = /* HTML */`
<ul>
<li><a href="./src/es/components/web-components-toolbox/docs/Template.html?${pageQuery}&content=./src/es/components/pages/Home.html">Home</a></li>
<li><a href="./src/es/components/web-components-toolbox/docs/Template.html?${pageQuery.replace(/alnatura-/g, 'default-')}&content=./src/es/components/pages/Nature.html">Content Template</a></li>
<li><a href="./src/es/components/web-components-toolbox/docs/Template.html?${pageQuery}&content=./src/es/components/pages/Recipe-Detail.html">Recipe Detail</a></li>
<li><a href="./src/es/components/web-components-toolbox/docs/Template.html?${pageQuery}&content=./src/es/components/pages/Patterns.html">Patterns</a></li>
<li><a href="./src/es/components/web-components-toolbox/docs/Template.html?${pageQuery}&content=./src/es/components/molecules/imageTitle/imageTitle.html">imageTitle</a></li>
</ul>
`
</script>
<hr />
<h3>web-components-toolbox</h3>
<ul>
<li><a href="./src/es/components/web-components-toolbox/">Base web-components-toolbox</a></li>
</ul>
</body>
</html>