-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add components to app for proof of concept
- Loading branch information
Showing
2 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
import '/src/assets/main.css' | ||
|
||
export const parameters = { | ||
actions: { argTypesRegex: "^on[A-Z].*" }, | ||
controls: { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,45 @@ | ||
<template> | ||
<header>incoming header</header> | ||
|
||
<main>this will be main area</main> | ||
<main> | ||
<StepInput | ||
v-model:stepText="bio" | ||
:stepNumber="1" | ||
stepLabel="Step 1: Add your current pitch" | ||
/> | ||
|
||
<StepInput | ||
v-model:stepText="jobDescription" | ||
:stepNumber="2" | ||
stepLabel="Step 2: Paste a job description" | ||
/> | ||
|
||
<BaseButton @click="createMelange">Generate</BaseButton> | ||
|
||
<div class="border"> | ||
<h2>Melange list:</h2> | ||
<ul> | ||
<li class="m-2 border" v-for="(item, index) in melange" :key="index"> | ||
{{ item }} | ||
</li> | ||
</ul> | ||
</div> | ||
</main> | ||
</template> | ||
|
||
<script setup> | ||
import { ref } from 'vue' | ||
import BaseButton from './components/BaseButton.vue' | ||
import StepInput from './components/StepInput.vue' | ||
const bio = ref('') | ||
const jobDescription = ref('') | ||
const melange = ref([]) | ||
const createMelange = () => { | ||
melange.value.push(`${bio.value}, ${jobDescription.value}`) | ||
jobDescription.value = '' | ||
} | ||
</script> |