<template>
  <form action="">
    <select name="projects" id="projects">
      <option v-for="project in currentProjects" :value="project.slug">
        {{ project.title }}
      </option>
    </select>
    <input type="text" value="Design to light" />
    <textarea placeholder="Décrivez votre demande…"> </textarea>
  </form>
</template>

<script setup>
import { storeToRefs } from "pinia";
import { useProjectsStore } from "../../stores/projects";

const { currentProjects } = storeToRefs(useProjectsStore());
</script>
