Skip to content

Commit 1150f3b

Browse files
committed
Link to blog and twitter
1 parent 48b929c commit 1150f3b

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

css/raw.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ main.-landing {
9292
.by-authors .authors {
9393
flex-direction: column;
9494
align-items: flex-start;
95-
margin-left: 20px;
9695
height: 27vw;
9796
justify-content: space-around;
9897
}

pages/index.js

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ class Index extends Component {
6363
const introPara = ReactDOM.findDOMNode(this.introPara)
6464
const logos = ReactDOM.findDOMNode(this.logos)
6565
const comingSoon = ReactDOM.findDOMNode(this.comingSoon)
66+
const links = ReactDOM.findDOMNode(this.links)
6667

6768
const headerStart = (window.screen.width > iPadMaxW
6869
? {
@@ -101,6 +102,9 @@ class Index extends Component {
101102
scale: 0.3,
102103
opacity: 0,
103104
})
105+
TweenLite.set(links, {
106+
opacity: 0,
107+
})
104108

105109
animation
106110
.delay(0.6) // wait for browser to not be busy. todo requestIdleCallback
@@ -125,6 +129,10 @@ class Index extends Component {
125129
scale: 1,
126130
ease: Power2.easeIn,
127131
})
132+
.to(links, 5, {
133+
opacity: 1,
134+
delay: 2,
135+
})
128136

129137
animation.play()
130138
}
@@ -393,6 +401,27 @@ class Index extends Component {
393401
</h2>
394402
<SubscribeForm />
395403
</Paper>
404+
<div
405+
style={{
406+
textAlign: 'center',
407+
marginTop: 20,
408+
marginBottom: 15,
409+
opacity: 0,
410+
}}
411+
ref={(links) => { this.links = links }}
412+
>
413+
<a
414+
href="https://blog.graphql.guide/"
415+
style={{ marginRight: 30 }}
416+
>
417+
Blog
418+
</a>
419+
<a
420+
href="https://twitter.com/graphqlguide"
421+
>
422+
Twitter
423+
</a>
424+
</div>
396425
</section>
397426
</main>
398427
</Ripple>

0 commit comments

Comments
 (0)