2024-09-17 17:21:43 +02:00
|
|
|
<template>
|
2024-09-25 15:22:54 +02:00
|
|
|
<main class="flex flex-col items-stretch | w-full">
|
2024-09-26 19:14:20 +02:00
|
|
|
<Header :title="page.content.title" />
|
2024-09-25 15:22:54 +02:00
|
|
|
<!-- Kanban: Status Brief Enrichi -->
|
2024-09-25 17:33:28 +02:00
|
|
|
|
2024-09-26 17:21:24 +02:00
|
|
|
<div class="kanban">
|
2024-10-02 15:29:31 +02:00
|
|
|
<ProjectStep v-for="step in page.steps" :key="step" :step="step">
|
|
|
|
|
</ProjectStep>
|
2024-09-26 17:21:24 +02:00
|
|
|
<!-- <section
|
2024-09-18 10:42:36 +02:00
|
|
|
class="flex-1"
|
2024-09-17 18:08:41 +02:00
|
|
|
aria-labelledby="votre-brief-label"
|
2024-09-18 10:17:45 +02:00
|
|
|
data-status="done"
|
2024-09-17 18:08:41 +02:00
|
|
|
>
|
|
|
|
|
<h2 id="votre-brief-label">
|
2024-09-18 10:17:45 +02:00
|
|
|
<span data-icon="votre-brief">Votre brief</span>
|
2024-09-17 18:08:41 +02:00
|
|
|
</h2>
|
2024-09-18 10:42:36 +02:00
|
|
|
<div class="cards | flow">
|
|
|
|
|
<article class="card">
|
|
|
|
|
<hgroup class="order-last">
|
|
|
|
|
<h3 class="card__title | font-serif | text-lg">Votre Brief</h3>
|
|
|
|
|
</hgroup>
|
|
|
|
|
<div class="card__meta | flex">
|
2024-09-25 17:33:28 +02:00
|
|
|
<time class="card__date | text-grey-700" datetime="2024-06-12"
|
|
|
|
|
>12 juin 2024</time
|
|
|
|
|
>
|
2024-09-18 10:42:36 +02:00
|
|
|
</div>
|
|
|
|
|
<figure class="card__images" data-count="13">
|
|
|
|
|
<img
|
|
|
|
|
src="http://localhost:8888/media/pages/inspirations/shape-of-the-nature/6ed93d6950-1725442486/d82f18573c439d6edd434ffca62471a7.png"
|
|
|
|
|
alt=""
|
|
|
|
|
/>
|
|
|
|
|
<img
|
|
|
|
|
src="http://localhost:8888/media/pages/inspirations/shape-of-the-nature/7b0fcc5012-1725442486/37a038883c87973036232aa0e43f6da2.png"
|
|
|
|
|
alt=""
|
|
|
|
|
/>
|
|
|
|
|
<img
|
|
|
|
|
src="http://localhost:8888/media/pages/inspirations/shape-of-the-nature/1bbe051c5a-1725442486/0c41d3266e9ce2872f30608cceb28239.png"
|
|
|
|
|
alt=""
|
|
|
|
|
/>
|
|
|
|
|
</figure>
|
|
|
|
|
</article>
|
|
|
|
|
</div>
|
2024-09-17 17:21:43 +02:00
|
|
|
</section>
|
2024-09-25 17:33:28 +02:00
|
|
|
<section
|
2024-09-18 10:42:36 +02:00
|
|
|
class="flex-1"
|
2024-09-17 18:08:41 +02:00
|
|
|
aria-labelledby="offre-commerciale-label"
|
2024-09-18 10:17:45 +02:00
|
|
|
data-status="done"
|
2024-09-17 18:08:41 +02:00
|
|
|
>
|
|
|
|
|
<h2 id="offre-commerciale-label">
|
2024-09-18 10:17:45 +02:00
|
|
|
<span data-icon="offre-commerciale">Offre Commerciale</span>
|
2024-09-17 18:08:41 +02:00
|
|
|
</h2>
|
2024-09-18 10:42:36 +02:00
|
|
|
<div class="cards | flow">
|
|
|
|
|
<article class="card">
|
|
|
|
|
<hgroup class="order-last">
|
|
|
|
|
<h3 class="card__title | font-serif | text-lg">Offre - 2</h3>
|
|
|
|
|
<p class="text-primary | font-medium">4 commentaires</p>
|
|
|
|
|
</hgroup>
|
|
|
|
|
<div class="card__meta | flex">
|
2024-09-25 17:33:28 +02:00
|
|
|
<time class="card__date | text-grey-700" datetime="2024-06-12"
|
|
|
|
|
>12 juin 2024</time
|
|
|
|
|
>
|
2024-09-18 10:42:36 +02:00
|
|
|
<span class="text-primary | font-medium | ml-auto">Validé</span>
|
|
|
|
|
</div>
|
|
|
|
|
<figure class="card__images">
|
|
|
|
|
<img
|
|
|
|
|
src="http://localhost:8888/media/pages/inspirations/shape-of-the-nature/6ed93d6950-1725442486/d82f18573c439d6edd434ffca62471a7.png"
|
|
|
|
|
alt=""
|
|
|
|
|
/>
|
|
|
|
|
</figure>
|
|
|
|
|
</article>
|
|
|
|
|
<article class="card">
|
|
|
|
|
<hgroup class="order-last">
|
|
|
|
|
<h3 class="card__title | font-serif | text-lg">Offre - 3</h3>
|
|
|
|
|
<p class="text-primary | font-medium">4 commentaires</p>
|
|
|
|
|
</hgroup>
|
|
|
|
|
<div class="card__meta | flex">
|
2024-09-25 17:33:28 +02:00
|
|
|
<time class="card__date | text-grey-700" datetime="2024-06-12"
|
|
|
|
|
>12 juin 2024</time
|
|
|
|
|
>
|
2024-09-18 10:42:36 +02:00
|
|
|
</div>
|
|
|
|
|
</article>
|
|
|
|
|
<article class="card">
|
|
|
|
|
<hgroup class="order-last">
|
|
|
|
|
<h3 class="card__title | font-serif | text-lg">Offre Initiale</h3>
|
|
|
|
|
<p class="text-primary | font-medium">4 commentaires</p>
|
|
|
|
|
</hgroup>
|
|
|
|
|
<div class="card__meta | flex">
|
2024-09-25 17:33:28 +02:00
|
|
|
<time class="card__date | text-grey-700" datetime="2024-06-12"
|
|
|
|
|
>12 juin 2024</time
|
|
|
|
|
>
|
2024-09-18 10:42:36 +02:00
|
|
|
</div>
|
|
|
|
|
</article>
|
|
|
|
|
</div>
|
2024-09-17 17:21:43 +02:00
|
|
|
</section>
|
2024-09-25 17:33:28 +02:00
|
|
|
<section
|
2024-09-18 10:42:36 +02:00
|
|
|
class="flex-1"
|
2024-09-17 18:08:41 +02:00
|
|
|
aria-labelledby="brief-enrichi-label"
|
2024-09-18 10:17:45 +02:00
|
|
|
data-status="in-progress"
|
2024-09-25 17:33:28 +02:00
|
|
|
>
|
2024-09-17 18:08:41 +02:00
|
|
|
<h2 id="brief-enrichi-label">
|
2024-09-18 10:17:45 +02:00
|
|
|
<span data-icon="brief-enrichi">Brief Enrichi</span>
|
2024-09-17 18:08:41 +02:00
|
|
|
</h2>
|
2024-09-18 10:42:36 +02:00
|
|
|
<div class="cards | flow">
|
|
|
|
|
<article class="card">
|
|
|
|
|
<hgroup class="order-last">
|
|
|
|
|
<h3 class="card__title | font-serif | text-lg">Brief enrichi</h3>
|
|
|
|
|
<p class="text-primary | font-medium">4 commentaires</p>
|
|
|
|
|
</hgroup>
|
|
|
|
|
<div class="card__meta | flex">
|
2024-09-25 17:33:28 +02:00
|
|
|
<time class="card__date | text-grey-700" datetime="2024-06-12"
|
|
|
|
|
>12 juin 2024</time
|
|
|
|
|
>
|
2024-09-18 10:42:36 +02:00
|
|
|
<span class="text-primary | font-medium | ml-auto">Validé</span>
|
|
|
|
|
</div>
|
|
|
|
|
<figure class="card__images" data-count="15">
|
|
|
|
|
<img
|
|
|
|
|
src="http://localhost:8888/media/pages/inspirations/shape-of-the-nature/6ed93d6950-1725442486/d82f18573c439d6edd434ffca62471a7.png"
|
|
|
|
|
alt=""
|
|
|
|
|
/>
|
|
|
|
|
<img
|
|
|
|
|
src="http://localhost:8888/media/pages/inspirations/shape-of-the-nature/7b0fcc5012-1725442486/37a038883c87973036232aa0e43f6da2.png"
|
|
|
|
|
alt=""
|
|
|
|
|
/>
|
|
|
|
|
<img
|
|
|
|
|
src="http://localhost:8888/media/pages/inspirations/shape-of-the-nature/1bbe051c5a-1725442486/0c41d3266e9ce2872f30608cceb28239.png"
|
|
|
|
|
alt=""
|
|
|
|
|
/>
|
|
|
|
|
</figure>
|
|
|
|
|
</article>
|
|
|
|
|
</div>
|
2024-09-17 17:21:43 +02:00
|
|
|
</section>
|
2024-09-17 17:31:03 +02:00
|
|
|
<section
|
2024-09-18 10:42:36 +02:00
|
|
|
class="flex-1"
|
2024-09-17 17:31:03 +02:00
|
|
|
aria-labelledby="echantillon-virtuel-label"
|
2024-09-18 10:17:45 +02:00
|
|
|
data-status="uncompleted"
|
2024-09-17 17:31:03 +02:00
|
|
|
>
|
2024-09-17 18:08:41 +02:00
|
|
|
<h2 id="echantillon-virtuel-label">
|
2024-09-18 10:17:45 +02:00
|
|
|
<span data-icon="echantillon-virtuel">Échantillon Virtuel</span>
|
2024-09-17 18:08:41 +02:00
|
|
|
</h2>
|
2024-09-18 10:42:36 +02:00
|
|
|
<div class="cards | flow">
|
2024-09-25 17:33:28 +02:00
|
|
|
<div
|
|
|
|
|
class="flex flex-col justify-center | rounded-2xl | bg-grey-200 text-grey-700"
|
|
|
|
|
>
|
2024-09-18 10:42:36 +02:00
|
|
|
<p>Prochainement disponible</p>
|
|
|
|
|
</div>
|
2024-09-18 10:17:45 +02:00
|
|
|
</div>
|
2024-09-26 17:21:24 +02:00
|
|
|
</section> -->
|
|
|
|
|
</div>
|
2024-09-17 17:21:43 +02:00
|
|
|
</main>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script setup>
|
2024-09-17 17:31:03 +02:00
|
|
|
import { usePageStore } from "../stores/page";
|
2024-09-17 17:21:43 +02:00
|
|
|
import { useUserStore } from "../stores/user";
|
|
|
|
|
import { storeToRefs } from "pinia";
|
2024-09-26 17:21:24 +02:00
|
|
|
import ProjectStep from "../components/project/ProjectStep.vue";
|
2024-09-26 19:14:20 +02:00
|
|
|
import Header from "../components/project/Header.vue";
|
2024-09-17 17:21:43 +02:00
|
|
|
|
|
|
|
|
const { page } = storeToRefs(usePageStore());
|
|
|
|
|
const user = useUserStore().user;
|
2024-09-25 17:33:28 +02:00
|
|
|
|
2024-09-26 17:21:24 +02:00
|
|
|
function setStepStatus(stepName) {
|
|
|
|
|
const stepIndex = steps.indexOf(stepName);
|
|
|
|
|
const currentIndex = steps.indexOf(currentStep.value);
|
|
|
|
|
if (stepIndex < currentIndex) {
|
|
|
|
|
return "done";
|
|
|
|
|
}
|
2024-09-25 17:33:28 +02:00
|
|
|
}
|
2024-09-17 17:21:43 +02:00
|
|
|
</script>
|
|
|
|
|
|
2024-09-17 18:08:41 +02:00
|
|
|
<style scope>
|
2024-09-25 15:22:54 +02:00
|
|
|
/* Porject details */
|
|
|
|
|
.project-details textarea {
|
|
|
|
|
resize: none;
|
|
|
|
|
max-height: 5rem;
|
|
|
|
|
}
|
|
|
|
|
.project-details__filters button:first-of-type {
|
|
|
|
|
margin-right: calc(var(--space-12) + 1px);
|
|
|
|
|
}
|
|
|
|
|
.project-details__filters button:first-of-type::after {
|
2024-09-25 17:33:28 +02:00
|
|
|
content: "";
|
2024-09-25 15:22:54 +02:00
|
|
|
width: 1px;
|
|
|
|
|
height: 1.7rem;
|
|
|
|
|
background-color: var(--color-black-20);
|
|
|
|
|
position: absolute;
|
2024-09-25 17:33:28 +02:00
|
|
|
right: calc(-0.75rem);
|
2024-09-25 15:22:54 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Masonry */
|
|
|
|
|
.masonry > * {
|
|
|
|
|
margin-bottom: var(--space-16);
|
|
|
|
|
}
|
|
|
|
|
.masonry > *:only-child {
|
|
|
|
|
column-span: all;
|
|
|
|
|
transform: translateY(50%);
|
|
|
|
|
}
|
|
|
|
|
@media (min-width: 40rem) {
|
|
|
|
|
.masonry {
|
|
|
|
|
column-count: 2;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@media (min-width: 65rem) {
|
|
|
|
|
.masonry {
|
|
|
|
|
column-count: 3;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@media (min-width: 90rem) {
|
|
|
|
|
.masonry {
|
|
|
|
|
column-count: 4;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Image */
|
|
|
|
|
.image {
|
|
|
|
|
border-radius: var(--rounded-2xl);
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
position: relative;
|
2024-10-16 17:56:45 +02:00
|
|
|
cursor: pointer;
|
2024-09-25 15:22:54 +02:00
|
|
|
}
|
2024-10-09 18:01:28 +02:00
|
|
|
.image.has-description::after {
|
2024-09-25 17:33:28 +02:00
|
|
|
content: "";
|
2024-09-25 15:22:54 +02:00
|
|
|
display: inline-block;
|
|
|
|
|
width: 1rem;
|
|
|
|
|
height: 1rem;
|
|
|
|
|
background: var(--icon-color, currentColor);
|
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
|
mask-position: center;
|
|
|
|
|
mask-size: 1rem;
|
|
|
|
|
mask-image: var(--icon-description);
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 1.25rem;
|
|
|
|
|
right: 1.25rem;
|
|
|
|
|
}
|
2024-10-16 17:56:45 +02:00
|
|
|
.image[aria-selected="true"] {
|
|
|
|
|
outline: 2px solid var(--color-focus-ring);
|
|
|
|
|
}
|
|
|
|
|
.image[aria-selected="true"]::after {
|
2024-10-16 18:05:29 +02:00
|
|
|
content: attr(data-count);
|
2024-10-16 17:56:45 +02:00
|
|
|
position: absolute;
|
|
|
|
|
top: var(--space-12);
|
|
|
|
|
right: var(--space-12);
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
color: var(--color-white);
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
background: var(--color-grey-800);
|
|
|
|
|
display: grid;
|
|
|
|
|
place-items: center;
|
|
|
|
|
text-align: center;
|
|
|
|
|
width: 1.5rem;
|
|
|
|
|
height: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
.image .tag {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: var(--space-12);
|
|
|
|
|
left: var(--space-12);
|
|
|
|
|
}
|
2024-09-25 15:22:54 +02:00
|
|
|
|
|
|
|
|
/* Kanban */
|
2024-09-17 18:08:41 +02:00
|
|
|
.kanban {
|
|
|
|
|
--header-height: 2.25rem; /* 36px */
|
|
|
|
|
--header-bg-color: var(--color-grey-200);
|
|
|
|
|
--header-title-bg-color: var(--color-grey-700);
|
|
|
|
|
--gap: var(--gutter);
|
|
|
|
|
position: relative;
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: var(--gap);
|
2024-09-18 10:42:36 +02:00
|
|
|
overflow-x: auto;
|
2024-09-17 18:08:41 +02:00
|
|
|
margin: 0 calc(-1 * var(--gutter));
|
|
|
|
|
padding: 0 var(--gutter);
|
2024-09-18 10:42:36 +02:00
|
|
|
height: calc(100vh - var(--gutter) * 2 - var(--header-height) - 2.25rem);
|
2024-09-17 18:08:41 +02:00
|
|
|
}
|
|
|
|
|
</style>
|