(WIP) Thehollidayin/front end updates (#8278)

* Added read me and Inbox Page

* Fixed inbox linting

* Added converstaion route

* Added temp data and style

* Added social page and nav

* Fixed Inbox routes

* Added basic layout for Tavern Page
This commit is contained in:
Keith Holliday
2016-12-29 13:24:08 -06:00
committed by GitHub
parent 7fc2500bfd
commit 77b88490e4
8 changed files with 397 additions and 11 deletions

View File

@@ -0,0 +1,40 @@
<template lang="pug">
.row
.sixteen.wide.column
.ui.secondary.menu
a.item
router-link(:to="{ name: 'tavern' }")
| Tavern
a.item
router-link(:to="{ name: 'inbox' }")
| Inbox
.sixteen.wide.column
router-view
</template>
<script>
export default {
data () {
// @TODO: Abstract to Store
let messages = [
{
from: 'Paglias',
fromUserId: 1234,
to: 'TheHollidayInn',
message: 'I love the Gang of Four',
},
];
let conversations = {};
for (let message of messages) {
if (!conversations[message.fromUserId]) conversations[message.fromUserId] = message;
}
return {
conversations,
};
},
};
</script>