baseof.html 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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">
  9. <link rel="apple-touch-icon" sizes="60x60" href="/images/apple-icon-60x60.png">
  10. <link rel="apple-touch-icon" sizes="72x72" href="/images/apple-icon-72x72.png">
  11. <link rel="apple-touch-icon" sizes="76x76" href="/images/apple-icon-76x76.png">
  12. <link rel="apple-touch-icon" sizes="114x114" href="/images/apple-icon-114x114.png">
  13. <link rel="apple-touch-icon" sizes="120x120" href="/images/apple-icon-120x120.png">
  14. <link rel="apple-touch-icon" sizes="144x144" href="/images/apple-icon-144x144.png">
  15. <link rel="apple-touch-icon" sizes="152x152" href="/images/apple-icon-152x152.png">
  16. <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-icon-180x180.png">
  17. <link rel="icon" type="image/png" sizes="192x192" href="/images/android-icon-192x192.png">
  18. <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
  19. <link rel="icon" type="image/png" sizes="96x96" href="/images/favicon-96x96.png">
  20. <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
  21. <meta name="msapplication-TileColor" content="#ffffff">
  22. <meta name="msapplication-TileImage" content="/images/ms-icon-144x144.png">
  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 src="{{ "js/webcomponents.js" | absURL }}"></script>
  28. <title>
  29. {{ block "title" . }}
  30. {{ .Title }} | {{ .Site.Title }}
  31. {{ end }}
  32. </title>
  33. {{ if .IsHome }}
  34. <link rel="manifest" href="manifest.json">
  35. {{ end }}
  36. </head>
  37. <body>
  38. {{ if ne .Type "print-version" }}
  39. <a href="#main">skip to content</a>
  40. {{ end }}
  41. {{ partial "svg.html" . }}
  42. <div class="wrapper {{ if eq .Type "print-version" }}print-version{{ end }}">
  43. <header class="intro-and-nav" role="banner">
  44. <div>
  45. <div class="intro">
  46. <a class="logo" href="/" aria-label="{{ .Site.Title }} pattern library home page">
  47. <img src="{{ "images/logo.png" | absURL }}" alt="">
  48. </a>
  49. <p class="library-desc">
  50. {{ .Site.Params.Description | markdownify }}
  51. {{ if ne .Type "print-version" }}
  52. <a class="print" href="{{ "print-version" | absURL }}">
  53. <svg viewBox="0 0 50 50" aria-hidden="true">
  54. <g transform="translate(-25.001 -1002.4)">
  55. <path style="fill:#1a1a1a" d="m42.85 1008.1c-1.5847 0-2.8605 1.2758-2.8605 2.8605v7.1513h-8.5815c-1.5847 0-2.8605 1.2758-2.8605 2.8605v15.733c0 1.5847 1.2758 2.8605 2.8605 2.8605h8.9419v4.2908c0 1.5847 1.2758 2.8605 2.8605 2.8605h14.272c1.5847 0 2.8605-1.2758 2.8605-2.8605v-4.2908h8.2519c1.5847 0 2.8605-1.2758 2.8605-2.8605v-15.733c0-1.5847-1.2758-2.8605-2.8605-2.8605h-8.2519v-7.1513c0-1.5847-1.2758-2.8605-2.8605-2.8605h-14.632zm3.1147 3.0645h8.5815c1.5847 0 2.8119 1.2765 2.8605 2.8605l.12849 4.1623-14.303-.1259-.12849-4.0366c0-1.5847 1.2758-2.8605 2.8605-2.8605zm20.772 9.8078a2.0368 2.1326 0 0 1 .54472 .064 2.0368 2.1326 0 0 1 1.4833 2.5839l-.0029.014a2.0368 2.1326 0 0 1 -2.4749 1.542 2.0368 2.1326 0 0 1 -1.4749 -2.5895 2.0368 2.1326 0 0 1 1.9247 -1.6119zm-23.633 14.199h14.303v5.8243c0 1.5847-1.2758 2.8605-2.8605 2.8605h-8.5815c-1.5847 0-2.8605-1.2758-2.8605-2.8605v-5.8243zm3.5756 1.8939c-.39618 0-.71512.319-.71512.7152s.31895.7151.71512.7151h7.1513c.39618 0 .71512-.3189.71512-.7151s-.31895-.7152-.71512-.7152h-7.1513zm0 2.8605c-.39618 0-.71512.319-.71512.7152s.31895.7151.71512.7151h7.1513c.39618 0 .71512-.3189.71512-.7151s-.31895-.7152-.71512-.7152h-7.1513z"/>
  56. </g>
  57. </svg>Print version
  58. {{ end }}
  59. </a>
  60. </p>
  61. {{ if eq .Type "print-version" }}
  62. <p><a href="#toc">Table of contents</a> <span aria-hidden="true">&#x21e9;</span></p>
  63. {{ end }}
  64. </div>
  65. {{ block "nav" . }}
  66. <nav id="patterns-nav" class="patterns" role="navigation">
  67. <button id="menu-button" aria-expanded="false">
  68. <svg viewBox="0 0 50 50" width="50" height="50">
  69. <use xlink:href="#menu"></use>
  70. </svg>
  71. Menu
  72. </button>
  73. {{ $current := . }}
  74. {{ range $.Site.Home.Sections }}
  75. <ul id="patterns-list">
  76. {{ range .Pages.ByWeight }}
  77. <li class="pattern">
  78. <a href="{{ .RelPermalink }}" {{ if eq $current.Title .Title }}aria-current="page"{{ end }}>
  79. <svg class="bookmark-icon" aria-hidden="true" viewBox="0 0 40 50"><use xlink:href="#bookmark"></use></svg>
  80. <span class="text">{{ .Title }}</span>
  81. </a>
  82. </li>
  83. {{ end }}
  84. {{ range .Sections.ByWeight }}
  85. <li>
  86. <h3>{{ .Title }}</h3>
  87. <ul>
  88. {{ range .Pages.ByWeight }}
  89. <li class="pattern">
  90. <a href="{{ .RelPermalink }}" {{ if eq $current.Title .Title }}aria-current="page"{{ end }}>
  91. <svg class="bookmark-icon" aria-hidden="true" viewBox="0 0 40 50"><use xlink:href="#bookmark"></use></svg>
  92. <span class="text">{{ .Title }}</span>
  93. </a>
  94. </li>
  95. {{ end }}
  96. </ul>
  97. </li>
  98. {{ end }}
  99. </ul>
  100. {{ end }}
  101. </nav>
  102. {{ end }}
  103. </div>
  104. </header>
  105. <div class="main-and-footer">
  106. <div>
  107. {{ block "main" . }}
  108. {{ end }}
  109. <footer role="contentinfo">
  110. Powered by <strong>Infusion</strong>, a <strong>The Paciello Group</strong> project.<br>
  111. For general enquiries, contact us on info@paciellogroup.com.
  112. </footer>
  113. </div>
  114. </div>
  115. </div>
  116. <script src="{{ "js/prism.js" | absURL }}"></script>
  117. <script src="{{ "js/dom-scripts.js" | absURL }}"></script>
  118. {{ if .Page.IsHome }}
  119. <script src="{{ "js/service-worker-registration.js" | absURL }}"></script>
  120. {{ end }}
  121. </body>
  122. </html>