disabled réunions btns

This commit is contained in:
isUnknown 2024-11-18 15:27:41 +01:00
parent 3b2f881424
commit e66ed56324
6 changed files with 23 additions and 4 deletions

View file

@ -41,6 +41,7 @@
<router-link
:to="mainItem.path"
:aria-current="isCurrent(mainItem)"
:disabled="mainItem.disabled ? true : undefined"
>{{ mainItem.title }}</router-link
>
<span v-if="mainItem.pill" class="pill pill--secondary">{{
@ -108,6 +109,7 @@ const mainItems = [
path: "/reunions",
icon: "calendar",
pill: "Dans 2h",
disabled: true,
},
{
title: "Inspirations",

View file

@ -1,5 +1,10 @@
<template>
<PdfViewer v-if="dialog.content.slug === 'client-brief'" />
<PdfViewer
v-if="
dialog.content.slug === 'client-brief' ||
dialog.content.slug === 'proposal'
"
/>
</template>
<script setup>
import PdfViewer from "./client-brief/PdfViewer.vue";

View file

@ -1,7 +1,7 @@
<template>
<header class="flex | bg-white | rounded-2xl | p-8 mb-16">
<h1 class="font-serif | px-8">{{ title }}</h1>
<button class="btn | ml-auto">Demander un RDV</button>
<button class="btn | ml-auto" disabled>Demander un RDV</button>
</header>
</template>

View file

@ -67,7 +67,6 @@
import dayjs from "dayjs";
import "dayjs/locale/fr";
import { usePageStore } from "../../stores/page";
import { useDialogStore } from "../../stores/dialog";
const { step } = defineProps({
step: Object,