Skip to content

Commit

Permalink
fix: add nav and sidenav to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Nov 26, 2021
1 parent 090cd1f commit 934e999
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@
</head>

<body>
<div collection="" document_id="" name="" id="cocreate-search" class="padding:15px">
<nav class="nav display:flex align-items:center left:0px background:whitesmoke padding-top:10px padding-bottom:10px" content_id="content" scroll="sticky-nav,hide-nav" scroll-up="10" scroll-down="10" collection="files" document_id="60395ef42b3ac232657040fd" name="src">
</nav>
<sidenav id="menuL" class="position:fixed top:0px left:0px overflow:hidden background:whitesmoke height:100vh width:0px width:300px@xl" resizable resize-target="[content_id='content']" resize-property="margin-left" resize-value="width">
<menu collection="files" document_id="603717b07de7fb350ae9fec8" name="src"></menu>
<div resize="right"></div>
</sidenav>
<main class="padding-top:15px padding:15px@lg@xl" content_id="content" id="cocreate-search">
<div class="display:flex flex-wrap:wrap justify-content:space-between">
<div class="display:flex align-items:center">
<h2>CoCreate-search</h2>
Expand Down Expand Up @@ -111,7 +117,7 @@ <h2 class="border-bottom:1px_solid_lightgrey padding:5px_0px">Demo</h2>
</div>

</div>
</div>
</main>
<script src="/apikey.js"></script>
<script src="https://cdn.cocreate.app/latest/CoCreate.min.js" ></script>

Expand Down

0 comments on commit 934e999

Please sign in to comment.