Skip to content

Commit c6485c8

Browse files
piehKyleAMathews
authored andcommitted
[v1] site updates for v2 release (#8226)
* v2 is published, swap banner text/links * don't index v1 pages anymore
1 parent 3207a22 commit c6485c8

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

www/src/layouts/index.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ class DefaultLayout extends React.Component {
137137
<html lang="en" />
138138
</Helmet>
139139
<Banner background={isHomepage ? `#402060` : false}>
140-
Gatsby v2 is now in beta!{` `}
140+
These are the docs for v1.{` `}
141141
<OutboundLink
142-
href="https://next.gatsbyjs.org/"
142+
href="https://gatsbyjs.org/"
143143
css={{
144144
color: `#fff`,
145145
}}
@@ -151,8 +151,7 @@ class DefaultLayout extends React.Component {
151151
<div
152152
className={hasSidebar ? `main-body has-sidebar` : `main-body`}
153153
css={{
154-
paddingTop: isHomepage
155-
? 0 : presets.bannerHeight,
154+
paddingTop: isHomepage ? 0 : presets.bannerHeight,
156155
[presets.Tablet]: {
157156
margin: `0 auto`,
158157
paddingTop: isHomepage

www/static/robots.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
User-agent: *
2+
Disallow: /

0 commit comments

Comments
 (0)