ProjetRIOT/components/main-controller.riot

34 lines
821 B
Plaintext
Raw Normal View History

2023-03-28 13:42:53 +02:00
<main-controller>
<div class="columns">
<div class="column is-one-third">
2023-03-28 16:52:53 +02:00
<div class="box p-3 m-2">
<img class="mt-1 ml-5 mr-auto" style="margin: auto;" src="../resources/logo-parcoursup.svg"/>
2023-03-28 16:17:29 +02:00
</div>
2023-03-29 22:01:50 +02:00
<search updateCourse={updateCourse}></search>
2023-03-28 13:42:53 +02:00
</div>
<div class="column">
<fili-info></fili-info>
<school></school>
</div>
</div>
<school-info></school-info>
<script>
export default {
2023-03-29 22:01:50 +02:00
onBeforeMount(props, state) {
//Initial state
this.state = {
formation: null
}
},
updateCourse(formation){
this.update({
formation: formation
})
}
2023-03-28 13:42:53 +02:00
}
</script>
</main-controller>