Some changes
This commit is contained in:
37
src/views/main/Creator.vue
Normal file
37
src/views/main/Creator.vue
Normal file
@@ -0,0 +1,37 @@
|
||||
<template>
|
||||
<div>
|
||||
|
||||
<v-img cover
|
||||
max-height="375"
|
||||
:src="imageSrc">
|
||||
</v-img>
|
||||
|
||||
<PostContentMenu></PostContentMenu>
|
||||
|
||||
<div class="flex">
|
||||
<RouterLink v-for="(post, index) in posts"
|
||||
:key="index"
|
||||
:to="post.routerLink"
|
||||
class="bg-amber flex grow">
|
||||
<PostCard :post="post"
|
||||
class="m-2 bg-red w-full">
|
||||
</PostCard>
|
||||
</RouterLink>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
|
||||
import PostContentMenu from '@/views/main/PostContentMenu.vue'
|
||||
import PostCard from "@/views/main/PostCard.vue"
|
||||
import posts from "@/views/main/posts.json"
|
||||
|
||||
let imageSrc = '/images/usersmedia/guillaumeMousseau/banners/bannerGuillaumeMousseau01.png';
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user