File tree Expand file tree Collapse file tree 2 files changed +28
-5
lines changed Expand file tree Collapse file tree 2 files changed +28
-5
lines changed Original file line number Diff line number Diff line change
1
+ <template >
2
+ <section >
3
+ <p >Probably better to explain what this is not. This is not a comprehensive tour of CSS Grid capabilities. It is a way for you to use CSS Grid features quickly.</p >
4
+ <h4 >Subheading</h4 >
5
+ <p >Lorem</p >
6
+ </section >
7
+ </template >
8
+
9
+ <script >
10
+ export default {};
11
+ </script >
12
+
13
+ <style lang="scss" scoped>
14
+ </style >
Original file line number Diff line number Diff line change 44
44
>
45
45
</fieldset >
46
46
47
- <button @click =" showModal = true" >Please may I have some code</button >
48
- <app-modal v-if =" showModal " @close =" showModal = false" >
47
+ <button @click =" showCodeModal = true" >Please may I have some code</button >
48
+ <app-modal v-if =" showCodeModal " @close =" showCodeModal = false" >
49
49
<h3 slot =" header" >Your Grid Code</h3 >
50
50
<div slot =" body" >
51
- <app-code :columns = " columns " :rows = " rows " :columngap = " columngap " :rowgap = " rowgap " />
51
+ <app-code />
52
52
</div >
53
53
</app-modal >
54
54
55
- <p class =" wat" >What does this project do?</p >
55
+ <p class =" wat" @click =" showExplainModal = true" >What does this project do?</p >
56
+ <app-modal v-if =" showExplainModal" @close =" showExplainModal = false" >
57
+ <h3 slot =" header" >Wat is this?</h3 >
58
+ <div slot =" body" >
59
+ <app-explain />
60
+ </div >
61
+ </app-modal >
56
62
</aside >
57
63
</template >
58
64
59
65
<script >
66
+ import AppExplain from " ./AppExplain.vue" ;
60
67
import AppModal from " ./AppModal.vue" ;
61
68
import AppCode from " ./AppCode.vue" ;
62
69
import { mapState } from " vuex" ;
63
70
64
71
export default {
65
72
components: {
73
+ AppExplain,
66
74
AppModal,
67
75
AppCode
68
76
},
69
77
data () {
70
78
return {
71
- showModal: false
79
+ showCodeModal: false ,
80
+ showExplainModal: false
72
81
};
73
82
},
74
83
methods: {
You can’t perform that action at this time.
0 commit comments