Skip to content

Commit

Permalink
fix: Update to readme, demo, added cdn scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Apr 27, 2021
1 parent 2051336 commit 538698f
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <h2>CoCreate-conditional-logic</h2>
<div id="conditional-logic-section" class="display:flex flex-wrap:wrap">
<div class="flex-grow:1 width:400px width:300px@xs padding:0px_10px margin-top:60px">

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

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

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

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

</div>
</main>
<button href="https://github.com/CoCreate-app/CoCreate-conditional-logic/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%">
<i class="fas fa-pencil-alt"></i>
</button>
</main>
<script>
var config = {
apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',
Expand Down

0 comments on commit 538698f

Please sign in to comment.