Skip to content

Commit

Permalink
Add download and copy buttons to Octicons website (#381)
Browse files Browse the repository at this point in the history
* Add download and copy buttons

* Stack buttons on mobile
  • Loading branch information
colebemis authored Mar 8, 2020
1 parent e4f54e4 commit 40b9e1b
Show file tree
Hide file tree
Showing 5 changed files with 730 additions and 44 deletions.
2 changes: 1 addition & 1 deletion docs/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const path = require('path')
const icons = require('../lib/build/data.json')

exports.createPages = async ({actions}) => {
const iconPageTemplate = path.resolve(__dirname, 'src/templates/icon-page.mdx')
const iconPageTemplate = path.resolve(__dirname, 'src/templates/icon-page.js')

for (const icon of Object.values(icons)) {
actions.createPage({
Expand Down
Loading

1 comment on commit 40b9e1b

@vercel
Copy link

@vercel vercel bot commented on 40b9e1b Mar 8, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.