Skip to content

Commit 5d30e35

Browse files
authored
Tweak homepage (#460)
1 parent 4e0bad1 commit 5d30e35

File tree

3 files changed

+38
-36
lines changed

3 files changed

+38
-36
lines changed

src/components/SiteFooter.js

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,34 +12,38 @@ const SiteFooter = () => {
1212
<h6>PostGraphile</h6>
1313
<ul>
1414
<li>
15-
<Link to="/postgraphile/introduction/">Documentation</Link>
15+
<a href="https://postgraphile.org/postgraphile/5/">
16+
Documentation
17+
</a>
1618
</li>
1719
<li>
18-
<Link to="/postgraphile/">About</Link>
20+
<a href="https://postgraphile.org">About</a>
1921
</li>
2022
<li>
21-
<Link to="/postgraphile/community-plugins/">
23+
<a href="https://postgraphile.org/postgraphile/5/community-plugins">
2224
Community Plugins
23-
</Link>
25+
</a>
2426
</li>
2527
<li>
26-
<a href="https://github.com/graphile/postgraphile/releases">
27-
<i className="fab fa-github" /> Changelog
28-
</a>
28+
<a href="https://postgraphile.org/news">News</a>
2929
</li>
3030
</ul>
3131
</div>
3232
<div className="col-xs-12 col-md-2 nested-list-reset ">
3333
<h6>Graphile Engine</h6>
3434
<ul>
3535
<li>
36-
<Link to="/graphile-build/getting-started/">Documentation</Link>
36+
<a href="https://build.graphile.org/graphile-build/5/">
37+
Documentation
38+
</a>
3739
</li>
3840
<li>
39-
<Link to="/graphile-build/">About</Link>
41+
<a href="https://build.graphile.org/">About</a>
4042
</li>
4143
<li>
42-
<Link to="/graphile-build/plugins/">Plugins</Link>
44+
<a href="https://build.graphile.org/graphile-build/5/plugins">
45+
Plugins
46+
</a>
4347
</li>
4448
</ul>
4549
</div>
@@ -66,11 +70,6 @@ const SiteFooter = () => {
6670
<i className="fab fa-mastodon" /> Mastodon
6771
</a>
6872
</li>
69-
<li>
70-
<a href="https://twitter.com/graphilehq">
71-
<i className="fab fa-twitter" /> Twitter
72-
</a>
73-
</li>
7473
<li>
7574
<a href="https://www.youtube.com/channel/UCPPQNCaD8ukbb5gp1KrYMqA">
7675
<i className="fa fa-play" /> Youtube
@@ -82,25 +81,26 @@ const SiteFooter = () => {
8281
</Link>
8382
</li>
8483
<li>
85-
<a to="https://learn.graphile.org/">
84+
<a href="https://learn.graphile.org/">
8685
<i className="fas fa-graduation-cap" /> Learn
8786
</a>
8887
</li>
8988
</ul>
9089
</div>
9190
<div className="col-xs-12 col-md-offset-1 col-md-5">
9291
<h6>About</h6>
93-
PostGraphile and Graphile Build are crowd-funded Open Source
94-
Software, developed and maintained primarily by{" "}
92+
PostGraphile, Gra<em>fast</em> and all of the Graphile suite of
93+
tools are crowd-funded Open Source Software, developed and
94+
maintained primarily by{" "}
9595
<a href="https://twitter.com/benjie">@Benjie</a> with the help of
9696
the community.
9797
<br />
9898
<br />
9999
You can support the projects via{" "}
100100
<Link to="/sponsor/">sponsorship</Link>, by{" "}
101-
<Link to="/postgraphile/pricing/">going Pro</Link>, or by paying for{" "}
102-
<Link to="/support/">Professional Services</Link>. Your support is
103-
gratefully received 🙏
101+
<a href="https://postgraphile.org/pricing">going Pro</a>, or by
102+
paying for <Link to="/support/">Professional Services</Link>. Your
103+
support is gratefully received 🙏
104104
<br />
105105
<br />
106106
This site is copyright &copy; Benjie Gillam {currentYear}. Design

src/components/SiteHeader.js

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export default class SiteHeader extends React.Component {
160160
/>
161161

162162
{/* PostGraphile pages */}
163-
163+
{/*
164164
<Route
165165
path={POSTGRAPHILE_ROUTES}
166166
render={() => (
@@ -211,6 +211,7 @@ export default class SiteHeader extends React.Component {
211211
</li>
212212
)}
213213
/>
214+
*/}
214215
<Route
215216
path={POSTGRAPHILE_ROUTES}
216217
render={() => (
@@ -245,6 +246,7 @@ export default class SiteHeader extends React.Component {
245246
</li>
246247
)}
247248
/>
249+
{/*}
248250
<Route
249251
path={POSTGRAPHILE_ROUTES}
250252
render={() => (
@@ -263,10 +265,10 @@ export default class SiteHeader extends React.Component {
263265
</Link>
264266
</li>
265267
)}
266-
/>
268+
/>*/}
267269

268270
{/* Graphile-build pages */}
269-
271+
{/*
270272
<Route
271273
path="/graphile-build"
272274
render={() => (
@@ -312,7 +314,8 @@ export default class SiteHeader extends React.Component {
312314
</Link>
313315
</li>
314316
)}
315-
/>
317+
/>*/}
318+
316319
{/* News pages */}
317320

318321
<Route
@@ -352,7 +355,7 @@ export default class SiteHeader extends React.Component {
352355
)}
353356
/>
354357
{/* FIN */}
355-
358+
{/*
356359
<li className="navbar-item ml-auto navbar-item-right">
357360
<span className="searchbox-container">
358361
<input
@@ -363,7 +366,8 @@ export default class SiteHeader extends React.Component {
363366
<span className="fas fa-search searchbox-search" />
364367
</span>
365368
</li>
366-
<li className="navbar-item navbar-item-right">
369+
*/}
370+
<li className="navbar-item ml-auto navbar-item-right">
367371
<Link
368372
className={`nav-link ${
369373
location.pathname.match(/^\/support(\/|$)/)

src/pages/index.mdx

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,15 @@ name={<span>Introducing Gra<em>fast</em>!</span>}
3535
headline="The next-generation planning and execution engine for GraphQL"
3636
>
3737

38+
<h4>Now production-ready with the release of version 1.0</h4>
39+
3840
Enables greater performance and efficiency via deeper integration into your existing Node.js or remote business logic, no matter the shape of your GraphQL schema.
3941

40-
**[Gra<em>fast</em>](https://grafast.org) and [PostGraphile V5](https://postgraphile.org) are in beta, funded by the Graphile community.**
42+
**[Gra<em>fast</em>](https://grafast.org) is funded by the Graphile community.**
4143

4244
<div class='df flex-row justify-center' style={{height: '3rem'}}>
4345
<div class='ph2 df flex-column justify-center'>
44-
<a class='button--outline' href='/sponsor/'><span class='fas fa-heart' /> Support Grafast</a>{ ' '}
46+
<a class='button--outline' href='https://grafast.org'><span class='fas fa-bolt' /> Get Started</a>{ ' '}
4547
</div>
4648
</div>
4749
</MarketingProduct>
@@ -96,15 +98,12 @@ Migrate.
9698
</Col>
9799
</Flex>
98100

99-
### Extensible high-performance automatic GraphQL API for PostgreSQL
101+
### Extensible high-performance GraphQL APIs backed primarily by PostgreSQL
100102

101103

102104
<div class='df flex-row justify-center' style={{height: '3rem'}}>
103105
<div class='ph2 df flex-column justify-center'>
104-
<a class='button--outline' href='/postgraphile/introduction/'><span class='fas fa-book-open' /> V4 Documentation</a>{ ' '}
105-
</div>
106-
<div class='ph2 df flex-column justify-center'>
107-
<a class='button--solid' href='https://postgraphile.org'>PostGraphile.org (V5)</a>{ ' '}
106+
<a class='button--solid' href='https://postgraphile.org'><span class='fas fa-book-open' /> Documentation</a>{ ' '}
108107
</div>
109108
<div class='ph2 df h-100 flex-column justify-center'>
110109
<GitHubButton
@@ -213,8 +212,7 @@ class='mw5 pt4'
213212
big
214213
name="Graphile Build"
215214
headline="Build high-performance easily-extensible GraphQL schemas by combining plugins"
216-
docs="/graphile-build/getting-started/"
217-
more="/graphile-build/"
215+
docs="https://build.graphile.org/graphile-build/4/getting-started"
218216
>
219217

220218
Graphile Build is the database-independent heart of PostGraphile — it's an

0 commit comments

Comments
 (0)