Skip to content

Commit

Permalink
Merge pull request #92 from wmcadigital/ce/feature/updates
Browse files Browse the repository at this point in the history
all commits from ce/feature/updates
  • Loading branch information
chr1se authored Aug 18, 2021
2 parents 8ee353d + b1558f9 commit 038d85c
Show file tree
Hide file tree
Showing 225 changed files with 24,037 additions and 1,021 deletions.
Empty file modified .eslintignore
100755 → 100644
Empty file.
Empty file modified .eslintrc.json
100755 → 100644
Empty file.
Empty file modified .github/ISSUE_TEMPLATE/feature_proposal.md
100755 → 100644
Empty file.
Empty file modified .github/ISSUE_TEMPLATE/report_bug.md
100755 → 100644
Empty file.
Empty file modified .github/dependabot.yml
100755 → 100644
Empty file.
Empty file modified .github/workflows/codeql-analysis.yml
100755 → 100644
Empty file.
Empty file modified .github/workflows/reviewdog.yml
100755 → 100644
Empty file.
Empty file modified .gitignore
100755 → 100644
Empty file.
Empty file modified .htmlhintrc
100755 → 100644
Empty file.
Empty file modified .prettierignore
100755 → 100644
Empty file.
Empty file modified .prettierrc
100755 → 100644
Empty file.
Empty file modified .restyled.yaml
100755 → 100644
Empty file.
8 changes: 4 additions & 4 deletions .sass-lint.yml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ rules:

# Rule no-misspelled-properties will enforce the correct spelling of CSS properties and prevent the use of unknown CSS properties.
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/no-misspelled-properties.md
no-misspelled-properties: 2
no-misspelled-properties: 0

# Rule no-qualifying-elements will enforce that selectors are not allowed to have qualifying elements.
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/no-qualifying-elements.md
Expand Down Expand Up @@ -227,7 +227,7 @@ rules:

# Rule no-url-protocols will enforce that protocols and domains are not used within urls.
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/no-url-protocols.md
no-url-protocols: 2
no-url-protocols: 0

# Rule no-vendor-prefixes will enforce that vendor prefixes are not allowed to be used.
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/no-vendor-prefixes.md
Expand All @@ -250,7 +250,7 @@ rules:
# Rule property-sort-order will enforce the order in which declarations are written.
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/property-sort-order.md
property-sort-order:
- 2
- 0
- order:
- 'content'
- 'quotes'
Expand Down Expand Up @@ -408,7 +408,7 @@ rules:
# https://github.com/sasstools/sass-lint/blob/master/docs/rules/property-units.md
property-units:
- 2
- global: ['cm', 'em', 'pt', 'px', 'rem', 'vh', 'ex']
- global: ['cm', 'em', 'pt', 'px', 'rem', 'vh', 'ex', 's', 'ms']

# Rule pseudo-element will enforce that:
# - pseudo-elements must start with double colons
Expand Down
Empty file modified .typo-ci.yml
100755 → 100644
Empty file.
Empty file modified README.md
100755 → 100644
Empty file.
Empty file modified doc/contributing.md
100755 → 100644
Empty file.
Empty file modified doc/contributing/application-architecture.md
100755 → 100644
Empty file.
Empty file modified doc/contributing/coding-standards.md
100755 → 100644
Empty file.
Empty file modified doc/contributing/css.md
100755 → 100644
Empty file.
Empty file modified doc/contributing/git.md
100755 → 100644
Empty file.
Empty file modified doc/contributing/js.md
100755 → 100644
Empty file.
Empty file modified doc/contributing/misc.md
100755 → 100644
Empty file.
Empty file modified doc/contributing/tasks.md
100755 → 100644
Empty file.
Empty file modified doc/contributing/tasks/building.md
100755 → 100644
Empty file.
Empty file modified doc/contributing/tasks/linting.md
100755 → 100644
Empty file.
Empty file modified doc/contributing/testing-and-linting.md
100755 → 100644
Empty file.
Empty file modified doc/contributing/versioning.md
100755 → 100644
Empty file.
Empty file modified doc/html.md
100755 → 100644
Empty file.
Empty file modified doc/preview.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified doc/troubleshooting.md
100755 → 100644
Empty file.
Empty file modified doc/usage.md
100755 → 100644
Empty file.
31 changes: 31 additions & 0 deletions docs/components/article-card/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!DOCTYPE html><html lang="en-gb" class="wmre-html"><head><meta charset="utf-8"><title>Article card - West Midlands Rail Executive Design System</title><meta name="description" content="Your one stop shop for travel in the West Midlands"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="apple-touch-icon" sizes="180x180" href="http://localhost:3000/config/favicons/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="http://localhost:3000/config/favicons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="http://localhost:3000/config/favicons/favicon-16x16.png"><link rel="manifest" href="http://localhost:3000/config/favicons/site.webmanifest"><link rel="mask-icon" href="http://localhost:3000/config/favicons/safari-pinned-tab.svg" color="#169586"><link rel="shortcut icon" href="http://localhost:3000/config/favicons/favicon.ico"><meta name="msapplication-TileColor" content="#169586"><meta name="msapplication-config" content="http://localhost:3000/config/favicons/browserconfig.xml"><meta name="theme-color" content="#169586"><link rel="stylesheet" href="http://localhost:3000/css/wmre-components.min.css"><link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.10/styles/a11y-dark.min.css"><link rel="stylesheet" href="http://localhost:3000/css/wmre-website.min.css"></head><body><!--[if IE]>
<p class="browserupgrade">
You are using an <strong>outdated</strong> browser. Please
<a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and
security.
</p>
<![endif]--> <a href="#wmre-main-content" title="Skip to main content" target="_self" class="wmre-link wmre-header__skip-link">Skip to main content</a><header class="wmre-header"><div class="menuwrap wmre-container wmre-grid wmre-grid--align-center wmre-grid--justify-between"><a class="logo" href="/" title="West Midlands Rail Executive Design System"><img alt="West Midlands Rail Executive logo" src="http://localhost:3000/img/wmre-nav-logo.png"> </a><a class="menu" onclick="this.nextElementSibling.classList.add('mini-nav');event.stopPropagation()"></a><nav><a href="/styles/" title="Styles page" target="_self">Styles </a><a href="/components/" title="Components page" target="_self">Components </a><a href="/patterns/" title="Patterns page" target="_self">Patterns</a></nav></div></header><div class="wmre-breadcrumb"><div class="wmre-container"><nav aria-label="Breadcrumb"><ol class="wmre-breadcrumb__list"><li class="wmre-breadcrumb__list-item"><a href="http://localhost:3000/" class="wmre-breadcrumb__link">Home</a></li><li class="wmre-breadcrumb__list-item"><a href="http://localhost:3000/components/" class="wmre-breadcrumb__link">Components</a></li><li class="wmre-breadcrumb__list-item"><a href="http://localhost:3000/components/article-card/" class="wmre-breadcrumb__link wmre-breadcrumb__link--current" aria-current="page">Article card</a></li></ol></nav></div></div><main class="wmre-container wmre-container--main"><div class="wmre-grid"><div class="wmre-col-1 wmre-col-md-1-4"><ul class="sub-nav"><li class="wmre-col-1"><a class="wmre-link" href="http://localhost:3000/components/article-card/">Article card</a></li><li class="wmre-col-1"><a class="wmre-link" href="http://localhost:3000/components/breadcrumb/">Breadcrumb</a></li><li class="wmre-col-1"><a class="wmre-link" href="http://localhost:3000/components/buttons/">Buttons</a></li><li class="wmre-col-1"><a class="wmre-link" href="http://localhost:3000/components/content-tiles/">Content Tiles</a></li><li class="wmre-col-1"><a class="wmre-link" href="http://localhost:3000/components/form-elements/">Form elements</a></li><li class="wmre-col-1"><a class="wmre-link" href="http://localhost:3000/components/homepage-card/">Homepage card</a></li><li class="wmre-col-1"><a class="wmre-link" href="http://localhost:3000/components/info-card/">Info card</a></li><li class="wmre-col-1"><a class="wmre-link" href="http://localhost:3000/components/links/">Links</a></li><li class="wmre-col-1"><a class="wmre-link" href="http://localhost:3000/components/loader/">Loader</a></li><li class="wmre-col-1"><a class="wmre-link" href="http://localhost:3000/components/phase-indicator/">Phase indicator</a></li><li class="wmre-col-1"><a class="wmre-link" href="http://localhost:3000/components/related-links/">Related links</a></li><li class="wmre-col-1"><a class="wmre-link" href="http://localhost:3000/components/share/">Share</a></li><li class="wmre-col-1"><a class="wmre-link" href="http://localhost:3000/components/station/">Station</a></li><li class="wmre-col-1"><a class="wmre-link" href="http://localhost:3000/components/team-bio/">Team bio</a></li></ul></div><div class="wmre-col-1 wmre-col-md-3-4" id="wmre-main-content"><h1>Article card</h1><hr><div class="wmre-website-code-example"><h3 class="wmre-website-code-example__subtitle">Component example</h3><div class="wmre-col-1"><a class="wmre-article-card"><img src="/img/news/news-card-train.png" alt="rail-programme"><div><h2>All change at the top for the West Midlands Rail Executive</h2><time>Thursday 04 April, 2019</time><div class="read">Read full article</div></div></a></div><h3 class="wmre-website-code-example__subtitle">HTML Markup</h3><pre><code class="html" tabindex="0">&lt;a class=&quot;wmre-article-card&quot;&gt;
&lt;img src=&quot;/img/news/news-card-train.png&quot; alt=&quot;rail-programme&quot;&gt;
&lt;div&gt;
&lt;h2&gt;All change at the top for the West Midlands Rail Executive&lt;/h2&gt;
&lt;time&gt;Thursday 04 April, 2019&lt;/time&gt;
&lt;div class=&quot;read&quot;&gt;Read full article&lt;/div&gt;
&lt;/div&gt;
&lt;/a&gt;
</code></pre></div><hr><div class="wmre-website-code-example"><h3 class="wmre-website-code-example__subtitle">Component example</h3><div class="wmre-col-1"><div class="wmre-article-row"><a class="img" href="/"><img src="/img/news/news-card-train.png" alt="rail-programme"></a><h3><a href="/">Work set to start on Black Country railway stations after funding confirmed</a></h3><p>Works to pave the way for £55 million construction of two Black County Railway Stations will begin this Spring following the final approval of Government funding. The budget earlier this month saw the final piece of funding for the construction of Darlaston and Willenhall Stations confirmed as part</p><a href="/">Read more</a></div></div><h3 class="wmre-website-code-example__subtitle">HTML Markup</h3><pre><code class="html" tabindex="0">&lt;div class=&quot;wmre-article-row&quot;&gt;
&lt;a class=&quot;img&quot; href=&quot;/&quot;&gt;
&lt;img src=&quot;/img/news/news-card-train.png&quot; alt=&quot;rail-programme&quot;&gt;
&lt;/a&gt;
&lt;h3&gt;&lt;a href=&quot;/&quot;&gt;Work set to start on Black Country railway stations after funding confirmed&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Works to pave the way for £55 million construction of two Black County Railway Stations will begin this Spring following the final approval of Government funding. The budget earlier this month saw the final piece of funding for the construction of Darlaston and Willenhall Stations confirmed as part &lt;/p&gt;
&lt;a href=&quot;/&quot;&gt;Read more&lt;/a&gt;
&lt;/div&gt;
</code></pre></div><hr><div class="wmre-website-code-example"><h3 class="wmre-website-code-example__subtitle">Component example</h3><div class="wmre-col-1"><a class="wmre-article-related" href="/"><p>Work set to start on Black Country railway stations after funding confirmed</p><div>Tuesday 23 March 2021</div></a></div><h3 class="wmre-website-code-example__subtitle">HTML Markup</h3><pre><code class="html" tabindex="0">&lt;a class=&quot;wmre-article-related&quot; href=&quot;/&quot;&gt;
&lt;p&gt;Work set to start on Black Country railway stations after funding confirmed&lt;/p&gt;
&lt;div&gt;Tuesday 23 March 2021&lt;/div&gt;
&lt;/a&gt;
</code></pre></div><hr></div></div></main><footer class="wmre-footer"><div class="wmre-container wmre-grid"><div class="wmre-col-1 wmre-col-md-1-2">Copyright West Midlands Rail Executive &copy; 2020</div><div class="wmre-col-1 wmre-col-md-1-2"><a href="https://www.wmca.org.uk/policies" title="Privacy and cookies policy" target="_blank" rel="noopener noreferrer" class="wmre-footer__link wmre-link">Privacy &amp; Cookies Policy</a></div></div></footer><script src="http://localhost:3000/js/wmre-website.min.js"></script><script async="async" src="https://www.googletagmanager.com/gtag/js?id=UA-151672610-1"></script><script>window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'UA-151672610-1');</script><script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.10/highlight.min.js"></script></body></html>
Loading

0 comments on commit 038d85c

Please sign in to comment.