Skip to content

Commit

Permalink
Fix broken links and SEO issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ediblecode committed Aug 16, 2016
1 parent ab3eaf1 commit 108e4e2
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 20 deletions.
3 changes: 0 additions & 3 deletions web/server/views/about/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,6 @@
<p>
A set of guidelines for how components should be used and a set of templates. An up-to-date source of truth to ensure consistency of use across.
</p>
<p>
<a class="btn btn--secondary" href="/todo">Browse templates</a>
</p>
</div>

</div>
Expand Down
10 changes: 2 additions & 8 deletions web/server/views/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,9 @@

<div class="grid">

{{ item("Syntax", "/sass/syntax", "Syntax, formatting, conventions and code structure") }}
{{ item("Code standards", "/sass/code-standards", "SASS code standards and code style guide") }}

{{ item("Naming", "/sass/naming", "Variable naming and BEM convention") }}

{{ item("Layout", "/sass/grid", "Grid unit proportions, gutters and spacing") }}

{{ item("Colour", "/sass/colour", "Colour contrast, Sass variables, colour palettes") }}
{{ item("Libraries", "/sass/libraries", "3rd party SASS libraries") }}

{{ item("Documentation", "/sass/docs", "Auto-generated SASS code documentation") }}

Expand All @@ -83,8 +79,6 @@

<div class="grid">

{{ item("Syntax", "/javascript/syntax", "Syntax, formatting, conventions and code structure") }}

{{ item("Documentation", "/javascript/docs", "Auto-generated JS code documentation") }}

</div>
Expand Down
2 changes: 2 additions & 0 deletions web/server/views/javascript/docs.njk
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

{% block main %}

<h1>JavaScript Documentation</h1>

{% for item in data %}

<h2>{{item.name}}</h2>
Expand Down
1 change: 1 addition & 0 deletions web/server/views/layouts/_layout.njk
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="description" content="{{ title }} in NICE Experience, from NICE Digital Services">

<title>{{ title }} | NICE Experience</title>

Expand Down
15 changes: 6 additions & 9 deletions web/server/views/layouts/_sidebar.njk
Original file line number Diff line number Diff line change
Expand Up @@ -14,35 +14,32 @@
<a href="/style-guide/">Style Guide</a>
</h5>
<ul>
<li><a href="/style-guide/layout">Layout</a></li>
<li><a href="/style-guide/typography">Typography</a></li>
<li><a href="/style-guide/buttons">Buttons</a></li>
<li><a href="/style-guide/colour">Colour</a></li>
<li><a href="/style-guide/grid">Grid &amp; layout</a></li>
<li><a href="/style-guide/typography">Typography</a></li>
</ul>
<h5>
<a href="/components/">Components</a>
</h5>
<ul>
<li><a href="/components/alpha-beta-live">Alpha/beta</a></li>
<li><a href="/components/breadcrumbs">Breadcrumbs</a></li>
<li><a href="/components/tabs">Tabs</a></li>
<li><a href="/components/alpha-beta">Alpha/beta</a></li>
<li><a href="/components/navigation">Navigation</a></li>
<li><a href="/components/tabs">Tabs</a></li>
</ul>
<h5>
<a href="/sass/">SASS</a>
</h5>
<ul>
<li><a href="/sass/syntax">Syntax</a></li>
<li><a href="/sass/naming">Naming</a></li>
<li><a href="/sass/layout">Layout</a></li>
<li><a href="/sass/colour">Colour</a></li>
<li><a href="/sass/code-standards">Code standards</a></li>
<li><a href="/sass/libraries">Libraries</a></li>
<li><a href="/sass/docs">Documentation</a></li>
</ul>
<h5>
<a href="/javascript/">JavaScript</a>
</h5>
<ul>
<li><a href="/javascript/syntax">Syntax</a></li>
<li><a href="/javascript/docs">Documentation</a></li>
</ul>
</nav>
Expand Down

0 comments on commit 108e4e2

Please sign in to comment.