Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Feb 26, 2020. It is now read-only.

Commit 21f3cb1

Browse files
committed
home and intro - minor updates
1 parent 4848a51 commit 21f3cb1

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed

‎src/components/home.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@
4747
Functional out-of-the-box, but easy to customize.
4848
</p>
4949

50-
<iframe width="560" height="315" src="https://www.youtube.com/embed/Cdr1ClG5Nh8" frameborder="0" allowfullscreen></iframe>
51-
5250
<h3>Features</h3>
5351
<div class="features-list">
5452

‎src/components/intro.vue

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,25 @@
99
methods: {
1010
introCallback (action) {
1111
if (action === 'getting-started') { this.gettingStarted() }
12+
if (action === 'features') { this.features() }
1213
},
1314
gettingStarted () {
15+
this.$router.push('getting-started')
1416
TweenMax.to(document.getElementById('intro'), 1, {
1517
top: -window.innerHeight,
1618
ease: Power3.easeInOut,
1719
onComplete: () => {
18-
// document.getElementById('intro').style.display = 'none'
20+
document.getElementById('intro').style.display = 'none'
21+
}
22+
})
23+
},
24+
features () {
25+
this.$router.push('/')
26+
TweenMax.to(document.getElementById('intro'), 1, {
27+
top: -window.innerHeight,
28+
ease: Power3.easeInOut,
29+
onComplete: () => {
30+
document.getElementById('intro').style.display = 'none'
1931
}
2032
})
2133
}
@@ -36,6 +48,7 @@
3648
#canvasIntro {
3749
height: 100%;
3850
width: 100%;
51+
background-color: $white;
3952
}
4053
}
4154
</style>

‎src/index.vue

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
<script>
22
import nav from './components/nav.vue'
33
import intro from './components/intro.vue'
4+
import logo from 'images/logo.png'
45
56
export default {
67
components: {
78
intro,
89
navBar: nav
910
},
11+
data () {
12+
return {
13+
logo: logo
14+
}
15+
},
1016
mounted () {
1117
// Lets redirect to path
1218
if (this.$route.query.p) {
@@ -25,6 +31,7 @@
2531
<div class="app">
2632
<intro />
2733
<div class="header" :class="{'large': isHome}">
34+
<div class="logo"><img :src="logo" />ue Build</div>
2835
<div class="tagline">Taking the frustrating build process and clutter out of your application</div>
2936
</div>
3037
<div class="container">

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /