aboutsummaryrefslogtreecommitdiff
path: root/src/components/public_timeline
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/public_timeline')
-rw-r--r--src/components/public_timeline/public_timeline.js11
-rw-r--r--src/components/public_timeline/public_timeline.vue10
2 files changed, 21 insertions, 0 deletions
diff --git a/src/components/public_timeline/public_timeline.js b/src/components/public_timeline/public_timeline.js
new file mode 100644
index 00000000..cac422ec
--- /dev/null
+++ b/src/components/public_timeline/public_timeline.js
@@ -0,0 +1,11 @@
+import Timeline from '../timeline/timeline.vue'
+const PublicTimeline = {
+ components: {
+ Timeline
+ },
+ computed: {
+ timeline () { return this.$store.state.statuses.timelines.public }
+ }
+}
+
+export default PublicTimeline
diff --git a/src/components/public_timeline/public_timeline.vue b/src/components/public_timeline/public_timeline.vue
new file mode 100644
index 00000000..0ed8baf8
--- /dev/null
+++ b/src/components/public_timeline/public_timeline.vue
@@ -0,0 +1,10 @@
+<template>
+ <div class="panel panel-default">
+ <div class="panel-heading">Public Timeline</div>
+ <div class="panel-body">
+ <Timeline v-bind:timeline="timeline" />
+ </div>
+ </div>
+</template>
+
+<script src="./public_timeline.js"></script>