pixelfed/resources/assets/components/Discover.vue

42 lines
809 B
Vue
Raw Permalink Normal View History

2023-06-11 21:01:02 +00:00
<template>
<div class="web-wrapper">
2024-10-06 06:50:36 +00:00
<div class="container-fluid mt-3">
2023-06-11 21:01:02 +00:00
<div class="row">
<div class="col-md-4 col-lg-3">
<sidebar :user="profile" />
</div>
2024-10-06 06:50:36 +00:00
<div class="col-md-8 col-lg-9 mt-n4">
2023-06-11 21:01:02 +00:00
<discover :profile="profile" />
</div>
</div>
<drawer />
</div>
</div>
</template>
<script type="text/javascript">
import Drawer from './partials/drawer.vue';
import Sidebar from './partials/sidebar.vue';
import Discover from './sections/DiscoverFeed.vue';
export default {
components: {
"drawer": Drawer,
"sidebar": Sidebar,
"discover": Discover,
},
data() {
return {
profile: undefined,
}
},
mounted() {
this.profile = window._sharedData.user;
}
}
</script>