Skip to content

Commit b959610

Browse files
committed
fix: Update to readme, demo, added cdn scripts
1 parent a96e560 commit b959610

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

docs/index.html

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ <h2>CoCreate-dashboard</h2>
4444
<div id="dashboard-section" class="display:flex flex-wrap:wrap">
4545
<div class="flex-grow:1 width:400px width:300px@xs padding:0px_10px margin-top:60px">
4646

47-
<div id="dashboard-install" class="border-bottom:1px_solid_lightgrey" data-scroll data-scroll_intersect="color:dodgerblue" data-scroll_target="#boilerplate-install-section">
47+
<div id="dashboard-install" class="border-bottom:1px_solid_lightgrey" data-scroll data-scroll_intersect="color:dodgerblue" data-scroll_target="#dashboard-install-section">
4848
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#dashboard-install"]'>
4949
<h2 class="padding:5px_0px">Install</h2>
5050
<a class="margin-left:10px display:none" href="#dashboard-install"><i class="fas fa-link"></i></a>
@@ -54,7 +54,7 @@ <h2 class="padding:5px_0px">Install</h2>
5454
<p class="padding:10px_0px line-height:1.5">Or you can use cdn link:</p>
5555
<pre><code class="language-html">&lt;script&gt;https://cdn.cocreate.app/dashboard/latest/CoCreate-dashboard.min.js&lt;/script&gt;</code></pre>
5656

57-
<div id="dashboard-usage" class="margin-top:80px border-bottom:1px_solid_lightgrey" data-scroll data-scroll_intersect="color:dodgerblue" data-scroll_target="#boilerplate-usage-section">
57+
<div id="dashboard-usage" class="margin-top:80px border-bottom:1px_solid_lightgrey" data-scroll data-scroll_intersect="color:dodgerblue" data-scroll_target="#dashboard-usage-section">
5858
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#dashboard-usage"]'>
5959
<h2 class="padding:5px_0px">Usage</h2>
6060
<a class="margin-left:10px display:none" href="#dashboard-usage"><i class="fas fa-link"></i></a>
@@ -69,7 +69,7 @@ <h2 class="padding:5px_0px">Usage</h2>
6969
<p class="padding:10px_0px line-height:1.5">This is dashboard usage</p>
7070
<p class="padding:10px_0px line-height:1.5">This is dashboard usage</p>
7171
</div>
72-
<div id="dashboard-attributes" class="margin-top:80px border-bottom:1px_solid_lightgrey" data-scroll data-scroll_intersect="color:dodgerblue" data-scroll_target="#boilerplate-attributes-section">
72+
<div id="dashboard-attributes" class="margin-top:80px border-bottom:1px_solid_lightgrey" data-scroll data-scroll_intersect="color:dodgerblue" data-scroll_target="#dashboard-attributes-section">
7373
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#dashboard-attributes"]'>
7474
<h2 class="padding:5px_0px">Attributes</h2>
7575
<a class="margin-left:10px display:none" href="#dashboard-attributes"><i class="fas fa-link"></i></a>
@@ -89,7 +89,7 @@ <h4><span>data-dashboard</span> <span class="cocreate-badge success">string</spa
8989

9090
<div class="flex-grow:1 width:300px padding:0px_10px margin-top:60px border-bottom:1px_solid_lightgrey">
9191
<!-- SandBox -->
92-
<div id="dashboard-demo" class="border-bottom:1px_solid_lightgrey" data-scroll data-scroll_intersect="color:dodgerblue" data-scroll_target="#boilerplate-demo-section">
92+
<div id="dashboard-demo" class="border-bottom:1px_solid_lightgrey" data-scroll data-scroll_intersect="color:dodgerblue" data-scroll_target="#dashboard-demo-section">
9393
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#dashboard-demo"]'>
9494
<h2 class="padding:5px_0px">Demo</h2>
9595
<a class="margin-left:10px display:none" href="#dashboard-demo"><i class="fas fa-link"></i></a>
@@ -144,7 +144,10 @@ <h2 class="padding:5px_0px">Demo</h2>
144144
</div>
145145

146146
</div>
147-
</main>
147+
<button href="https://github.com/CoCreate-app/CoCreate-dashboard/tree/master/docs/index.html?message=docs%3A%20describe%20your%20change..." target="_blank" class="position:fixed bottom:15px right:15px padding:15px background:dodgerblue grow-hover border-radius:50%">
148+
<i class="fas fa-pencil-alt"></i>
149+
</button>
150+
</main>
148151
<script>
149152
var config = {
150153
apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',

0 commit comments

Comments
 (0)