Browse Source

quick member links on homepage

pull/10/head
Ben Harris 3 years ago
parent
commit
0064d1fa1f
Signed by untrusted user: ben GPG Key ID: 4E0AF802FFF7960C
  1. 3
      footer.php
  2. 13
      index.php
  3. 18
      members/index.php

3
footer.php

@ -1,3 +1,6 @@
</div>
<footer class="text-center">
<a href="https://tildegit.org/tildeverse/site">page source</a>
</footer>
</body>
</html>

13
index.php

@ -1,10 +1,19 @@
<?php include 'header.php'; ?>
<h1><img style="width:75px;" src="./logos/tildeverse-green.png">tildeverse.org</h1>
<p>we're a loose association of like-minded <em>tilde</em> communities. if you're interested in learning about *nix (linux, unix, bsd, etc) come check out our <a href="members/">member tildes</a> and sign up!</p>
<p>we're working on providing services to <a href="members/">the tildeverse,</a> a community of *nix boxes that aim to share the fun and love!</p>
<p>tildes are pubnixes in the spirit of <a href="http://tilde.club">tilde.club</a>, which was created in 2014 by <a href="https://medium.com/message/tilde-club-i-had-a-couple-drinks-and-woke-up-with-1-000-nerds-a8904f0a2ebf">paul ford</a>.</p>
<p>member status in the tildeverse mainly involves some level of engagement on irc; all other systems are independent.</p>
<p>stop by our <a href="https://tilde.chat">irc network</a> (or use our <a href="https://web.tilde.chat">web client</a>) and hang out. there's a bot that can toot from <a rel="me" href="https://tilde.zone/@tildeverse">this mastodon account</a>, but it's mostly silly quotes from chat.</p>
<h2>services and projects</h2>
<hr>
<h3>members</h3>
<p><em><a href="members/">see more details</a></em></p>
<?php foreach (json_decode(file_get_contents("members.json"))->members as $member): ?>
<a href="<?=$member->link?>" class="btn btn-default"><?=$member->name?></a>
<?php endforeach; ?>
<hr>
<h3>services and projects</h3>
<p>here are some of the things that we provide for tilde users and some projects that we're working on</p>
<p>this list is generated from the <a href="https://tildegit.org/tildeverse">tildeverse org</a> on our <a href="https://tildegit.org">gitea</a></p>

18
members/index.php

@ -1,16 +1,20 @@
<?php include __DIR__.'/../header.php'; ?>
<h1><img style="width:75px;" src="../logos/tildeverse-green.png">tildeverse members</h1>
<p><a href="/">&lt; back</a></p>
<div class="list-group">
<?php foreach (json_decode(file_get_contents("../members.json"))->members ?? [] as $member): ?>
<div class="list-group-item">
<h3 class="list-group-item-heading"><a href="<?=$member->link?>"><?=$member->name?></a></h3>
<p class="list-group-item-text"><?=$member->description?></p>
<h4>sysadmins</h4>
<ul>
<?php foreach ($member->sysadmins as $admin): ?>
<li><a href="<?=$admin[1]?>"><?=$admin[0]?></a></li>
<?php endforeach; ?>
</ul>
<div class="list-group-item-text">
<?=$member->description?>
<br><br>
<p><strong>sysadmin<?=count($member->sysadmins) > 1 ? 's' : ''?></strong>:
<?php foreach ($member->sysadmins as $admin): ?>
<a href="<?=$admin[1]?>"><?=$admin[0]?></a>
<?php endforeach; ?>
</p>
<p><strong>os</strong>: <?=$member->os?></p>
</div>
</div>
<?php endforeach;?>
</div>

Loading…
Cancel
Save