diff --git a/.gitignore b/.gitignore index 5ac0760c..7bf2b432 100644 --- a/.gitignore +++ b/.gitignore @@ -34,6 +34,5 @@ schema.json server/documents server/images server/original_images -images/ original_images/ server/media/ diff --git a/client/src/App.vue b/client/src/App.vue index c164b217..c1359c59 100644 --- a/client/src/App.vue +++ b/client/src/App.vue @@ -11,8 +11,8 @@ + + diff --git a/client/src/components/rooms/RoomWidget.vue b/client/src/components/rooms/RoomWidget.vue new file mode 100644 index 00000000..a13569a4 --- /dev/null +++ b/client/src/components/rooms/RoomWidget.vue @@ -0,0 +1,122 @@ + + + + {{title}} + + + + {{group}} + + + + + {{entryCount}} {{entryCount === 1 ? 'Beitrag' : 'Beiträge'}} + + + + + + + + + + diff --git a/client/src/pages/rooms.vue b/client/src/pages/rooms.vue index 803cdc65..a84690ea 100644 --- a/client/src/pages/rooms.vue +++ b/client/src/pages/rooms.vue @@ -1,17 +1,44 @@ - - - + + @@ -21,8 +48,9 @@ display: grid; grid-template-columns: repeat(3, 1fr); grid-column-gap: 30px; + grid-row-gap: 30px; grid-auto-rows: 260px; - padding: 130px 45px; + padding: 50px 45px; max-width: 1440px; width: 100%; justify-self: center; diff --git a/client/src/styles/_mixins.scss b/client/src/styles/_mixins.scss new file mode 100644 index 00000000..64e1d05e --- /dev/null +++ b/client/src/styles/_mixins.scss @@ -0,0 +1,5 @@ +@mixin widget-shadow { + border-radius: 12px; + box-shadow: 0 3px 9px 0 rgba(0, 0, 0, 0.12); + +}