Skip to content

Commit 3946225

Browse files
added convert script for template components. working on example page showcase
1 parent 1b359c3 commit 3946225

File tree

119 files changed

+4324
-175
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+4324
-175
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<template id="accordion">
2+
<div id="accordion">
3+
<div class="collapse bg-base-200">
4+
<input type="radio" name="my-accordion-1" checked="checked" />
5+
<div class="collapse-title text-xl font-medium">Click to open this one and close others</div>
6+
<div class="collapse-content">
7+
<p>hello</p>
8+
</div>
9+
</div>
10+
<script>
11+
(function() {
12+
// Empty stub for immediate function
13+
})();
14+
</script>
15+
</div>
16+
</template>
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<template id="alert">
2+
<div id="alert">
3+
<div role="alert" class="alert">
4+
<svg
5+
xmlns="http://www.w3.org/2000/svg"
6+
fill="none"
7+
viewBox="0 0 24 24"
8+
class="stroke-info h-6 w-6 shrink-0">
9+
<path
10+
stroke-linecap="round"
11+
stroke-linejoin="round"
12+
stroke-width="2"
13+
d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
14+
</svg>
15+
<span>12 unread messages. Tap to see.</span>
16+
</div>
17+
<script>
18+
(function() {
19+
// Empty stub for immediate function
20+
})();
21+
</script>
22+
</div>
23+
</template>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<template id="artboard">
2+
<div id="artboard">
3+
<div class="artboard phone-1">320×568</div>
4+
<script>
5+
(function() {
6+
// Empty stub for immediate function
7+
})();
8+
</script>
9+
</div>
10+
</template>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<template id="avatar">
2+
<div id="avatar">
3+
<div class="avatar placeholder">
4+
<div class="bg-neutral text-neutral-content w-8 rounded-full">
5+
<span class="text-xs">UI</span>
6+
</div>
7+
</div>
8+
<script>
9+
(function() {
10+
// Empty stub for immediate function
11+
})();
12+
</script>
13+
</div>
14+
</template>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<template id="badge">
2+
<div id="badge">
3+
<button class="btn">
4+
Inbox
5+
<div class="badge badge-secondary">+99</div>
6+
</button>
7+
<script>
8+
(function() {
9+
// Empty stub for immediate function
10+
})();
11+
</script>
12+
</div>
13+
</template>
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
<template id="bottomnavigation">
2+
<div id="bottomnavigation">
3+
<div class="btm-nav">
4+
<button>
5+
<svg
6+
xmlns="http://www.w3.org/2000/svg"
7+
class="h-5 w-5"
8+
fill="none"
9+
viewBox="0 0 24 24"
10+
stroke="currentColor">
11+
<path
12+
stroke-linecap="round"
13+
stroke-linejoin="round"
14+
stroke-width="2"
15+
d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" />
16+
</svg>
17+
</button>
18+
<button class="active">
19+
<svg
20+
xmlns="http://www.w3.org/2000/svg"
21+
class="h-5 w-5"
22+
fill="none"
23+
viewBox="0 0 24 24"
24+
stroke="currentColor">
25+
<path
26+
stroke-linecap="round"
27+
stroke-linejoin="round"
28+
stroke-width="2"
29+
d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
30+
</svg>
31+
</button>
32+
<button>
33+
<svg
34+
xmlns="http://www.w3.org/2000/svg"
35+
class="h-5 w-5"
36+
fill="none"
37+
viewBox="0 0 24 24"
38+
stroke="currentColor">
39+
<path
40+
stroke-linecap="round"
41+
stroke-linejoin="round"
42+
stroke-width="2"
43+
d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z" />
44+
</svg>
45+
</button>
46+
</div>
47+
<script>
48+
(function() {
49+
// Empty stub for immediate function
50+
})();
51+
</script>
52+
</div>
53+
</template>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<template id="breadcrumbs">
2+
<div id="breadcrumbs">
3+
<div class="breadcrumbs text-sm">
4+
<ul>
5+
<li><a>Home</a></li>
6+
<li><a>Documents</a></li>
7+
<li>Add Document</li>
8+
</ul>
9+
</div>
10+
<script>
11+
(function() {
12+
// Empty stub for immediate function
13+
})();
14+
</script>
15+
</div>
16+
</template>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<template id="button">
2+
<div id="button">
3+
<button class="btn">Button</button>
4+
<script>
5+
(function() {
6+
// Empty stub for immediate function
7+
})();
8+
</script>
9+
</div>
10+
</template>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<template id="buttonnavigation">
2+
<div id="buttonnavigation">
3+
<div class="btn-group">
4+
<button class="btn">Left</button>
5+
<button class="btn">Middle</button>
6+
<button class="btn">Right</button>
7+
</div>
8+
<script>
9+
(function() {
10+
// Empty stub for immediate function
11+
})();
12+
</script>
13+
</div>
14+
</template>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<template id="card">
2+
<div id="card">
3+
<div class="card bg-primary text-primary-content w-96">
4+
<div class="card-body">
5+
<h2 class="card-title">Card title!</h2>
6+
<p>If a dog chews shoes whose shoes does he choose?</p>
7+
<div class="card-actions justify-end">
8+
<button class="btn">Buy Now</button>
9+
</div>
10+
</div>
11+
</div>
12+
<script>
13+
(function() {
14+
// Empty stub for immediate function
15+
})();
16+
</script>
17+
</div>
18+
</template>

0 commit comments

Comments
 (0)