aboutsummaryrefslogtreecommitdiff
path: root/src/App.svelte
blob: 128685a3535f1faf9e6f1e5810365cb5359b7ee7 (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
<script>
  import TimerControls from "./lib/components/TimerControls.svelte";
  import GamesSection from "./lib/components/GamesSection.svelte";
  import SkillFactorSelect from "./lib/components/SkillFactorSelect.svelte";
  import ProposeConfirmControls from "./lib/components/ProposeConfirmControls.svelte";
  import CourtList from "./lib/components/CourtList.svelte";
  import RegularList from "./lib/components/RegularList.svelte";
  import GuestList from "./lib/components/GuestList.svelte";
  import AdminPanel from "./lib/components/AdminPanel.svelte";
</script>

<header class="container">
  <nav>
    <ul><li><img src="icon.svg" alt="Matchup" /></li></ul>
    <ul>
      <li><TimerControls /></li>
    </ul>
  </nav>
</header>
<main class="container">
  <section>
    <GamesSection />
  </section>
  <section>
    <SkillFactorSelect />
    <ProposeConfirmControls />
  </section>
  <section>
    <hgroup>
      <h2>Courts</h2>
      <p>Reserve courts for training or competition.</p>
    </hgroup>
    <CourtList />
  </section>
  <section>
    <hgroup>
      <h2>Regulars</h2>
      <p>Check in and check out club members.</p>
    </hgroup>
    <RegularList />
  </section>
  <section>
    <hgroup>
      <h2>Guests</h2>
      <p>Add guests to the pool.</p>
    </hgroup>
    <GuestList />
  </section>
  <section>
    <hgroup>
      <h2>Admin</h2>
      <p>Changes here are permanent and cannot be reverted.</p>
    </hgroup>
    <AdminPanel />
  </section>
</main>
<footer class="container" style="text-align: center;">
  <strong>Matchup</strong> made with ❤️ by <a href="https://karanj.com">Karan</a>. The
  source code is licensed
  <a href="https://www.gnu.org/licenses/agpl-3.0.en.html">AGPL 3.0</a>. Logo
  from <a href="https://www.svgrepo.com">SVG Repo</a>.
</footer>