File tree Expand file tree Collapse file tree 7 files changed +266
-141
lines changed Expand file tree Collapse file tree 7 files changed +266
-141
lines changed Original file line number Diff line number Diff line change 10
10
},
11
11
"dependencies" : {
12
12
"@vue/preload-webpack-plugin" : " ^2.0.0" ,
13
+ "aos" : " ^2.3.4" ,
13
14
"axios" : " ^1.2.1" ,
14
15
"bootstrap-vue" : " ^2.23.1" ,
15
16
"chroma-js" : " ^2.4.2" ,
21
22
"vue-animated-cursor" : " ^1.0.3" ,
22
23
"vue-parallaxy" : " ^1.1.1" ,
23
24
"vue-router" : " ^4.0.13" ,
24
- "vue-scrollmagic" : " ^1.2.0"
25
+ "vue-scrollmagic" : " ^1.0.1" ,
26
+ "vuelidate" : " ^0.7.7"
25
27
},
26
28
"devDependencies" : {
27
29
"@babel/core" : " ^7.12.16" ,
Original file line number Diff line number Diff line change 161
161
</div >
162
162
163
163
<!-- Modal 2 -->
164
- <div class =" modal__application" id =" application_form2" >
164
+ <job-form ></job-form >
165
+ <!-- <div class="modal__application" id="application_form2">
165
166
<div class="modal__apply">
166
167
<button class="modal__close-2" id="apply_close2"><i class="fa-solid fa-xmark"></i></button>
167
168
<div class="form-top">
196
197
class="fa-solid fa-arrow-right"></i></button>
197
198
</div>
198
199
</div>
199
- </div >
200
+ </div> -->
200
201
<FloatingWhatsapp ></FloatingWhatsapp >
201
202
<div class =" offcanvas__close" >
202
203
<router-link :to =" { path: '/career' }" >
209
210
</template >
210
211
<script >
211
212
import FloatingWhatsapp from ' @/components/Home/FloatingWhatsapp.vue' ;
213
+ import JobForm from ' ./JobForm.vue' ;
214
+
212
215
export default {
213
216
components : {
214
217
FloatingWhatsapp,
218
+ JobForm,
215
219
},
216
220
data (){
217
221
return {
Original file line number Diff line number Diff line change
1
+ <template >
2
+ <div >
3
+ <div class =" modal__application" id =" application_form2" >
4
+ <div class =" modal__apply" >
5
+ <button class =" modal__close-2" id =" apply_close2" ><i class =" fa-solid fa-xmark" ></i ></button >
6
+ <div class =" form-top" >
7
+
8
+ <h2 class =" sec-title" >Frontend Developer</h2 >
9
+ <p >Full time</p >
10
+ </div >
11
+ <div class =" form-apply" >
12
+ <form @submit.prevent =" submitForm" >
13
+ <div class =" input-apply-2" >
14
+ <p >Name *</p >
15
+ <input type =" text" v-model =" form.name" required >
16
+ </div >
17
+ <div class =" input-apply-2" >
18
+ <p >Email *</p >
19
+ <input type =" email" v-model =" form.email" required >
20
+ </div >
21
+ <div class =" input-apply-2" >
22
+ <p >Phone *</p >
23
+ <input type =" tel" v-model =" form.phone" required >
24
+ </div >
25
+ <div class =" input-apply-2" >
26
+ <p >Upload CV *</p >
27
+ <input type =" file" >
28
+ </div >
29
+ </form >
30
+ </div >
31
+ <div class =" form-btn-2" >
32
+ <button class =" wc-btn-primary btn-hover" id =" back_form1" ><span ></span > Back <i
33
+ class =" fa-solid fa-arrow-right" ></i ></button >
34
+ <button type =" submit" class =" wc-btn-primary btn-hover" @click =" submitForm" ><span ></span > Submit <i
35
+ class =" fa-solid fa-arrow-right" ></i ></button >
36
+ </div >
37
+ </div >
38
+ </div >
39
+ </div >
40
+ </template >
41
+
42
+ <script >
43
+ export default {
44
+ data () {
45
+ return {
46
+ form: {
47
+ name: ' ' ,
48
+ email: ' ' ,
49
+ phone: ' ' ,
50
+
51
+ }
52
+ }
53
+ },
54
+ methods: {
55
+ submitForm () {
56
+ if (! this .form .name || ! this .form .email || ! this .form .phone ) {
57
+ return
58
+ }
59
+ alert (' Data submitted!' )
60
+ }
61
+ }
62
+ }
63
+ </script >
64
+
65
+ <style >
66
+
67
+ </style >
You can’t perform that action at this time.
0 commit comments