Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the names of Navbar for Navigation Bar in snippets | Fixes #1128 #1137

Merged
merged 1 commit into from
Aug 31, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions clayui.com/content/docs/components/navigation/navbar.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ A navigation bar, navbar, is an horizontal bar that provides several access poin
</nav>

```soy
{call ClayNavbar.render}
{call ClayNavigationBar.render}
{param items: [
[
'title': 'App Section 1',
Expand Down Expand Up @@ -97,7 +97,7 @@ A navigation bar, navbar, is an horizontal bar that provides several access poin
{/call}
```
```html
<clay-navbar
<clay-navigation-bar
items='[
{"title": "App Section 1", "url": "#1"},
{"title": "App Section 2", "url": "#1"},
Expand All @@ -108,7 +108,7 @@ A navigation bar, navbar, is an horizontal bar that provides several access poin
{"title": "App Section 7", "url": "#1"}
]'
spritemap="/images/icons/icons.svg">
</clay-navbar>
</clay-navigation-bar>
```
```html
<nav class="navbar navbar-collapse-absolute navbar-expand-md navbar-underline navigation-bar navigation-bar-light">
Expand Down Expand Up @@ -213,7 +213,7 @@ A navigation bar, navbar, is an horizontal bar that provides several access poin
</nav>

```soy
{call ClayNavbar.render}
{call ClayNavigationBar.render}
{param inverted: true /}
{param items: [
[
Expand Down Expand Up @@ -250,7 +250,7 @@ A navigation bar, navbar, is an horizontal bar that provides several access poin
{/call}
```
```html
<clay-navbar
<clay-navigation-bar
inverted="true"
items='[
{"title": "App Section 1", "url": "#1"},
Expand All @@ -262,7 +262,7 @@ A navigation bar, navbar, is an horizontal bar that provides several access poin
{"title": "App Section 7", "url": "#1"}
]'
spritemap="/images/icons/icons.svg">
</clay-navbar>
</clay-navigation-bar>
```
```html
<nav class="navbar navbar-collapse-absolute navbar-expand-md navbar-underline navigation-bar navigation-bar-secondary">
Expand Down