summaryrefslogtreecommitdiff
path: root/templates/home.html
blob: 06fe2e8b27777f98d989a3cdfddc84812a0b30e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html>
<html lang="en">
  <head>
    {{ template "header" . }}
    <title>{{.GlobalVars.Name}}</title>
  </head>
  <body>
  {{ template "hero-medium" . }}
  <section class="section">
    <div class="container">
      <form action="/search" method="GET">
        <div class="field has-addons">
          <div class="control is-expanded has-icons-left">
            <input class="input is-large" type="text" name="query"  placeholder="Query" spellcheck="false">
            <span class="icon is-small is-left">
              <i class="fa-solid fa-magnifying-glass"></i>
            </span>
          </div>
          <div class="control">
            <input class="button is-primary is-large" type="submit" value="Search">
          </div>
        </div>
      </form>
    </div>
    <script>
      if (typeof navigator.serviceWorker !== 'undefined') {
        navigator.serviceWorker.register('/static/pwabuilder-sw.js')
      }
    </script>
  </body>
</html>