Skip to content

Commit

Permalink
Deploy storefront with dataviz page (#506)
Browse files Browse the repository at this point in the history
* remove generated files from repo

* test for all spellings of drafts

* ignore mdx since they’re edited on Github

* add route and metatitle

* update path to docs, update images
  • Loading branch information
vnys authored and wenche committed Aug 27, 2020
1 parent 2741c89 commit 40514c7
Show file tree
Hide file tree
Showing 59 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#*.mdx
*.mdx
README.md
2 changes: 1 addition & 1 deletion apps/figma-broker/actions/createFigmaImages.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export async function createFigmaImages(ctx) {
const exec = util.promisify(childProcess.exec)
// find all figma urls defined in storefront content files
const { stdout, stderr } = await exec(
`grep -rni "\\"https://www.figma" ./../storefront/src/content/* | awk -F"[\\"\\"]" '{print $2}' | sed "s/.*file//"`,
`grep -rni "\\"https://www.figma" ./../storefront/docs/* | awk -F"[\\"\\"]" '{print $2}' | sed "s/.*file//"`,
)

if (stderr) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Data visualisation
metaTitle: Data visualisation
mode: publish
route: /patterns/data-visualisation/
---

**Data visualisation is the graphical presentation of information in a way that makes it easier to understand and process. It is usually interactive and allows for the user to draw their own conclusions about the data. Some common data visualisation formats are tables, bar charts, line charts, scatterplots and maps.**
Expand Down

This file was deleted.

This file was deleted.

Binary file modified apps/storefront/src/assets/figma/0TbIXrrObWj80Cf7KucKYFL0.239_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/storefront/src/assets/figma/0bGXR2sCwMVSDNyyzu5BXrO5.142_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/storefront/src/assets/figma/0bGXR2sCwMVSDNyyzu5BXrO5.1_11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/storefront/src/assets/figma/0bGXR2sCwMVSDNyyzu5BXrO5.27_3.png
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export const Sidebar = ({ className, open, onClick }) => {
doc.route.replace(/^\/|\/$/g, '').split('/').length < 3

const handleDrafts = (doc) =>
!(process.env.GATSBY_STAGE === 'prod' && doc.mode === 'draft')
!(process.env.GATSBY_STAGE === 'prod' && doc.mode.toLowerCase() === 'draft')

const subMenus = useMemo(
() =>
Expand Down

0 comments on commit 40514c7

Please sign in to comment.