Skip to content

Commit 0d840dd

Browse files
committed
mess around with splash
1 parent 2038cab commit 0d840dd

File tree

3 files changed

+19
-6
lines changed

3 files changed

+19
-6
lines changed

site/_core/HeaderLinks.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ var React = require('react');
1010

1111
var HeaderLinks = React.createClass({
1212
linksInternal: [
13-
{section: 'docs', text: 'Docs', href: '/docs/getting-started/' },
14-
{section: 'blog', text: 'Blog', href: '/blog/' },
15-
{section: 'help', text: 'Help', href: '/help/' },
13+
{section: 'docs', text: 'Learn', href: '/docs/getting-started/' },
1614
{section: 'code', text: 'Code', href: '/code/' },
15+
{section: 'help', text: 'Community', href: '/help/' },
16+
{section: 'blog', text: 'Blog', href: '/blog/' },
1717
],
1818
linksExternal: [
1919
{section: 'spec', text: 'Spec', href: 'http://facebook.github.io/graphql/' },

site/css/graphql.css

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,21 @@ h1:hover .hash-link, h2:hover .hash-link, h3:hover .hash-link, h4:hover .hash-li
285285

286286
.hero {
287287
background: #2d2d2d;
288-
padding: 50px 0;
289288
color: #f8f8f8;
290-
font-weight: 300;
289+
height: 80vh;
290+
display: flex;
291+
align-items: center;
292+
justify-content: center;
293+
flex-direction: column;
294+
}
295+
296+
.hero .content {
297+
margin: 30px;
298+
}
299+
300+
.hero .main-logo {
301+
margin: 0 auto;
302+
display: block;
291303
}
292304

293305
.hero .text {

site/index.html.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ var index = React.createClass({
88
return (
99
<Site>
1010
<div className="hero">
11-
<div className="wrap">
11+
<div className="content">
12+
<img className="main-logo" src={'/img/logo.svg'} width="240" height="240" />
1213
<h1 className="text"><strong>GraphQL</strong></h1>
1314
<h2 className="minitext">
1415
{SiteData.description}

0 commit comments

Comments
 (0)