add client brief page
This commit is contained in:
parent
83cf6beea7
commit
769639b241
12 changed files with 97 additions and 53 deletions
25
src/views/ClientBrief.vue
Normal file
25
src/views/ClientBrief.vue
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue