Adds messages

This commit is contained in:
Jonathan Bourdon
2024-06-27 12:38:49 -04:00
parent 8a4bab5a24
commit 8125df5b70
15 changed files with 223 additions and 21 deletions

View File

@@ -6,13 +6,22 @@
:src="imageSrc">
</v-img>
<div class="w-full border-b-2 p-6">
<CreatePost content-id="00000001-0000-0000-0000-000000000001"></CreatePost>
</div>
<div class="w-full border-b-2 p-6">
<h2 class="font-sans font-semibold">Commentaires</h2>
<PostList content-id="00000001-0000-0000-0000-000000000001"></PostList>
</div>
<PostContentMenu></PostContentMenu>
<div class="flex">
<PostCard v-for="(post, index) in posts"
:post="post"
class="m-2 bg-red w-full">
</PostCard>
<div class="flex">
<PostCard v-for="(post, index) in posts"
:post="post"
class="m-2 bg-red w-full">
</PostCard>
</div>
</div>
</template>
@@ -22,6 +31,8 @@
import PostContentMenu from '@/views/main/PostContentMenu.vue'
import PostCard from "@/views/main/PostCard.vue"
import posts from "@/views/main/posts.json"
import CreatePost from "@/views/messages/CreatePost.vue";
import PostList from "@/views/messages/PostList.vue";
let imageSrc = '/images/usersmedia/guillaumeMousseau/banners/bannerGuillaumeMousseau01.png';

View File

@@ -39,8 +39,8 @@
class="rounded-full w-32 md:w-64 lg:w-96 mx-2"
append-inner-icon="mdi-magnify"
@click.stop
@click:append-inner="onSearch"
></v-text-field>
@click:append-inner="onSearch">
</v-text-field>
</template>
<template v-else>
<v-icon class="mx-2 cursor-pointer" @click.stop="toggleSearch">mdi-magnify</v-icon>
@@ -63,17 +63,17 @@
<v-list class="mt-2">
<v-list-item @click="navigateToProfile">
<v-list-item-title>
<router-link to="/profile">
Mon profil
Mon profil
</router-link>
</v-list-item-title>
</v-list-item>
<v-list-item>
<v-list-item-title>
<router-link to="/wallet">
Mon wallet
Mon wallet
</router-link>
</v-list-item-title>
</v-list-item>
@@ -88,8 +88,7 @@
</div>
</div>
</header>
</template>