diff --git a/langs/en/titles.json b/langs/en/titles.json index bc70416..846ee72 100644 --- a/langs/en/titles.json +++ b/langs/en/titles.json @@ -1,4 +1,5 @@ { "home": "Home", - "Notes": "Notes" + "Notes": "Notes", + "New Note": "New Note" } diff --git a/pages.php b/pages.php index fb8b49e..64f10fa 100644 --- a/pages.php +++ b/pages.php @@ -31,5 +31,18 @@ define("PAGES", [ "static/easy-markdown-editor/dist/easymde.min.js", "static/js/editnote.js" ] + ], + "newnote" => [ + "title" => "New Note", + "navbar" => false, + "icon" => "fas fa-plus", + "styles" => [ + "static/easy-markdown-editor/dist/easymde.min.css", + "static/css/editnote.css" + ], + "scripts" => [ + "static/easy-markdown-editor/dist/easymde.min.js", + "static/js/editnote.js" + ] ] ]); \ No newline at end of file diff --git a/pages/home.php b/pages/home.php index 16e5542..36cc4fa 100644 --- a/pages/home.php +++ b/pages/home.php @@ -60,7 +60,7 @@ foreach ($colors as $c) {
- get("New note"); ?> + get("New note"); ?>
diff --git a/pages/newnote.php b/pages/newnote.php new file mode 100644 index 0000000..2efdae2 --- /dev/null +++ b/pages/newnote.php @@ -0,0 +1,9 @@ +