aboutsummaryrefslogtreecommitdiffstats
path: root/links.php
blob: e647b71e1387ef0475b03e91999fee1b38f19617 (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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<?php
require_once __DIR__ . '/partials/i18n.php';
require_once __DIR__ . '/partials/asset_version.php';

$lang   = _i18n_lang();
$suffix = ['en' => '', 'ja' => '_jp', 'zh' => '_zh'][$lang];
$h      = fn(string $k) => htmlspecialchars(t($k), ENT_QUOTES, 'UTF-8');
?>
<!doctype html>
<html lang="<?= ['en'=>'en','ja'=>'ja','zh'=>'zh'][$lang] ?>">
<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width,initial-scale=1" />
  <title><?= $h('links.title') ?></title>
  <?php $meta = ['lang'=>$lang, 'title'=>t('links.title'), 'desc'=>t('links.desc'), 'base'=>'links']; include __DIR__ . '/partials/head_meta.php'; ?>

  <link rel="stylesheet" href="<?= htmlspecialchars(asset_v('assets/css/fonts.css'), ENT_QUOTES) ?>" />
  <link rel="stylesheet" href="<?= htmlspecialchars(asset_v('assets/css/site.css'), ENT_QUOTES) ?>" />
  <link rel="stylesheet" href="<?= htmlspecialchars(asset_v('assets/css/skeleton.css'), ENT_QUOTES) ?>" />
  <link rel="stylesheet" href="<?= htmlspecialchars(asset_v('assets/css/pages/links' . $suffix . '.css'), ENT_QUOTES) ?>" />
</head>

<body>
  <a class="skip-link" href="#main"><?= $h('common.skip') ?></a>
  <?php include 'partials/header.php'; ?>

  <main id="main" class="wrap">
    <section aria-labelledby="links-title">
      <h1 id="links-title"><?= $h('links.h1') ?></h1>
      <p class="muted"><?= $h('links.subtitle') ?></p>

      <div class="link-cards">
        <div class="link-card">
          <h2 class="link-card-title"><?= $h('links.grp_start') ?></h2>
          <ul class="link-card-list">
            <li><a href="/now/">Now</a></li>
            <li><a href="/motd/">MOTD</a></li>
            <li><a href="https://blog.sillylaird.ca/" target="_blank" rel="noopener noreferrer">Blog</a></li>
            <li><a href="https://os.sillylaird.ca/" target="_blank" rel="noopener noreferrer">OS</a></li>
            <li><a href="/journal/">Journal</a></li>
            <li><a href="/map/">Site Map</a></li>
          </ul>
        </div>

        <div class="link-card">
          <h2 class="link-card-title"><?= $h('links.grp_networks') ?></h2>
          <ul class="link-card-list">
            <li><a href="http://xyb4zkpbnssz2kgiklg5vfbepbnblykgfvemwadvufwzfcrjny46q6qd.onion/" rel="noopener noreferrer">Tor</a></li>
            <li><a href="http://sillylaird.i2p/" rel="noopener noreferrer">I2P</a></li>
            <li><a href="gemini://sillylaird.ca/">Gemini</a></li>
            <li><a href="gopher://sillylaird.ca/">Gopher</a></li>
          </ul>
        </div>

        <div class="link-card">
          <h2 class="link-card-title"><?= $h('links.grp_media') ?></h2>
          <ul class="link-card-list">
            <li><a href="https://radio.sillylaird.ca/" target="_blank" rel="noopener noreferrer">Radio</a></li>
            <li><a href="https://live.sillylaird.ca/" target="_blank" rel="noopener noreferrer">Live</a></li>
          </ul>
        </div>

        <div class="link-card">
          <h2 class="link-card-title"><?= $h('links.grp_contact') ?></h2>
          <ul class="link-card-list">
            <li>Email: <a href="mailto:m@sillylaird.ca">m@sillylaird.ca</a></li>
            <li>XMPP: <a href="xmpp:m@sillylaird.ca">m@sillylaird.ca</a></li>
          </ul>
        </div>
      </div>

      <h2><?= $h('links.h2_friends') ?></h2>
      <ul>
        <li><a href="https://kfarwell.org" target="_blank" rel="noopener noreferrer">Kyle Farwell</a></li>
        <li><a href="http://lolwut.info" target="_blank" rel="noopener noreferrer">lolwut</a></li>
        <li><a href="https://moddedbear.com/" target="_blank" rel="noopener noreferrer">moddedbear</a></li>
        <li><a href="http://shystudios.us/" target="_blank" rel="noopener noreferrer">shystudios</a></li>
      </ul>

      <h2><?= $h('links.h2_buttons') ?></h2>
      <div class="buttons">
        <a href="https://validator.w3.org/" target="_blank" rel="noopener noreferrer"><img src="/images/valid-html401.png" width="88" height="31" alt="Valid HTML 4.01 Strict" loading="lazy"></a>
        <a href="https://www.anybrowser.org/campaign/" target="_blank" rel="noopener noreferrer"><img src="/images/anybrowser3.gif" width="88" height="31" alt="Best viewed with Any Browser" loading="lazy"></a>
        <a href="https://www.microsoft.com/en-us/windows" target="_blank" rel="noopener noreferrer"><img src="/images/made-with-windows.gif" width="88" height="31" alt="Proudly made on Microsoft Windows" loading="lazy"></a>
        <a href="https://www.eff.org/pages/blue-ribbon-campaign" target="_blank" rel="noopener noreferrer"><img src="/images/free-speech-forever.gif" width="88" height="31" alt="Support freedom of speech" loading="lazy"></a>
        <a href="https://buyvm.net/" target="_blank" rel="noopener noreferrer"><img src="/images/buyvm.png" width="90" height="33" alt="Hosted on BuyVM" loading="lazy"></a>
        <a href="http://www.711chan.net" target="_blank" rel="noopener noreferrer"><img src="/images/711chan.gif" width="88" height="31" alt="Strange things go down at the 711..." loading="lazy"></a>
        <a href="https://www.heyuri.net" target="_blank" rel="noopener noreferrer"><img src="/images/heyuri.gif" width="83" height="31" alt="Heyuri: It's the place to be" loading="lazy"></a>
        <a href="https://archive.org/details/adobe-flash-player-32.0.0.465-retail-debug" target="_blank" rel="noopener noreferrer"><img src="/images/get-flash-player.gif" width="88" height="31" alt="Adobe Flash will never die" loading="lazy"></a>
      </div>
    </section>
  </main>

  <?php include 'partials/footer.php'; ?>
</body>
</html>