From 752b4c9c4f7b4ab096a6c0ffc22f5b6892283a25 Mon Sep 17 00:00:00 2001 From: Cole Bemis <colebemis@github.com> Date: Tue, 3 Sep 2019 10:52:37 -0700 Subject: [PATCH] Silly changes --- content/foo.mdx | 28 +++++++++++++++++++++++ src/@primer/gatsby-theme-doctocat/nav.yml | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 content/foo.mdx diff --git a/content/foo.mdx b/content/foo.mdx new file mode 100644 index 0000000..d9d0f3f --- /dev/null +++ b/content/foo.mdx @@ -0,0 +1,28 @@ +--- +title: Foo +status: Experimental +additionalContributors: + - ashygee +--- + +import {Box} from '@primer/components' +import {DoDont, Do, Dont} from '@primer/gatsby-theme-doctocat' + +Blah blah blah + +<Box p={3} bg="red.2"> + Hello world +</Box> + +<DoDont> + <Do src="https://user-images.githubusercontent.com/586552/63106528-06de5100-bf51-11e9-8a5e-98583ed74874.png"> + Use brief and direct communication + </Do> + <Dont src="https://user-images.githubusercontent.com/586552/63106527-06de5100-bf51-11e9-858c-72de6a5c728a.png"> + Don't use wordy and redundant copy + </Dont> +</DoDont> + +```jsx live +<button>Hello button</button> +``` diff --git a/src/@primer/gatsby-theme-doctocat/nav.yml b/src/@primer/gatsby-theme-doctocat/nav.yml index 321265b..d4d27fc 100644 --- a/src/@primer/gatsby-theme-doctocat/nav.yml +++ b/src/@primer/gatsby-theme-doctocat/nav.yml @@ -24,3 +24,5 @@ children: - title: Figma url: /tools/figma +- title: Foo + url: /foo -- GitLab