added grid

This commit is contained in:
2023-06-30 18:53:15 +05:00
parent de5879069b
commit c81c42df77
8 changed files with 156 additions and 53 deletions

View File

@ -46,10 +46,14 @@
<section class="main">
<div id="projs_div"></div>
<button >new project</button>
<button onclick="new_proj()">new project</button>
</section>
<script>
function new_proj(){
let name = ask();
goto(`/proj/${name}`);
}
load_projs((projs)=>{
projs.forEach(proj => {
// console.log(proj);