Update inspirations/Selector component: add script an TODO comments
This commit is contained in:
parent
0b30fd37a9
commit
ad70bbb40c
1 changed files with 8 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
|
<!-- TODO: dynamiser la valeur de l'attribut style: url('inspiration.cover') -->
|
||||||
<div
|
<div
|
||||||
id="inspiration-select"
|
id="inspiration-select"
|
||||||
class="flex"
|
class="flex"
|
||||||
|
|
@ -8,12 +9,19 @@
|
||||||
>
|
>
|
||||||
<label for="inspirations">Choisir une inspiration</label>
|
<label for="inspirations">Choisir une inspiration</label>
|
||||||
<select id="inspirations">
|
<select id="inspirations">
|
||||||
|
<!-- TODO: dynamiser les options en bouclant sur les inspirations -->
|
||||||
<option value="shape-of-nature" selected>Shape of Nature</option>
|
<option value="shape-of-nature" selected>Shape of Nature</option>
|
||||||
<option value="inspiration-slug">Inspiration Title</option>
|
<option value="inspiration-slug">Inspiration Title</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<script setup>
|
||||||
|
const { inspiration } = defineProps({
|
||||||
|
inspiration: Object,
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
#inspiration-select {
|
#inspiration-select {
|
||||||
--direction: column;
|
--direction: column;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue