baseof.html 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <link rel="canonical" href="{{ .Permalink }}">
  8. <link rel="apple-touch-icon" sizes="57x57" href="{{ "images/apple-icon-57x57.png" | absURL }}">
  9. <link rel="apple-touch-icon" sizes="60x60" href="{{ "images/apple-icon-60x60.png" | absURL }}">
  10. <link rel="apple-touch-icon" sizes="72x72" href="{{ "images/apple-icon-72x72.png" | absURL }}">
  11. <link rel="apple-touch-icon" sizes="76x76" href="{{ "images/apple-icon-76x76.png" | absURL }}">
  12. <link rel="apple-touch-icon" sizes="114x114" href="{{ "images/apple-icon-114x114.png" | absURL }}">
  13. <link rel="apple-touch-icon" sizes="120x120" href="{{ "images/apple-icon-120x120.png" | absURL }}">
  14. <link rel="apple-touch-icon" sizes="144x144" href="{{ "images/apple-icon-144x144.png" | absURL }}">
  15. <link rel="apple-touch-icon" sizes="152x152" href="{{ "images/apple-icon-152x152.png" | absURL }}">
  16. <link rel="apple-touch-icon" sizes="180x180" href="{{ "images/apple-icon-180x180.png" | absURL }}">
  17. <link rel="icon" type="image/png" sizes="192x192" href="{{ "images/android-icon-192x192.png" | absURL }}">
  18. <link rel="icon" type="image/png" sizes="32x32" href="{{ "images/favicon-32x32.png" | absURL }}">
  19. <link rel="icon" type="image/png" sizes="96x96" href="{{ "images/favicon-96x96.png" | absURL }}">
  20. <link rel="icon" type="image/png" sizes="16x16" href="{{ "images/favicon-16x16.png" | absURL }}">
  21. <meta name="msapplication-TileColor" content="#ffffff">
  22. <meta name="msapplication-TileImage" content="{{ "images/ms-icon-144x144.png" | absURL }}">
  23. <meta name="theme-color" content="#ffffff">
  24. <link href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700" rel="stylesheet" media="none" onload="this.media='all';">
  25. <link rel="stylesheet" href="{{ "css/prism.css" | absURL }}">
  26. <link rel="stylesheet" type="text/css" href="{{ "css/styles.css" | absURL }}">
  27. <script>
  28. /* Template element polyfill */
  29. (function templatePolyfill(document) {
  30. if ('content' in document.createElement('template')) {
  31. return false;
  32. }
  33. var templates = document.getElementsByTagName('template');
  34. var plateLen = templates.length;
  35. for (var x = 0; x < plateLen; ++x) {
  36. var template = templates[x];
  37. var content = template.childNodes;
  38. var fragment = document.createDocumentFragment();
  39. while (content[0]) {
  40. fragment.appendChild(content[0]);
  41. }
  42. template.content = fragment;
  43. }
  44. })(document);
  45. </script>
  46. <style id="inverter" media="none">
  47. html { filter: invert(100%) }
  48. * { background-color: inherit }
  49. img:not([src*=".svg"]), .colors, iframe, .demo-container { filter: invert(100%) }
  50. </style>
  51. <title>
  52. {{ block "title" . }}
  53. {{ .Title }} | {{ .Site.Title }}
  54. {{ end }}
  55. </title>
  56. {{ if .IsHome }}
  57. <link rel="manifest" href="manifest.json">
  58. {{ end }}
  59. </head>
  60. <body>
  61. {{ if ne .Type "print-version" }}
  62. <a href="#main">skip to content</a>
  63. {{ end }}
  64. {{ partial "svg.html" . }}
  65. <div class="wrapper {{ if eq .Type "print-version" }}print-version{{ end }}">
  66. <header class="intro-and-nav" role="banner">
  67. <div>
  68. <div class="intro">
  69. <a class="logo" href="/" aria-label="{{ .Site.Title }} pattern library home page">
  70. <img src="{{ "images/logo.svg" | absURL }}" alt="">
  71. </a>
  72. <p class="library-desc">
  73. {{ .Site.Params.Description | markdownify }}
  74. {{ if ne .Type "print-version" }}
  75. <a class="print" href="{{ "print-version" | absURL }}">
  76. <svg viewBox="0 0 35 45" aria-hidden="true" focusable="false">
  77. <use xlink:href="#doc"></use>
  78. </svg>Print version
  79. {{ end }}
  80. </a>
  81. </p>
  82. {{ if eq .Type "print-version" }}
  83. <p class="toc-link"><a href="#toc">Table of contents</a> <span aria-hidden="true">&#x21e9;</span></p>
  84. {{ end }}
  85. </div>
  86. {{ block "nav" . }}
  87. <nav id="patterns-nav" class="patterns" role="navigation">
  88. <button id="menu-button" aria-expanded="false">
  89. <svg viewBox="0 0 50 50" aria-hidden="true" focusable="false">
  90. <use xlink:href="#menu"></use>
  91. </svg>
  92. Menu
  93. </button>
  94. {{ $current := . }}
  95. {{ range $.Site.Home.Sections }}
  96. <ul id="patterns-list">
  97. {{ range .Pages.ByWeight }}
  98. <li class="pattern">
  99. <a href="{{ .RelPermalink }}" {{ if eq $current.Title .Title }}aria-current="page"{{ end }}>
  100. <svg class="bookmark-icon" aria-hidden="true" focusable="false" viewBox="0 0 40 50">
  101. <use xlink:href="#bookmark"></use>
  102. </svg>
  103. <span class="text">{{ .Title }}</span>
  104. </a>
  105. </li>
  106. {{ end }}
  107. {{ range .Sections.ByWeight }}
  108. <li>
  109. <h3>{{ .Title }}</h3>
  110. <ul>
  111. {{ range .Pages.ByWeight }}
  112. <li class="pattern">
  113. <a href="{{ .RelPermalink }}" {{ if eq $current.Title .Title }}aria-current="page"{{ end }}>
  114. <svg class="bookmark-icon" aria-hidden="true" viewBox="0 0 40 50" focusable="false">
  115. <use xlink:href="#bookmark"></use>
  116. </svg>
  117. <span class="text">{{ .Title }}</span>
  118. </a>
  119. </li>
  120. {{ end }}
  121. </ul>
  122. </li>
  123. {{ end }}
  124. </ul>
  125. {{ end }}
  126. </nav>
  127. {{ end }}
  128. </div>
  129. </header>
  130. <div class="main-and-footer">
  131. <div>
  132. {{ block "main" . }}
  133. {{ end }}
  134. <footer role="contentinfo">
  135. <div>
  136. <label for="themer">
  137. dark theme: <input type="checkbox" id="themer" class="vh">
  138. <span aria-hidden="true"></span>
  139. </label>
  140. </div>
  141. Powered by <strong>Infusion</strong>, a <strong>The Paciello Group</strong> project.<br>
  142. For general enquiries, contact us on info@paciellogroup.com.
  143. </footer>
  144. </div>
  145. </div>
  146. </div>
  147. <script src="{{ "js/prism.js" | absURL }}"></script>
  148. <script src="{{ "js/dom-scripts.js" | absURL }}"></script>
  149. {{ if .Page.IsHome }}
  150. <script src="{{ "js/service-worker-registration.js" | absURL }}"></script>
  151. {{ end }}
  152. </body>
  153. </html>