diff --git a/keepr.client/src/AppState.js b/keepr.client/src/AppState.js index 087e34a..2d2d016 100644 --- a/keepr.client/src/AppState.js +++ b/keepr.client/src/AppState.js @@ -8,5 +8,7 @@ export const AppState = reactive({ activeKeep: {}, activeProfile: {}, profileKeeps: [], - profileVaults: [] + profileVaults: [], + vaultKeeps: [], + activeVault: {} }) diff --git a/keepr.client/src/components/KeepModal.vue b/keepr.client/src/components/KeepModal.vue index 2b5ae94..f4c4030 100644 --- a/keepr.client/src/components/KeepModal.vue +++ b/keepr.client/src/components/KeepModal.vue @@ -81,7 +81,7 @@ export default { account: computed(() => {AppState.account}), viewProfile() { // console.log(user.name) - // AppState.activeProfile = user + // AppState.activeProfile = props.keep.creator Modal.getOrCreateInstance(document.getElementById('keepModal')).hide() // logger.log(props.keep.creator.id) router.push({name: 'Profile', params: {id: props.keep.creator.id}}) diff --git a/keepr.client/src/components/KeepTile.vue b/keepr.client/src/components/KeepTile.vue index 22c4bd6..da9ba67 100644 --- a/keepr.client/src/components/KeepTile.vue +++ b/keepr.client/src/components/KeepTile.vue @@ -5,9 +5,7 @@
{{ keep.name }}
- - - +
@@ -54,9 +52,10 @@ export default { .card-img { min-height: 160px; max-height: 80vh; + object-fit: cover; } -.card-img-overlay img { - max-height: 36px; +.profile-pic { + height: 36px; } \ No newline at end of file diff --git a/keepr.client/src/components/Profile.vue b/keepr.client/src/components/Profile.vue deleted file mode 100644 index 2103b78..0000000 --- a/keepr.client/src/components/Profile.vue +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/keepr.client/src/components/ProfileKeepTile.vue b/keepr.client/src/components/ProfileKeepTile.vue new file mode 100644 index 0000000..8af628d --- /dev/null +++ b/keepr.client/src/components/ProfileKeepTile.vue @@ -0,0 +1,60 @@ + + + + + + + \ No newline at end of file diff --git a/keepr.client/src/components/VaultTile.vue b/keepr.client/src/components/VaultTile.vue new file mode 100644 index 0000000..0a4fc98 --- /dev/null +++ b/keepr.client/src/components/VaultTile.vue @@ -0,0 +1,46 @@ + + + + + + + \ No newline at end of file diff --git a/keepr.client/src/components/VaultsList.vue b/keepr.client/src/components/VaultsList.vue deleted file mode 100644 index 74d7d2f..0000000 --- a/keepr.client/src/components/VaultsList.vue +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/keepr.client/src/pages/HomePage.vue b/keepr.client/src/pages/HomePage.vue index 68e2d72..b118048 100644 --- a/keepr.client/src/pages/HomePage.vue +++ b/keepr.client/src/pages/HomePage.vue @@ -1,8 +1,8 @@