|
1 | 1 | <template> |
2 | | - <section id="new features"> |
3 | | - <h6 class="feature list">What's New?</h6> |
4 | | - |
5 | | - <p class="info-sub-heading">More Semantic HMTL</p> |
6 | | - <p class="infoContent"> <img style="vertical-align:middle" alt="save" src="../../../assets/save.png" |
7 | | - class="tut-image"> Click on Create Component to access the list of HTML tags </p> |
| 2 | + <section id="newFeatures"> |
| 3 | + <h6 class="infoHeading">What's New?</h6> |
8 | 4 |
|
9 | 5 | <p class="info-sub-heading">Drag and Drop for HTML Tags </p> |
10 | 6 | <p class="infoContent">Choose HTML tags to include in the component. Click on a tag and drag to the desired |
|
13 | 9 | <p class="info-sub-heading">Component Customization</p> |
14 | 10 | <p class="infoContent">Assign a class to the HTML tag. To change the color of the component, click on the palette |
15 | 11 | icon |
16 | | - <img style="vertical-align:middle" alt="save" src="../../../assets/palatte.png" class="tut-image"> |
| 12 | + <img style="vertical-align:middle" alt="save" src="../../../assets/tinypalatte.png" class="tut-image"> |
17 | 13 | in the top left corner of the component. To alter the size of the component, click and drag on the white |
18 | | - squares surrounding the component. To access advanced styling options, double click the Purple HTML button. Here, |
19 | | - you may freely place the HTML elements. <img style="vertical-align:middle" alt="save" |
20 | | - src="../../../assets/zindex-1.png" class="tut-image">There is also an option to change the z-index. |
| 14 | + squares surrounding the component. <br> To access advanced styling options, double click the purple HTML <img |
| 15 | + style="vertical-align:middle" alt="save" src="../../../assets/HTMLtag.png" class="html-tag"> button. Here, you |
| 16 | + may freely adjust the Purple HTML elements to your liking. |
| 17 | + <br> <img style="vertical-align:middle" alt="save" src="../../../assets/zindex-1.png" class="z-index"> |
| 18 | + There is also an option to change the z-index. |
21 | 19 | </p> |
22 | 20 |
|
23 | 21 | <p class="info-sub-heading">Added Scoped Tags</p> |
|
27 | 25 | <p class="info-sub-heading">Add class, id, and v-model Attributes </p> |
28 | 26 | <p class="infoContent">There are multiple ways to add attributes. |
29 | 27 | One method is to click on the HTML Attributes drop down button. Specify the attribute by selecting either id or |
30 | | - class. Click the + or enter to apply the attribute. <br> |
31 | | - Another method is to double click the HTML tag. Above the styling options are inputs for class, two-way binding, |
32 | | - and inner text. Make sure to click on the submit icon located inside the input to apply your changes. |
| 28 | + class. Click the <img style="vertical-align:middle" alt="save" src="../../../assets/plussign.png" |
| 29 | + class="tut-image"> or enter to apply the attribute. <br> |
| 30 | + Another method is to double click the purple HTML tag.<img style="vertical-align:middle" alt="save" |
| 31 | + src="../../../assets/HTMLtag.png" class="html-tag"> |
| 32 | + Above the styling options are inputs for class, two-way |
| 33 | + binding, |
| 34 | + and inner text. Make sure to click on the submit icon <img style="vertical-align:middle" alt="save" |
| 35 | + src="../../../assets/inputButton.png" class="tut-image"> located inside the input to apply your changes. |
33 | 36 | </p> |
34 | 37 |
|
35 | 38 | <p class="info-sub-heading">Ability to Nest Components</p> |
36 | 39 | <p class="infoContent">Create a new component. Navigate to the component you wish to be the parent, and add the |
37 | | - child component to the drop down button of Add/remove children. </p> |
| 40 | + child component to the drop down button of <img style="vertical-align:middle" alt="save" |
| 41 | + src="../../../assets/add:removeChild.png" class="z-index"> Add/remove children. </p> |
38 | 42 | <q-btn class="tut-btn" color="secondary" id="advanced-btn" label="Advanced Functionality" @click="nextTab" /> |
39 | | - <q-btn></q-btn> |
40 | 43 | </section> |
41 | 44 | </template> |
42 | 45 |
|
| 46 | +<script> |
| 47 | +import { mapActions } from 'vuex'; |
| 48 | +
|
| 49 | +export default { |
| 50 | + emits: ['nextTab'], |
| 51 | + methods: { |
| 52 | + ...mapActions(["toggleTutorial"]), |
| 53 | + nextTab() { |
| 54 | + this.$emit('nextTab') |
| 55 | + } |
| 56 | + } |
| 57 | +} |
| 58 | +</script> |
| 59 | + |
43 | 60 | <style scoped lang="scss"> |
44 | | -#basicFunctions { |
| 61 | +#newFeatures { |
45 | 62 | display: flex; |
46 | 63 | flex-direction: column; |
47 | 64 | justify-content: center; |
48 | 65 | align-items: center; |
49 | 66 | margin: 10px; |
50 | 67 | } |
51 | 68 |
|
52 | | -.tutorialHeading { |
| 69 | +.infoHeading { |
53 | 70 | margin: .75rem; |
54 | 71 | font-size: 2rem; |
55 | 72 | padding-top: 15px; |
|
62 | 79 | margin-bottom: 0px; |
63 | 80 | } |
64 | 81 |
|
| 82 | +.html-tag { |
| 83 | + margin: 4px; |
| 84 | + max-width: 150px; |
| 85 | +} |
| 86 | +
|
| 87 | +.z-index { |
| 88 | + margin: 4px; |
| 89 | + border: 1px solid $primary; |
| 90 | + max-width: 200px; |
| 91 | +} |
| 92 | +
|
65 | 93 | .infoContent { |
66 | 94 | margin: .75rem; |
67 | 95 | align-self: flex-start; |
|
0 commit comments