update some links

This commit is contained in:
Ben Harris 2020-02-17 14:33:31 -05:00
parent 597ef6e87e
commit 9ef2761e15
4 changed files with 54 additions and 6 deletions

View File

@ -1 +1 @@
411
428

30
fonts/index.php Normal file
View File

@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>
<head>
<title>some fonts</title>
<link rel="stylesheet" href="../gruvbox/gruvbox.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body id="top">
<main>
<h1>fonts</h1>
<p><a href="..">&lt; back</a></p>
<p>feel free to use this webfont mirror</p>
<p>
you can use <pre>@import</pre> in your css or just include a <pre>&lt;link&gt;</pre> to
the css to get the fonts defined properly
</p>
<?php foreach (glob("*") as $dir) {
if (!is_dir($dir)) continue;
$dir = basename($dir); ?>
<p><a href="<?=$dir?>/font.css"><?=$dir?>/font.css</a></p>
<?php } ?>
</main>
</body>
</html>

View File

@ -54,8 +54,10 @@
<?php include "links.php"; ?>
<p>here are some <a href="trafficstats">traffic stats</a> and <a href="https://tilde.team/stats/">web log stats</a></p>
<p>some <a href="cgi-bin/">cgi scripts</a></p>
<p>
here are some <a href="trafficstats/">traffic stats</a> and
<a href="https://tilde.team/stats/">nginx stats</a>
</p>
<div v-cloak v-if="fonts.length > 0">
<hr>
@ -71,8 +73,8 @@
</div>
<div>
<label for="asciiinput">put some text here</label>
<input v-model="text" id="asciiinput" @input="updateOutput" placeholder="put some text here">
<label for="asciiinput">type here</label>
<input v-model="text" id="asciiinput" @input="updateOutput" placeholder="type here">
</div>
<div v-if="output">

View File

@ -32,7 +32,7 @@ $links = [
"icon" => "stack-overflow"
],
"my git guide" => [
"href" => "https://benharri.github.io/learngit/",
"href" => "learngit/",
"icon" => "git"
],
"keybase" => [
@ -51,11 +51,27 @@ $links = [
"href" => "soli/",
"icon" => "gamepad"
],
"webfont mirror" => [
"href" => "fonts/",
"icon" => "font"
],
"cgi script collection" => [
"href" => "cgi-bin/",
"icon" => "database"
],
"repo mirrors" => [
"href" => "https://mirror.bhh.sh/",
"icon" => "download"
],
"mastodon" => [
"href" => "https://tilde.zone/~ben",
"icon" => "mastodon-alt",
"extra_attrs" => 'rel="me"'
],
"pleroma" => [
"href" => "https://pleroma.tilde.zone/ben",
"icon" => "pleroma",
],
];
?>