-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
53 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
extends index | ||
|
||
block append pageVariables | ||
- var pageTitle = componentGroup.docs && componentGroup.docs.attributes.title || componentGroup.group.id | ||
- var moduleTitle = pageTitle + ' - Styleguide' | ||
|
||
block content | ||
|
||
if !componentGroup.docs | ||
h1.br-componentgroup-header(class=styleguideComponentGroupHeaderClass)= componentGroup.group.id | ||
else | ||
h1.br-componentgroup-header(class=styleguideComponentGroupHeaderClass)= componentGroup.docs.attributes.title || componentGroup.group.id | ||
.br-content(class=styleguideRichContentClass) | ||
!= componentGroup.docs.body | ||
|
||
each component in componentGroup.components | ||
+sample(component) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
extends index | ||
|
||
block append pageVariables | ||
- var moduleTitle = doc.attributes.title + ' - Styleguide' | ||
|
||
block content | ||
!= doc.body |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
extends /templates/_layouts/master | ||
|
||
block append pageVariables | ||
- var htmlClass = 'br-styleguide br-styleguide-default-styles-active' | ||
|
||
block body | ||
|
||
.br-styleguide-container | ||
.br-styleguide-container-inner | ||
.br-styleguide-navigation-holder | ||
unless styleguideHideBrand | ||
h1.br-styleguide-brand-heading(class=styleguideBrandClass) | ||
a.br-reset-link-styling(href="/styleguide" class=styleguideResetLinkStylingClass) #{projectTitle} | ||
|
||
block nav | ||
include ../includes/styleguide-nav | ||
|
||
.br-styleguide-content | ||
.br-styleguide-content-inner | ||
block content | ||
block homeContent | ||
// Place style guide introduction here. By default redirects to first docs page. | ||
script. | ||
window.location = "/styleguide/docs/introduction.html" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters