From 80b7b86c73a3a2af4c90359fa13e339298513d5c Mon Sep 17 00:00:00 2001 From: Annika Date: Tue, 2 Aug 2022 15:00:04 -0600 Subject: [PATCH] keeps on homepage --- keepr.client/src/AppState.js | 3 +- keepr.client/src/components/KeepTile.vue | 43 +++++++++++++++++++++++ keepr.client/src/components/Navbar.vue | 11 ++++-- keepr.client/src/models/Keep.js | 12 +++++++ keepr.client/src/models/Profile.js | 7 ++++ keepr.client/src/pages/AboutPage.vue | 11 ------ keepr.client/src/pages/HomePage.vue | 34 +++++++++++++----- keepr.client/src/router.js | 5 --- keepr.client/src/services/KeepsService.js | 16 +++++++++ 9 files changed, 114 insertions(+), 28 deletions(-) create mode 100644 keepr.client/src/components/KeepTile.vue create mode 100644 keepr.client/src/models/Keep.js create mode 100644 keepr.client/src/models/Profile.js delete mode 100644 keepr.client/src/pages/AboutPage.vue create mode 100644 keepr.client/src/services/KeepsService.js diff --git a/keepr.client/src/AppState.js b/keepr.client/src/AppState.js index 0b5a547..b28a0f9 100644 --- a/keepr.client/src/AppState.js +++ b/keepr.client/src/AppState.js @@ -3,5 +3,6 @@ import { reactive } from 'vue' // NOTE AppState is a reactive object to contain app level data export const AppState = reactive({ user: {}, - account: {} + account: {}, + keeps: [] }) diff --git a/keepr.client/src/components/KeepTile.vue b/keepr.client/src/components/KeepTile.vue new file mode 100644 index 0000000..b81786a --- /dev/null +++ b/keepr.client/src/components/KeepTile.vue @@ -0,0 +1,43 @@ + + + + + + + \ No newline at end of file diff --git a/keepr.client/src/components/Navbar.vue b/keepr.client/src/components/Navbar.vue index 7e751df..a1fdc0b 100644 --- a/keepr.client/src/components/Navbar.vue +++ b/keepr.client/src/components/Navbar.vue @@ -2,7 +2,8 @@