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 a30b4c4 commit 3c2d47f
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 @@ -43,7 +43,7 @@ <h2>CoCreate-users</h2>
<p class="max-width:500px margin:20px_10px line-height:1.5">A simple HTML5, CSS and pure javascript component. Easy configuration using data-attributes and highly styleable.</p>
<div id="users-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="users-install" class="border-bottom:1px_solid_lightgrey" data-scroll data-scroll_intersect="color:dodgerblue" data-scroll_target="#boilerplate-install-section">
<div id="users-install" class="border-bottom:1px_solid_lightgrey" data-scroll data-scroll_intersect="color:dodgerblue" data-scroll_target="#users-install-section">
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#users-install"]'>
<h2 class="padding:5px_0px">Install</h2>
<a class="margin-left:10px display:none" href="#users-install"><i class="fas fa-link"></i></a>
Expand All @@ -53,7 +53,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/users/latest/CoCreate-users.min.js&lt;/script&gt;</code></pre>

<div id="users-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="users-usage" class="margin-top:80px border-bottom:1px_solid_lightgrey" data-scroll data-scroll_intersect="color:dodgerblue" data-scroll_target="#users-usage-section">
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#users-usage"]'>
<h2 class="padding:5px_0px">Usage</h2>
<a class="margin-left:10px display:none" href="#users-usage"><i class="fas fa-link"></i></a>
Expand All @@ -68,7 +68,7 @@ <h2 class="padding:5px_0px">Usage</h2>
<p class="padding:10px_0px line-height:1.5">This is users usage</p>
<p class="padding:10px_0px line-height:1.5">This is users usage</p>
</div>
<div id="users-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="users-attributes" class="margin-top:80px border-bottom:1px_solid_lightgrey" data-scroll data-scroll_intersect="color:dodgerblue" data-scroll_target="#users-attributes-section">
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#users-attributes"]'>
<h2 class="padding:5px_0px">Attributes</h2>
<a class="margin-left:10px display:none" href="#users-attributes"><i class="fas fa-link"></i></a>
Expand All @@ -88,7 +88,7 @@ <h4><span>data-users</span> <span class="cocreate-badge success">string</span> <

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

</div>
</main>
<button href="https://github.com/CoCreate-app/CoCreate-users/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 3c2d47f

Please sign in to comment.