Skip to content

Commit 00339db

Browse files
committed
fix: Update to readme, demo, added cdn scripts
1 parent b370a82 commit 00339db

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

58-
<div id="calculation-usage" class="margin-top:80px border-bottom:1px_solid_lightgrey" data-scroll data-scroll_intersect="color:dodgerblue" data-scroll_target="#boilerplate-usage-section">
58+
<div id="calculation-usage" class="margin-top:80px border-bottom:1px_solid_lightgrey" data-scroll data-scroll_intersect="color:dodgerblue" data-scroll_target="#calculation-usage-section">
5959
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#calculation-usage"]'>
6060
<h2 class="padding:5px_0px">Usage</h2>
6161
<a class="margin-left:10px display:none" href="#calculation-usage"><i class="fas fa-link"></i></a>
@@ -71,7 +71,7 @@ <h2 class="padding:5px_0px">Usage</h2>
7171
<p class="padding:10px_0px line-height:1.5">This is calculations usage</p>
7272
</div>
7373

74-
<div id="calculation-attributes" class="margin-top:80px border-bottom:1px_solid_lightgrey" data-scroll data-scroll_intersect="color:dodgerblue" data-scroll_target="#boilerplate-attributes-section">
74+
<div id="calculation-attributes" class="margin-top:80px border-bottom:1px_solid_lightgrey" data-scroll data-scroll_intersect="color:dodgerblue" data-scroll_target="#calculation-attributes-section">
7575
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#calculation-attributes"]'>
7676
<h2 class="padding:5px_0px">Attributes</h2>
7777
<a class="margin-left:10px display:none" href="#calculation-attributes"><i class="fas fa-link"></i></a>
@@ -92,7 +92,7 @@ <h4><span>data-calculations</span> <span class="cocreate-badge success">string</
9292
<div class="flex-grow:1 width:300px padding:0px_10px margin-top:60px border-bottom:1px_solid_lightgrey">
9393

9494
<!-- SandBox -->
95-
<div id="calculation-demo" class="border-bottom:1px_solid_lightgrey" data-scroll data-scroll_intersect="color:dodgerblue" data-scroll_target="#boilerplate-demo-section">
95+
<div id="calculation-demo" class="border-bottom:1px_solid_lightgrey" data-scroll data-scroll_intersect="color:dodgerblue" data-scroll_target="#calculation-demo-section">
9696
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#calculation-demo"]'>
9797
<h2 class="padding:5px_0px">Demo</h2>
9898
<a class="margin-left:10px display:none" href="#calculation-demo"><i class="fas fa-link"></i></a>
@@ -147,7 +147,10 @@ <h2 class="padding:5px_0px">Demo</h2>
147147
</div>
148148

149149
</div>
150-
</main>
150+
<button href="https://github.com/CoCreate-app/CoCreate-calculation/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%">
151+
<i class="fas fa-pencil-alt"></i>
152+
</button>
153+
</main>
151154
<script>
152155
var config = {
153156
apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',

0 commit comments

Comments
 (0)