site/index.php

98 lines
4.0 KiB
PHP
Raw Normal View History

2018-03-28 20:36:28 +00:00
<?php include 'header.php'; ?>
2018-03-15 06:19:00 +00:00
2017-12-28 23:44:45 +00:00
<div class="jumbotron">
2018-03-15 06:19:00 +00:00
<h1>~team</h1>
2017-12-28 23:44:45 +00:00
<pre>
2017-09-13 15:22:06 +00:00
__ _ __ __ __
/ /_(_) /___/ /__ / /____ ____ _____ ___
/ __/ / / __ / _ \ / __/ _ \/ __ `/ __ `__ \
/ /_/ / / /_/ / __// /_/ __/ /_/ / / / / / /
\__/_/_/\__,_/\___(_)__/\___/\__,_/_/ /_/ /_/
</pre>
2017-12-28 23:44:45 +00:00
<br>
<p>a digital community for socializing, learning, and making cool stuff</p>
</div>
<p>tilde.team is a shared system that provides an inclusive, non-commercial space for teaching, learning, practicing and enjoying the social medium of unix.</p>
2018-06-23 04:46:21 +00:00
<p>i created this tilde after hearing about paul ford's <a href="http://tilde.club/">tilde.club</a>. when i was unable to join due to the waitlist, i decided to create my own tilde.</p>
2017-12-29 22:26:24 +00:00
<p>thanks for stopping by!</p>
2018-08-30 23:28:37 +00:00
<p>tilde.team is a founding member of <a href="https://tildeverse.org">tildeverse.org</a>, which is a collaborative effort among several <a href="/wiki/?page=other-tildes">other tilde servers</a>.</p>
2017-12-29 22:26:24 +00:00
<p><a href="/~ben/">~ben</a></p>
2017-09-13 15:22:06 +00:00
2017-12-20 22:09:36 +00:00
<br>
2017-12-28 23:44:45 +00:00
2017-12-28 18:13:16 +00:00
<a href="/signup/" class="btn btn-primary btn-lg">
2017-12-20 22:09:36 +00:00
<i class="fa fa-user-plus"></i> signup</a>
2017-09-13 15:22:06 +00:00
2017-12-20 22:09:36 +00:00
<br>
<br>
<hr>
2017-09-13 15:22:06 +00:00
2018-03-06 18:49:46 +00:00
<h3>other tilde.team stuff</h3>
2017-09-13 15:22:06 +00:00
2018-06-08 21:34:05 +00:00
<?php include 'services.php'; ?>
2017-09-13 15:22:06 +00:00
2017-12-20 22:09:36 +00:00
<br>
<hr>
2017-12-28 22:29:14 +00:00
<div class="row">
<div class="col-md-7">
<h1>~news~</h1>
2018-10-20 07:16:50 +00:00
<?php foreach (array_slice(array_reverse(glob("news/*.json")),0,4) as $file):
2018-01-29 20:39:53 +00:00
$post = json_decode(file_get_contents($file));
if (!$post->published) continue; ?>
<div class="list-group">
<div class="list-group-item">
<h3 class="list-group-item-heading"><?=$post->title?></h3>
<em><?=$post->date?> - <?=$post->author?></em>
2018-03-15 06:19:00 +00:00
<hr>
2018-01-29 20:39:53 +00:00
<p class="list-group-item-text"><?=$post->content?></p>
</div>
</div>
<?php endforeach; ?>
2018-03-14 21:03:23 +00:00
<h1>~current projects~</h1>
2018-09-07 16:58:58 +00:00
<h4>on our <a href="https://tildegit.org/team">gitea</a></h4>
2018-03-14 21:03:23 +00:00
<hr>
2018-09-07 16:58:58 +00:00
<?php foreach (json_decode(file_get_contents("https://tildegit.org/api/v1/orgs/team/repos")) ?? [] as $repo): ?>
2018-03-14 21:03:23 +00:00
<div class="list-group">
<div class="list-group-item">
<a href="<?=$repo->html_url?>">
<h3 class="list-group-item-heading"><?=$repo->name?></h3>
</a>
<p class="list-group-item-text"><?=$repo->description?></p>
2018-06-04 22:28:09 +00:00
<?php if ($repo->website != ""): ?>
2018-03-14 21:03:23 +00:00
<hr style="border-top: 1px solid #000;">
2018-06-04 22:28:09 +00:00
<em><a href="<?=$repo->website?>"><?=$repo->website?></a></em>
2018-03-14 21:03:23 +00:00
<?php endif; ?>
</div>
</div>
<?php endforeach; ?>
2017-12-28 22:29:14 +00:00
</div>
2018-01-29 20:39:53 +00:00
2017-12-28 22:29:14 +00:00
<div class="col-md-5">
<h1>~users~</h1>
2018-01-03 21:04:56 +00:00
<em><a href="https://tilde.team/tilde.24h.html"><i class="fa fa-clock-o"></i> recent updates</a></em>
2017-12-28 22:29:14 +00:00
<br><br>
2018-10-20 07:16:50 +00:00
<div class="list-group">
<ul>
2018-06-21 16:18:39 +00:00
<?php
foreach (glob("/home/*") as $user):
if (!is_dir("$user/public_html")) continue;
2018-06-23 04:46:21 +00:00
$user = basename($user); ?>
2018-10-20 07:16:50 +00:00
<li style="list-style: none; margin-left: -40px;">
2018-09-20 16:16:23 +00:00
<a href="/~<?=$user?>/" class="list-group-item">
2018-10-20 07:16:50 +00:00
<h6 class="list-group-item-heading">~<?=$user?></h5>
</a>
2018-10-20 07:16:50 +00:00
</li>
<?php endforeach; ?>
2018-10-20 07:16:50 +00:00
</ul>
</div>
2017-09-13 15:22:06 +00:00
</div>
2017-12-28 22:29:14 +00:00
</div>
2017-09-13 15:22:06 +00:00
2018-03-28 20:36:28 +00:00
<?php include 'footer.php'; ?>
2018-09-07 16:58:58 +00:00