diff --git a/frontend/src/api/client.ts b/frontend/src/api/client.ts index 9187304..a70ef48 100644 --- a/frontend/src/api/client.ts +++ b/frontend/src/api/client.ts @@ -29,4 +29,6 @@ async function request(method: string, path: string, body?: unknown): Promise export const api = { get: (path: string) => request("GET", path), post: (path: string, body?: unknown) => request("POST", path, body), + patch: (path: string, body?: unknown) => request("PATCH", path, body), + del: (path: string) => request("DELETE", path), }; diff --git a/frontend/src/components/ColorPicker.vue b/frontend/src/components/ColorPicker.vue new file mode 100644 index 0000000..c6fce03 --- /dev/null +++ b/frontend/src/components/ColorPicker.vue @@ -0,0 +1,24 @@ + + + diff --git a/frontend/src/components/Icon.vue b/frontend/src/components/Icon.vue new file mode 100644 index 0000000..94c6f9e --- /dev/null +++ b/frontend/src/components/Icon.vue @@ -0,0 +1,26 @@ + + + diff --git a/frontend/src/components/NoteCard.vue b/frontend/src/components/NoteCard.vue new file mode 100644 index 0000000..5766a0c --- /dev/null +++ b/frontend/src/components/NoteCard.vue @@ -0,0 +1,85 @@ + + + diff --git a/frontend/src/components/NoteEditor.vue b/frontend/src/components/NoteEditor.vue new file mode 100644 index 0000000..2b11e17 --- /dev/null +++ b/frontend/src/components/NoteEditor.vue @@ -0,0 +1,124 @@ + + +