Bruce Lywood 5 lat temu
rodzic
commit
0e6682a566

+ 6
- 4
src/components/shared/footerSection.vue Wyświetl plik

@@ -22,10 +22,12 @@
22 22
               <div class="w-footer-a">
23 23
                 <ul class="list-unstyled">
24 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 27
                   </li>
27 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 31
                   </li>
30 32
                 </ul>
31 33
               </div>
@@ -56,8 +58,8 @@
56 58
                     </li>
57 59
                     <br />
58 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 63
                       </a>
62 64
                     </li>
63 65
                   </ul>

+ 8
- 8
src/components/timeshare/buy/buyPage.vue Wyświetl plik

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

+ 5
- 3
src/components/user/loginPage.vue Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz