dr-w-site/index.php

108 lines
4.5 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>
2017-12-20 22:09:36 +00:00
<p>tilde.team is one tiny standard unix computer in the cloud that anyone can use and learn to use in the shared pursuit
of cool sites and unix tools.</p>
2017-12-29 22:26:24 +00:00
<p>i created this site 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>
<p>thanks for stopping by!</p>
<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-28 18:13:16 +00:00
<a href="/faq/" class="btn btn-warning btn-lg">
2017-12-20 22:09:36 +00:00
<i class="fa fa-info"></i> faq</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-04 22:14:56 +00:00
<a class="btn btn-default" href="https://git.tilde.team/meta">
<i class="fa fa-code-fork"></i> ~gitea~</a>
2018-05-29 18:53:50 +00:00
<a class="btn btn-default" href="https://tilde.zone/invite/9xjfCyYJ">
2017-12-29 22:26:24 +00:00
<i class="fa fa-retweet"></i> ~mastodon~</a>
2018-03-15 06:19:00 +00:00
<a class="btn btn-default" href="/discord/">
<i class="fa fa-comments"></i> ~discord~</a>
2018-02-13 05:48:23 +00:00
<a class="btn btn-default" href="https://forum.tilde.team/">
<i class="fa fa-comment"></i> ~forum~</a>
2018-03-28 20:39:11 +00:00
<a class="btn btn-default" href="/irc/">
2018-03-06 18:49:46 +00:00
<i class="fa fa-comments-o"></i> ~irc~</a>
<a class="btn btn-default" href="/wiki/">
<i class="fa fa-book"></i> ~wiki~</a>
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-01-29 20:39:53 +00:00
<?php foreach (array_reverse(glob("news/*.json")) as $file):
$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-06-04 22:28:09 +00:00
<h4>on our <a href="https://git.tilde.team/meta">gitea</a></h4>
2018-03-14 21:03:23 +00:00
<hr>
<?php
ini_set('user_agent', 'tilde-team');
2018-06-04 22:28:09 +00:00
foreach (json_decode(file_get_contents("https://git.tilde.team/api/v1/orgs/meta/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>
<?php $users = json_decode(file_get_contents("https://tilde.team/~ben/api/?users"));
foreach ($users as $user): ?>
<div class="list-group">
<a href="https://tilde.team/~<?=$user?>/" class="list-group-item">
<h5 class="list-group-item-heading">~<?=$user?></h5>
</a>
</div>
<?php endforeach; ?>
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'; ?>