This commit is contained in:
parent
6d70187cb9
commit
c578538fe0
10 changed files with 195 additions and 107 deletions
|
|
@ -1,5 +1,7 @@
|
|||
<template>
|
||||
<router-link :to="project.uri">
|
||||
<router-link
|
||||
:to="isEmptyBrief(project) ? project.uri + '/client-brief' : project.uri"
|
||||
>
|
||||
<article class="project-item | flex | rounded-2xl | px-32 py-32">
|
||||
<hgroup>
|
||||
<h3>{{ project.title }}</h3>
|
||||
|
|
@ -11,7 +13,11 @@
|
|||
</p>
|
||||
</hgroup>
|
||||
<img :src="project.logo" alt="Logo" class="project-logo | rounded-sm" />
|
||||
<ol class="project-steps" :data-steps="project.steps.length" :style="'--steps:'+project.steps.length">
|
||||
<ol
|
||||
class="project-steps"
|
||||
:data-steps="project.steps.length"
|
||||
:style="'--steps:' + project.steps.length"
|
||||
>
|
||||
<li
|
||||
v-for="step in project.steps"
|
||||
class="project-step"
|
||||
|
|
@ -39,5 +45,5 @@ const frenchFormattedModified = dayjs(project.modified).format(
|
|||
"dddd D MMMM YYYY"
|
||||
);
|
||||
|
||||
const { stepsLabels, setStatus } = useProjectStore();
|
||||
const { stepsLabels, setStatus, isEmptyBrief } = useProjectStore();
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue