summaryrefslogtreecommitdiff
path: root/examples/snowpack/src/pages/plugins.astro
blob: 3ff13c11504f9396f1c4c6edf6b7794447df3235 (plain) (blame)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
---
import PluginSearchPage from '../components/PluginSearchPage.jsx';
import BaseHead from '../components/BaseHead.astro';
import MainLayout from '../components/MainLayout.astro';

let title = 'The Snowpack Plugin Catalog';
let description = 'Snowpack plugins allow for configuration-minimal tooling integration.';
let lang = 'en';
---

<!doctype html>
<html lang={ lang ?? 'en' }>

<head>
  <BaseHead title={title} description={description} permalink="TODO" />
  <style lang="scss">
    .intro {
      margin-top: 1rem;
      margin-bottom: 1rem;
      line-height: 1.5;
      text-align: left;

      a {
        color: #2e5e82;
      }
    }

    .subheading {
      margin-top: -2.5rem;
      margin-bottom: 0;
      color: #2e5e82;
      font-weight: 500;
      font-size: 1em;
      font-family: 'Overpass', sans-serif;
      letter-spacing: -0.02em;
      text-align: left;

      @media (min-width: 600px) {
        font-size: 1.5em;
      }
    }

    .zero-heading {
      margin-top: 1.5rem;
      margin-bottom: 1.5rem;
      font-weight: 700;
      font-size: 1.4em;
      text-align: left;

      @media (min-width: 600px) {
        font-size: 1.5em;
      }
    }
  </style>
</head>

<body>
  <MainLayout>
    <h2 class="content-title">{ title }</h2>

    <h3 class="pluginPage-subheading">
      Customize Snowpack with optimized build plugins.
    </h3>
    <p class="pluginPage-intro">
      To learn more about our plugin system, check out the
      <a href="/reference/plugins">Plugin API.</a><br />Can't find what you need?
      <a href="/reference/plugins">Creating your own plugin is easy!</a>
    </p>

    <div style="margin-top:4rem;"></div>

    <PluginSearchPage client:load />
  </MainLayout>
</body>

</html>