@burh/nuxt-core 1.0.82 → 1.0.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,62 +1,74 @@
1
1
  <template>
2
- <div>
3
- <modal :show.sync="show" class="modal modal-video">
4
- <template slot="header">
5
- <h5 class="modal-title">{{title}}</h5>
6
- </template>
7
- <hr class="mb-0 mt-4">
8
- <div class="footer text-center">
9
- <iframe width="810" height="540" :src=link frameborder="0" allowfullscreen class="rounded video--faq">
10
- </iframe>
11
- <div class="bottom-button" v-if="button">
12
- <button @click="$emit('clickVideo')" class="btn btn-success">{{button.text}}</button>
13
- </div>
14
- </div>
15
- </modal>
16
- </div>
2
+ <div>
3
+ <modal
4
+ :show.sync="show"
5
+ class="modal modal-video"
6
+ bodyClasses="container-fluid px-4"
7
+ headerClasses="container-fluid px-4"
8
+ >
9
+ <template slot="header">
10
+ <h5 class="display-4">{{ title }}</h5>
11
+ </template>
12
+ <div class="text-center my-4">
13
+ <iframe
14
+ width="100%"
15
+ height="540"
16
+ :src="link"
17
+ frameborder="0"
18
+ allowfullscreen
19
+ class="rounded"
20
+ >
21
+ </iframe>
22
+ <div class="bottom-button" v-if="button">
23
+ <button
24
+ @click="$emit('clickVideo')"
25
+ class="btn btn-success"
26
+ >
27
+ {{ button.text }}
28
+ </button>
29
+ </div>
30
+ </div>
31
+ </modal>
32
+ </div>
17
33
  </template>
18
34
 
19
35
  <script>
20
36
  export default {
21
- name: 'video-modal',
22
- props: {
23
- show: Boolean,
24
- link: String,
25
- title: String,
26
- button: Object
27
- },
28
- data() {
29
- return {
30
- videoModalProperties: {
31
- showModal: false
32
- },
33
- };
34
- },
35
- mounted(){
36
-
37
- },
37
+ name: "video-modal",
38
+ props: {
39
+ show: Boolean,
40
+ link: String,
41
+ title: String,
42
+ button: Object
43
+ },
44
+ data() {
45
+ return {
46
+ videoModalProperties: {
47
+ showModal: false
48
+ }
49
+ };
50
+ },
51
+ mounted() {}
38
52
  };
39
53
  </script>
40
54
  <style lang="scss">
41
- .pointer {
42
- cursor: pointer;
43
- }
44
- .custom-copy {
45
- box-shadow: none;
46
- }
47
- .video--faq{
48
- box-shadow: 0 0 1em black;
49
- }
50
- .modal-header{
51
- padding-bottom: 0;
52
- }
53
- .modal-body{
54
- padding: 0;
55
- }
55
+ .pointer {
56
+ cursor: pointer;
57
+ }
58
+ .custom-copy {
59
+ box-shadow: none;
60
+ }
61
+
62
+ .modal-header {
63
+ padding-bottom: 0;
64
+ }
65
+ .modal-body {
66
+ padding: 0;
67
+ }
56
68
 
57
- .modal-video {
58
- .modal-dialog{
59
- min-width: 60rem;
60
- }
69
+ .modal-video {
70
+ .modal-dialog {
71
+ min-width: 60rem;
61
72
  }
73
+ }
62
74
  </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burh/nuxt-core",
3
- "version": "1.0.82",
3
+ "version": "1.0.84",
4
4
  "description": "Design System and Components.",
5
5
  "author": "Burh",
6
6
  "scripts": {