Project view > Kanban + project card clickable

This commit is contained in:
isUnknown 2024-11-05 14:14:40 +01:00
parent ac48b4166a
commit 4d1811830c
5 changed files with 77 additions and 34 deletions

View file

@ -30,6 +30,46 @@ Comments:
id: m2w14iph id: m2w14iph
type: comment type: comment
isRead: false isRead: false
position:
x: null
y: null
-
page:
uri: projects/miss-dior-blooming-bouquet
title: Miss Dior Blooming Bouquet
file:
uuid: file://s0lNtRA0Z7ybTCWG
pageIndex: 1
replies:
-
page:
uri: projects/miss-dior-blooming-bouquet
title: Miss Dior Blooming Bouquet
file:
uuid: file://s0lNtRA0Z7ybTCWG
pageIndex: 1
replies: [ ]
text: Réponse
author:
name: Adrien Payet
email: adrien.payet@outlook.com
uuid: user://WWjXgPWk
role: admin
date: 2024-10-30T16:52:46+01:00
id: m2w22gxz
type: comment
isRead: false
parentId: m2w2252a
text: deuxième commentaire
author:
name: Adrien Payet
email: adrien.payet@outlook.com
uuid: user://WWjXgPWk
role: admin
date: 2024-10-30T16:52:31+01:00
id: m2w2252a
type: comment
isRead: false
position: position:
x: null x: null
y: null y: null

View file

@ -1,19 +1,23 @@
<template> <template>
<article class="project-item | flex | rounded-2xl | px-32 py-32"> <router-link :to="project.uri">
<hgroup> <article class="project-item | flex | rounded-2xl | px-32 py-32">
<h3>{{ project.title }}</h3> <hgroup>
<p> <h3>{{ project.title }}</h3>
Dernière mise à jour le <p>
<time :datetime="project.modified">{{ frenchFormattedModified }}</time> Dernière mise à jour le
</p> <time :datetime="project.modified">{{
</hgroup> frenchFormattedModified
<img :src="project.logo" alt="Logo" class="project-logo | rounded-sm" /> }}</time>
<ol class="project-steps" data-steps="1"> </p>
<li class="project-step" data-status="in-progress"> </hgroup>
<span class="pill" data-icon="search">Votre Brief</span> <img :src="project.logo" alt="Logo" class="project-logo | rounded-sm" />
</li> <ol class="project-steps" data-steps="1">
</ol> <li class="project-step" data-status="in-progress">
</article> <span class="pill" data-icon="search">Votre Brief</span>
</li>
</ol>
</article>
</router-link>
</template> </template>
<script setup> <script setup>

View file

@ -11,17 +11,14 @@
> >
<template #header> <template #header>
<div class="dialog__tabs"> <div class="dialog__tabs">
<button <button
class="btn btn--transparent | font-serif" class="btn btn--transparent | font-serif"
data-icon="cursor" data-icon="cursor"
aria-pressed="true" aria-pressed="true"
> >
<span>Vue Dynamique</span> <span>Vue Dynamique</span>
</button> </button>
<button <button class="btn btn--transparent | font-serif" data-icon="image">
class="btn btn--transparent | font-serif"
data-icon="image"
>
<span>Vue statique</span> <span>Vue statique</span>
</button> </button>
</div> </div>
@ -30,38 +27,40 @@
<div class="dialog__inner"> <div class="dialog__inner">
<header class="flex"> <header class="flex">
<div class="options-selector"> <div class="options-selector">
<button <button
class="btn btn--image" class="btn btn--image"
aria-pressed="true" aria-pressed="true"
style="--btn-image: url('https://images.unsplash.com/photo-1708486855543-6010a133280f?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTJ8fHBhcmZ1bWUlMjBib3R0bGV8ZW58MHx8MHx8fDA%3D')" style="
--btn-image: url('https://images.unsplash.com/photo-1708486855543-6010a133280f?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTJ8fHBhcmZ1bWUlMjBib3R0bGV8ZW58MHx8MHx8fDA%3D');
"
> >
<span>Piste 1</span> <span>Piste 1</span>
</button> </button>
<button <button
class="btn btn--image" class="btn btn--image"
style="--btn-image: url('https://images.unsplash.com/photo-1680607622631-1e243ddd6782?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NHx8cGFyZnVtZSUyMGJvdHRsZXxlbnwwfHwwfHx8MA%3D%3D')" style="
--btn-image: url('https://images.unsplash.com/photo-1680607622631-1e243ddd6782?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NHx8cGFyZnVtZSUyMGJvdHRsZXxlbnwwfHwwfHx8MA%3D%3D');
"
> >
<span>Piste 2</span> <span>Piste 2</span>
</button> </button>
</div> </div>
<button <button class="btn | ml-auto">
class="btn | ml-auto"
>
<span>Comparer les pistes</span> <span>Comparer les pistes</span>
</button> </button>
</header> </header>
</div> </div>
<template #footer> <template #footer>
<button <button
id="download-image" id="download-image"
class="btn btn--white-10" class="btn btn--white-10"
data-icon="download" data-icon="download"
> >
<span>Sauvegarder limage</span> <span>Sauvegarder limage</span>
</button> </button>
<button <button
id="loop-animation" id="loop-animation"
class="btn btn--transparent btn--outline" class="btn btn--transparent btn--outline"
data-icon="loop" data-icon="loop"
> >
<span>Animation en boucle</span> <span>Animation en boucle</span>

View file

@ -2,7 +2,7 @@ import Home from "../views/Home.vue";
import Notifications from "../views/Notifications.vue"; import Notifications from "../views/Notifications.vue";
import Reunions from "../views/Reunions.vue"; import Reunions from "../views/Reunions.vue";
import Inspirations from "../views/Inspirations.vue"; import Inspirations from "../views/Inspirations.vue";
import Project from "../views/Project.vue"; import Kanban from "../views/Kanban.vue";
import ClientBrief from "../views/ClientBrief.vue"; import ClientBrief from "../views/ClientBrief.vue";
const routes = [ const routes = [
@ -24,7 +24,7 @@ const routes = [
}, },
{ {
path: "/projects/:id", path: "/projects/:id",
component: Project, component: Kanban,
}, },
{ {
path: "/projects/:id/client-brief", path: "/projects/:id/client-brief",