From 288932a09cda5a8423ce8ee14dce7f95cf8a029c Mon Sep 17 00:00:00 2001 From: BcRikko Date: Sat, 23 Feb 2019 17:47:18 +0900 Subject: [PATCH] docs: add badge samples --- docs/index.html | 2 +- docs/script.js | 55 +++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 50 insertions(+), 7 deletions(-) diff --git a/docs/index.html b/docs/index.html index 1bc6710..566bf72 100644 --- a/docs/index.html +++ b/docs/index.html @@ -71,7 +71,7 @@

#Installation

-

NES.css is available via either npm (preferred) or Yarn, or a CDN.

+

NES.css is available via either npm or Yarn, or a CDN.

Please read README.md.

diff --git a/docs/script.js b/docs/script.js index 8c92411..2d05e8e 100644 --- a/docs/script.js +++ b/docs/script.js @@ -323,6 +323,49 @@ const sampleCollection = [ `, + }, + { + title: 'badges', + showCode: false, + code: ` + NES.css + + + + is + + + + a + + + + great + + + + framework! + + + + npm + 1.1.0 + + + + test + 100% + + + + + Icons + + + + hi + Text +`, }, { title: 'reaction-icons', @@ -394,14 +437,14 @@ const sampleCollection = [ description: 'If you wanto to change icon size, please use "is-small", "is-medium" and "is-large".', code: `
- - + + - - + + - - + +
`, }, {