add client brief page

This commit is contained in:
isUnknown 2024-09-26 19:14:20 +02:00
parent 83cf6beea7
commit 769639b241
12 changed files with 97 additions and 53 deletions

25
src/views/ClientBrief.vue Normal file
View file

@ -0,0 +1,25 @@
<template>
<main class="flex flex-col items-stretch | w-full">
<Header />
<component :is="stepsComponents[currentStep]" @update:step="changeStep" />
</main>
</template>
<script setup>
import { ref } from "vue";
import Header from "../components/project/Header.vue";
import Intro from "../components/project/ClientBrief/Intro.vue";
import ModeSelection from "../components/project/ClientBrief/ModeSelection.vue";
import AddImages from "../components/project/ClientBrief/AddImages.vue";
const stepsComponents = {
Intro,
ModeSelection,
AddImages,
};
const currentStep = ref("Intro");
function changeStep(stepName) {
currentStep.value = stepName;
}
</script>