Skip to content

Commit bbb07b6

Browse files
committed
finished newversioninfo
1 parent a1caee0 commit bbb07b6

File tree

7 files changed

+45
-17
lines changed

7 files changed

+45
-17
lines changed

src/assets/HTMLtag.png

8.37 KB
Loading

src/assets/add:removeChild.png

9.59 KB
Loading

src/assets/inputButton.png

8.01 KB
Loading

src/assets/palatte.png

-3.78 KB
Binary file not shown.

src/assets/plussign.png

6.92 KB
Loading

src/assets/tinypalatte.png

7.74 KB
Loading

src/components/right-sidebar/tutorial/NewVersionInfo.vue

Lines changed: 45 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
<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>
84

95
<p class="info-sub-heading">Drag and Drop for HTML Tags </p>
106
<p class="infoContent">Choose HTML tags to include in the component. Click on a tag and drag to the desired
@@ -13,11 +9,13 @@
139
<p class="info-sub-heading">Component Customization</p>
1410
<p class="infoContent">Assign a class to the HTML tag. To change the color of the component, click on the palette
1511
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">
1713
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.
2119
</p>
2220

2321
<p class="info-sub-heading">Added Scoped Tags</p>
@@ -27,29 +25,48 @@
2725
<p class="info-sub-heading">Add class, id, and v-model Attributes </p>
2826
<p class="infoContent">There are multiple ways to add attributes.
2927
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.
3336
</p>
3437

3538
<p class="info-sub-heading">Ability to Nest Components</p>
3639
<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>
3842
<q-btn class="tut-btn" color="secondary" id="advanced-btn" label="Advanced Functionality" @click="nextTab" />
39-
<q-btn></q-btn>
4043
</section>
4144
</template>
4245

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+
4360
<style scoped lang="scss">
44-
#basicFunctions {
61+
#newFeatures {
4562
display: flex;
4663
flex-direction: column;
4764
justify-content: center;
4865
align-items: center;
4966
margin: 10px;
5067
}
5168
52-
.tutorialHeading {
69+
.infoHeading {
5370
margin: .75rem;
5471
font-size: 2rem;
5572
padding-top: 15px;
@@ -62,6 +79,17 @@
6279
margin-bottom: 0px;
6380
}
6481
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+
6593
.infoContent {
6694
margin: .75rem;
6795
align-self: flex-start;

0 commit comments

Comments
 (0)