tagline.sh
This commit is contained in:
parent
bd884dbfab
commit
b5a9ec9998
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
printf "Content-type: text/plain; Charset: UTF-8\n"
|
||||
printf "\n"
|
||||
|
||||
shuf -n1 ../taglines.txt
|
||||
|
|
@ -1 +1 @@
|
|||
270
|
||||
303
|
33
index.php
33
index.php
|
@ -7,11 +7,19 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="ben @ tilde.team unix group">
|
||||
<meta name="author" content="Ben Harris">
|
||||
|
||||
<meta property="og:title" content="ben@tilde.team">
|
||||
<meta property="og:site_name" content="ben at tilde dot team">
|
||||
<meta property="og:url" content="https://tilde.team/~ben/">
|
||||
<meta property="og:description" content="my tilde page">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:image" content="https://tilde.team/apple-icon.png">
|
||||
|
||||
<title>ben~tilde.team</title>
|
||||
|
||||
<link rel="icon" type="image/png" sizes="192x192" href="https://tilde.team/apple-icon.png">
|
||||
|
||||
<link rel="stylesheet" href="https://tilde.team/css/dracula.css">
|
||||
<link rel="stylesheet" href="https://tilde.team/~ben/gruvbox/gruvbox.css">
|
||||
<link rel="stylesheet" href="https://tilde.team/css/fork-awesome.css">
|
||||
|
||||
<style>
|
||||
|
@ -22,17 +30,18 @@
|
|||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app" class="container">
|
||||
<div class="page-header">
|
||||
<main id="app">
|
||||
<div>
|
||||
<div class="pull-right">
|
||||
<p><a href="https://tilde.team/"><- back to tilde team</a></p>
|
||||
</div>
|
||||
<h1>~ben</h1>
|
||||
<p v-cloak>{{ tagline }}
|
||||
<button class="btn btn-xs btn-primary" @click="getnewtagline">
|
||||
<button @click="getnewtagline">
|
||||
<i class="fa fa-refresh"></i>
|
||||
</button>
|
||||
</p>
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
<p>i built and maintain tilde.team. come join the tilde team
|
||||
|
@ -54,19 +63,19 @@
|
|||
<h3>play with some ascii art</h3>
|
||||
</strong>
|
||||
<form>
|
||||
<div class="form-group">
|
||||
<div>
|
||||
<label for="font-selector">pick a font</label>
|
||||
<select v-model="font" id="font-selector" @change="updateOutput" class="form-control">
|
||||
<select v-model="font" id="font-selector" @change="updateOutput">
|
||||
<option v-for="font in fonts" :value="font">{{ font }}</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div>
|
||||
<label for="asciiinput">put some text here</label>
|
||||
<input v-model="text" id="asciiinput" @input="updateOutput" placeholder="put some text here" class="form-control">
|
||||
<input v-model="text" id="asciiinput" @input="updateOutput" placeholder="put some text here">
|
||||
</div>
|
||||
|
||||
<div class="form-group" v-if="output">
|
||||
<div v-if="output">
|
||||
<pre>{{ output }}</pre>
|
||||
</div>
|
||||
</form>
|
||||
|
@ -74,16 +83,16 @@
|
|||
|
||||
<hr>
|
||||
<div v-cloak>
|
||||
<img :src="yesnoimg" :alt="yesno" class="img-responsive">
|
||||
<img :src="yesnoimg" :alt="yesno">
|
||||
<h3>should u do it</h3>
|
||||
<strong>{{ yesno }}</strong>
|
||||
</div>
|
||||
<a class="btn btn-danger" @click="getyesno">find out</a>
|
||||
<button @click="getyesno">find out</button>
|
||||
|
||||
<h3>page hits as of jan 2020</h3>
|
||||
<script type="text/javascript" src="counter/gcount.php?page=index">
|
||||
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<script src="js/es6-promise.auto.min.js"></script>
|
||||
<script src="js/vue.js"></script>
|
||||
|
|
15
links.php
15
links.php
|
@ -57,13 +57,12 @@ $links = [
|
|||
"extra_attrs" => 'rel="me"'
|
||||
],
|
||||
];
|
||||
?>
|
||||
|
||||
foreach ($links as $name => $link): ?>
|
||||
<ul>
|
||||
<li>
|
||||
<a <?=$link["extra_attrs"] ?? ""?> href="<?=$link["href"]?>">
|
||||
<i class="<?=faclass($link["icon"])?>"></i> <?=$name?></a>
|
||||
</li>
|
||||
</ul>
|
||||
<?php foreach ($links as $name => $link): ?>
|
||||
-> <a <?=$link["extra_attrs"] ?? ""?> href="<?=$link["href"]?>">
|
||||
<i class="<?=faclass($link["icon"])?>"></i> <?=$name?>
|
||||
</a>
|
||||
<br>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<?php endforeach;
|
||||
|
|
Loading…
Reference in New Issue