summaryrefslogtreecommitdiff
path: root/public/index.html
blob: 72ebff13a79457afa478d8b58ab1d6eed76ad453 (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
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
<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="color-scheme" content="light dark">
    <title>SparkleLab</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css">
    <script src="https://unpkg.com/htmx.org@2.0.4"></script>
    <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
    <script src="/application.js"></script>
  </head>
  <body>
    <header class="container" hx-get="/dashboard/nav" hx-trigger="load">
      <progress />
    </header>

    <main id="app" class="container">
      <div class="grid">
        <div>&nbsp;</div>
        <div>
          <hgroup>
            <h2>Share your gratitude</h2>
            <p>Sparkle someone with praise</p>
          </hgroup>
        </div>
        <div>&nbsp;</div>
      </div>

      <article v-for="sparkle in recentSparkles">
        <header>
          <img :src="sparkle.author.picture" :alt="sparkle.author.username">
          <a :href="sparkle.author.profile"><strong>@${ sparkle.author.username }</strong></a> says
        </header>
        <blockquote>
          /sparkle <strong>${ sparkle.sparklee }</strong> ${ sparkle.reason }
        </blockquote>
      </article>
    </main>

    <footer>
      <div class="container">
        <div class="grid">
          <div>
            <p> <strong>Why?</strong> </p>
            <p> <small> SparkleLab is a lightweight service designed to explore modern access control models within GitLab, while doing something fun: helping GitLab team members show appreciation for each other. </small> </p>
            <p> <small> Built with ❤ by the <a href="https://handbook.gitlab.com/handbook/engineering/development/sec/software-supply-chain-security/authorization/" class="secondary">authz team</a> at GitLab. </small> </p>
          </div>
          <aside>
            <nav>
              <ul>
                <li> <strong>About</strong> </li>
                <li><a href="https://handbook.gitlab.com/handbook/communication/#say-thanks" class="secondary">Say Thanks</a></li>
                <li><a href="https://gitlab.enterprise.slack.com/archives/C038E3Q6L" class="secondary">#thanks</a></li>
              </ul>
            </nav>
          </aside>
          <aside>
            <nav>
              <ul>
                <li><strong>Contribute</strong></li>
                <li><a href="https://gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled" class="secondary">Code</a></li>
                <li><a href="https://gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/-/issues " class="secondary">Issues</a></li>
              </ul>
            </nav>
          </aside>
        </div>
      </div>
    </footer>
  </body>
</html>