Skip to content

Commit 3d047a2

Browse files
authored
Streamline Ad (#823)
* Fix yarn install * Add Streamline ad
1 parent bf14c14 commit 3d047a2

5 files changed

Lines changed: 188 additions & 205 deletions

File tree

gatsby-config.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ module.exports = {
77
plugins: [
88
'gatsby-plugin-react-helmet',
99
'gatsby-plugin-theme-ui',
10-
{
11-
resolve: 'gatsby-plugin-manifest',
12-
options: {
13-
name: 'Feather',
14-
short_name: 'Feather',
15-
description: 'Simply beautiful open source icons',
16-
start_url: '/',
17-
theme_color: `#06f`,
18-
background_color: `#fff`,
19-
},
20-
},
10+
// {
11+
// resolve: 'gatsby-plugin-manifest',
12+
// options: {
13+
// name: 'Feather',
14+
// short_name: 'Feather',
15+
// description: 'Simply beautiful open source icons',
16+
// start_url: '/',
17+
// theme_color: `#06f`,
18+
// background_color: `#fff`,
19+
// },
20+
// },
2121
{
2222
resolve: 'gatsby-plugin-google-analytics',
2323
options: {

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"fuse.js": "3.4.5",
2424
"gatsby": "^2.17.11",
2525
"gatsby-plugin-google-analytics": "^2.1.25",
26-
"gatsby-plugin-manifest": "^2.2.27",
2726
"gatsby-plugin-react-helmet": "^3.1.14",
2827
"gatsby-plugin-theme-ui": "^0.2.43",
2928
"gatsby-source-filesystem": "^2.1.0",

src/components/Sidebar.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/** @jsx jsx */
22
import { jsx } from 'theme-ui'
33
import Customize from './Customize'
4-
import CarbonAd from './CarbonAd'
4+
import StreamlineAd from './StreamlineAd'
55

66
function Sidebar() {
77
return (
8-
<div sx={{ paddingY: 5, paddingX: 4 }}>
8+
<div sx={{ paddingY: 5, paddingX: 4, display: 'grid', gap: 6 }}>
99
<Customize />
10-
<CarbonAd sx={{ marginTop: 6 }} />
10+
<StreamlineAd />
1111
</div>
1212
)
1313
}

src/components/StreamlineAd.js

Lines changed: 167 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)