Skip to content

Commit 2a8a7d5

Browse files
committed
landing page updated with logo and links to github-- updated HTML queue and other displays to show the active component for clarity
1 parent d4c8219 commit 2a8a7d5

File tree

7 files changed

+66
-10
lines changed

7 files changed

+66
-10
lines changed

src/assets/gear.png

1.03 KB
Loading

src/assets/overvue_layeredlogo.png

314 KB
Loading

src/components/dashboard_items/ComponentDetails.vue

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ Description:
3333
</q-tab-panel>
3434
<q-tab-panel name="state">
3535
<p v-if="!this?.activeComponentObj?.state?.length">
36-
No state in component.
36+
{{this.activeComponent ? `No state in ${this.activeComponent}` : 'Select a component.' }}
37+
</p>
38+
<p v-else>
39+
State in {{this.activeComponent}}:
3740
</p>
3841
<ul id="stateList">
3942
<li v-for="comp in compObj.state" :key="comp">
@@ -43,7 +46,10 @@ Description:
4346
</q-tab-panel>
4447
<q-tab-panel name="actions">
4548
<p v-if="!this?.activeComponentObj?.actions?.length">
46-
No actions in component
49+
{{this.activeComponent ? `No actions in ${this.activeComponent}` : 'Select a component.' }}
50+
</p>
51+
<p v-else>
52+
Actions in {{this.activeComponent}}:
4753
</p>
4854
<ul id="actionList">
4955
<li v-for="comp in compObj?.actions" :key="comp">
@@ -53,7 +59,10 @@ Description:
5359
</q-tab-panel>
5460
<q-tab-panel name="props">
5561
<p v-if="!this?.activeComponentObj?.props?.length">
56-
No props in component
62+
{{this.activeComponent ? `No props in ${this.activeComponent}` : 'Select a component.' }}
63+
</p>
64+
<p v-else>
65+
Props in {{this.activeComponent}}:
5766
</p>
5867
<ul id="propsList">
5968
<li v-for="comp in compObj?.props" :key="comp">

src/components/dashboard_items/HTMLQueue.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Description:
99
<span class='list-title' v-if='this.activeLayer.id !== ""'>
1010
<i class="fas fa fa-chevron-up fa-md" @click="setParentLayer"></i>
1111
<!-- <button v-if='this.activeLayer.id' @click="upOneLayer">Up</button> -->
12-
&nbsp; &nbsp; Viewing Elements in '{{ depth }}'
12+
&nbsp; &nbsp; Viewing Elements in {{this.activeComponent}} '{{ depth }}'
1313
<hr>
1414
</span>
1515
<span class='list-title' v-else-if='!this.activeComponent'></span>

src/components/dashboard_items/tutorial/AdvancedFunctions.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ export default {
3232
3333
.tutorialHeading {
3434
margin: .75rem;
35+
font-size: 2rem;
36+
padding-top: 15px;
3537
}
3638
3739
.tutorialContent {

src/components/dashboard_items/tutorial/BasicFunctions.vue

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
<template>
22
<!--Basic functionality here, add component, copy/paste, undo/redo, add html, saving, loading, exporting-->
33
<section id="basicFunctions">
4-
<h6 class="tutorialHeading">Basic Functions Here!</h6>
5-
<p class="tutorialContent">Explain some basic functionality here</p>
4+
<h6 class="tutorialHeading">Getting Started in OverVue</h6>
5+
<p class="tutorialContent">Prototyping in OverVue is designed to be quick and efficient. Learning how to use OverVue will help
6+
you to integrate this tool into your design process for creating Vue applications.
7+
</p>
8+
<p class="tutorialContent">If you ever want to navigate back to this page, click the gear icon<img style="vertical-align:middle" alt="Gear" src="../../../assets/gear.png" id="tut-image"> in the top right and select "Getting Started"
9+
to return to the landing page.
10+
</p>
611
<q-btn
712
class="tut-btn"
813
color="secondary"
@@ -26,7 +31,7 @@ export default {
2631
}
2732
</script>
2833

29-
<style scoped>
34+
<style scoped lang="scss">
3035
#basicFunctions{
3136
display: flex;
3237
flex-direction: column;
@@ -36,10 +41,14 @@ export default {
3641
3742
.tutorialHeading {
3843
margin: .75rem;
44+
font-size: 2rem;
45+
padding-top: 15px;
3946
}
4047
4148
.tutorialContent {
4249
margin: .75rem;
50+
align-self: flex-start;
51+
font-size: 1rem;
4352
}
4453
4554
.tut-btn {
@@ -48,4 +57,8 @@ export default {
4857
min-height: 42px;
4958
height: auto;
5059
}
60+
61+
.tut-image {
62+
border: 1px solid white;
63+
}
5164
</style>

src/components/dashboard_items/tutorial/Landing.vue

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,75 @@
11
<template>
22
<!--Landing page-->
33
<section id="welcomeTab">
4-
<h6 class="tutorialHeading">Welcome to OverVue!</h6>
4+
<h6 class="tutorialHeading">Welcome to</h6>
5+
<img alt="OverVue" src="../../../assets/overvue_layeredlogo.png" id="logo">
6+
<q-btn
7+
class="tut-btn"
8+
color="secondary"
9+
label="What's New in 6.0"
10+
@click="openUrl('https://github.com/open-source-labs/OverVue#changelog-50')"
11+
/>
12+
<q-btn
13+
class="tut-btn"
14+
color="secondary"
15+
label="View the Readme"
16+
@click="openUrl('https://github.com/open-source-labs/OverVue#readme')"
17+
/>
18+
<p id="new-text">New to OverVue?</p>
519
<q-btn
620
class="tut-btn"
721
color="secondary"
8-
label="Learn More"
22+
label="Explore Functionality"
923
@click="nextTab"
1024
/>
25+
<p id="new-text"></p>
1126
<q-btn
1227
class="tut-btn closeAction"
13-
label="Close Tutorial"
28+
label="Close"
1429
@click="toggleTutorial"
1530
/>
1631
</section>
1732
</template>
1833

1934
<script>
35+
const { ipcRenderer, shell } = window;
2036
import { mapActions } from 'vuex';
2137
export default {
2238
emits: ['nextTab'],
2339
methods: {
2440
...mapActions(["toggleTutorial"]),
2541
nextTab(){
2642
this.$emit('nextTab')
43+
},
44+
openUrl(url){
45+
shell.openExternal(url, { activate: true });
2746
}
2847
}
2948
}
3049
</script>
3150

3251
<style lang="scss" scoped>
52+
#logo{
53+
width: 325px;
54+
height: 325px;
55+
}
56+
57+
58+
p{
59+
margin-top: 12px;
60+
margin-bottom: 0px;
61+
}
3362
#welcomeTab{
3463
display: flex;
3564
flex-direction: column;
3665
justify-content: center;
3766
align-items: center;
3867
}
68+
3969
.tutorialHeading {
4070
margin: .75rem;
71+
font-size: 2rem;
72+
padding-top: 15px;
4173
}
4274
4375
.tutorialContent {

0 commit comments

Comments
 (0)