Bruce Lywood 5 years ago
parent
commit
0e6682a566

+ 6
- 4
src/components/shared/footerSection.vue View File

22
               <div class="w-footer-a">
22
               <div class="w-footer-a">
23
                 <ul class="list-unstyled">
23
                 <ul class="list-unstyled">
24
                   <li class="color-a">
24
                   <li class="color-a">
25
-                    <span class="color-text-a">Phone .</span> +27 (0)12 492 1238
25
+                    <eva-icon name="phone-call-outline" fill="#60CBEB"></eva-icon>
26
+                    <span class="color-text-a"></span> +27 (0)12 492 1238
26
                   </li>
27
                   </li>
27
                   <li class="color-a">
28
                   <li class="color-a">
28
-                    <span class="color-text-a">Email .</span> info@univateproperties.co.za
29
+                    <eva-icon name="email-outline" fill="#60CBEB"></eva-icon>
30
+                    <span class="color-text-a"></span> info@univateproperties.co.za
29
                   </li>
31
                   </li>
30
                 </ul>
32
                 </ul>
31
               </div>
33
               </div>
56
                     </li>
58
                     </li>
57
                     <br />
59
                     <br />
58
                     <li class="list-inline-item">
60
                     <li class="list-inline-item">
59
-                      <a href="www.https://www.facebook.com/univateproperties/">
60
-                        <i class="fa fa-facebook color-b font-weight-bold" aria-hidden="true"></i>
61
+                      <a href="https://www.facebook.com/univateproperties/">
62
+                        <eva-icon name="facebook-outline" fill="#60CBEB"></eva-icon>
61
                       </a>
63
                       </a>
62
                     </li>
64
                     </li>
63
                   </ul>
65
                   </ul>

+ 8
- 8
src/components/timeshare/buy/buyPage.vue View File

40
               <div class="accordion" id="accordionExample">
40
               <div class="accordion" id="accordionExample">
41
                 <div class="card" v-for="(region, r) in detailedRegion" :key="r">
41
                 <div class="card" v-for="(region, r) in detailedRegion" :key="r">
42
                   <a
42
                   <a
43
-                    class="btn-link"
43
+                    class="btn btn-b-n"
44
                     type="button"
44
                     type="button"
45
                     data-toggle="collapse"
45
                     data-toggle="collapse"
46
                     :data-target="'#collapse' + region.id"
46
                     :data-target="'#collapse' + region.id"
47
                     aria-expanded="false"
47
                     aria-expanded="false"
48
                     :aria-controls="'collapse' + region.id"
48
                     :aria-controls="'collapse' + region.id"
49
                   >
49
                   >
50
-                    <div class="card-header" :id="'header' + region.id">
51
-                      <h4 class="mb-0">{{ region.regionName }}</h4>
50
+                    <div :id="'header' + region.id">
51
+                      <h5 class="mb-0">{{ region.regionName }}</h5>
52
                     </div>
52
                     </div>
53
                   </a>
53
                   </a>
54
                   <div
54
                   <div
74
   </section>
74
   </section>
75
 </template>
75
 </template>
76
 <script>
76
 <script>
77
-import { mapState, mapActions } from 'vuex';
77
+import { mapState, mapActions } from "vuex";
78
 
78
 
79
 export default {
79
 export default {
80
-  name: 'TimeshareToBuy',
80
+  name: "TimeshareToBuy",
81
   mounted() {
81
   mounted() {
82
     this.getRegions();
82
     this.getRegions();
83
   },
83
   },
84
   computed: {
84
   computed: {
85
-    ...mapState('timeshareBuy', ['detailedRegion']),
85
+    ...mapState("timeshareBuy", ["detailedRegion"])
86
   },
86
   },
87
   methods: {
87
   methods: {
88
-    ...mapActions('timeshareBuy', ['getRegions']),
89
-  },
88
+    ...mapActions("timeshareBuy", ["getRegions"])
89
+  }
90
 };
90
 };
91
 </script>
91
 </script>

+ 5
- 3
src/components/user/loginPage.vue View File

1
 <template>
1
 <template>
2
   <!-- eslint-disable max-len -->
2
   <!-- eslint-disable max-len -->
3
   <div class="login-page">
3
   <div class="login-page">
4
-    <form id="signIn" method="POST">
4
+    <form id="signIn">
5
       <div class="form">
5
       <div class="form">
6
         <div>
6
         <div>
7
           <h4>Login</h4>
7
           <h4>Login</h4>
42
       </div>
42
       </div>
43
     </form>
43
     </form>
44
 
44
 
45
-    <form id="forgot" method="post">
45
+    <form id="forgot">
46
       <div class="form">
46
       <div class="form">
47
         <h5>Trouble signing in?</h5>
47
         <h5>Trouble signing in?</h5>
48
         <div>
48
         <div>
79
       textErrors: 'Some error with the field',
79
       textErrors: 'Some error with the field',
80
       text: '',
80
       text: '',
81
       showPassword: false,
81
       showPassword: false,
82
+      password: '',
82
     };
83
     };
83
   },
84
   },
84
   methods: {
85
   methods: {
85
     Login() {
86
     Login() {
86
       console.log(this.username + this.password);
87
       console.log(this.username + this.password);
87
       axios
88
       axios
88
-        .post('http://localhost:57260/api/user', {
89
+        .post('http://localhost:57260/api/register/authenticate', {
89
           username: this.username,
90
           username: this.username,
90
           password: this.password,
91
           password: this.password,
91
         })
92
         })
92
         .then(response => console.log(response.data));
93
         .then(response => console.log(response.data));
94
+      this.$router.push('/about/us');
93
     },
95
     },
94
     togglePassword() {
96
     togglePassword() {
95
       this.showPassword = true;
97
       this.showPassword = true;

Loading…
Cancel
Save