Idk
This commit is contained in:
parent
5fb898e38c
commit
09a5ed2d23
@ -6,9 +6,11 @@ require '../helpers.php';
|
|||||||
|
|
||||||
use WillySoft\Route as App;
|
use WillySoft\Route as App;
|
||||||
|
|
||||||
App::get('/', function() {
|
App::get('/', fn() =>
|
||||||
view('home');
|
view('home'));
|
||||||
});
|
|
||||||
|
App::get('/test', fn() =>
|
||||||
|
view('test'));
|
||||||
|
|
||||||
http_response_code(404);
|
http_response_code(404);
|
||||||
view('404');
|
view('404');
|
@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
:root {
|
:root {
|
||||||
--primary: #181820;
|
--primary: #181818;
|
||||||
--secondary: #22222f;
|
--secondary: #222222;
|
||||||
--text: #eee;
|
--text: #eee;
|
||||||
--links: #aaf;
|
--links: #aaf;
|
||||||
}
|
}
|
||||||
@ -24,14 +24,14 @@ body {
|
|||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
|
font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
|
||||||
|
|
||||||
padding: .75rem;
|
padding: .75rem;
|
||||||
max-width: 47rem;
|
max-width: 47rem;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
display: none;
|
border: 0;
|
||||||
|
border-bottom: 1px solid var(--text);
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
@ -61,7 +61,7 @@ img {
|
|||||||
display: block;
|
display: block;
|
||||||
height: auto;
|
height: auto;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
max-height: 20rem;
|
max-height: 30rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
<?= view('header', ['title' => 'Page not found']) ?>
|
<?= view('header', ['title' => 'Page not found']) ?>
|
||||||
|
|
||||||
<h1>Page not found</h1>
|
|
||||||
|
|
||||||
<p>Sorry, the page you requested could not be found on this server.</p>
|
<p>Sorry, the page you requested could not be found on this server.</p>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
@ -12,6 +10,8 @@ if (!isset($_SERVER['HTTP_REFERER'])) {
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<a href="<?=htmlspecialchars($referer)?>">Return</a>
|
<p>
|
||||||
|
You may choose to <a href="<?=htmlspecialchars($referer)?>">go back</a> or ponder.
|
||||||
|
</p>
|
||||||
|
|
||||||
<?= view('footer') ?>
|
<?= view('footer') ?>
|
@ -5,17 +5,19 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link rel="stylesheet" href="<?=url('/')?>style.css">
|
<link rel="stylesheet" href="<?=url('/')?>style.css">
|
||||||
<title><?=$title?></title>
|
<title><?=$title?> | William's Website</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
|
<h1>William's Website</h1>
|
||||||
|
<p><i>More than just willies! Most of the time.</i></p>
|
||||||
<nav>
|
<nav>
|
||||||
<a href="<?=url('/')?>">Home</a> |
|
<a href="<?=url('/')?>">Homepage</a>,
|
||||||
<a href="http://status.trygve.me">Status</a>
|
<a href="//status.trygve.me">Status</a>,
|
||||||
|
<a href="//arngren.net">Open directory</a>
|
||||||
</nav>
|
</nav>
|
||||||
<hr>
|
<hr>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
|
<h1><?=$title?></h1>
|
@ -1,24 +1,45 @@
|
|||||||
<?= view('header', ['title' => 'Home']) ?>
|
<?= view('header', ['is_index' => true, 'title' => 'Service']) ?>
|
||||||
|
|
||||||
<h1>Service</h1>
|
|
||||||
<p>This space hosts some services for me and friends.</p>
|
<p>This space hosts some services for me and friends.</p>
|
||||||
|
|
||||||
<ul>
|
<div style="
|
||||||
<li>
|
padding: .75rem;
|
||||||
<a href="//git.willy.club">Gitea</a><br>
|
background: var(--secondary);
|
||||||
A place to host your code
|
margin-bottom: .75rem;
|
||||||
</li>
|
">
|
||||||
<li>
|
<h2 style="
|
||||||
<a href="#">Matrix homeserver</a><br>
|
margin-top: 0;
|
||||||
<span style="color: red">Registrations closed for the time being maybe forever</span>
|
"><a href="//git.willy.club">Gitea</a></h2>
|
||||||
<br>
|
<span>A place to host your shitty code</span>
|
||||||
Easy to use end-to-end encrypted comms
|
</div>
|
||||||
</li>
|
|
||||||
<li>
|
<s>
|
||||||
<a href="mumble://mumble.willy.club">Mumble</a><br>
|
<div style="
|
||||||
Voice chat application
|
padding: .75rem;
|
||||||
</li>
|
background: var(--secondary);
|
||||||
</ul>
|
margin-bottom: .75rem;
|
||||||
|
">
|
||||||
|
<h2 style="
|
||||||
|
margin-top: 0;
|
||||||
|
"><a href="#">Matrix Homeserver</a></h2>
|
||||||
|
<span>Secure end-to-end encrypted messaging powered by mossad</span>
|
||||||
|
</div>
|
||||||
|
</s>
|
||||||
|
|
||||||
|
<div style="
|
||||||
|
padding: .75rem;
|
||||||
|
background: var(--secondary);
|
||||||
|
margin-bottom: .75rem;
|
||||||
|
">
|
||||||
|
<h2 style="
|
||||||
|
margin-top: 0;
|
||||||
|
"><a href="mumble://mumble.willy.club">Mumble</a></h2>
|
||||||
|
<span>Shitpost with your mouth</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h1>Why are we still here</h1>
|
||||||
|
|
||||||
|
<p>I'm bathing in the flora of the seed of which I have excreted.</p>
|
||||||
|
|
||||||
<h1>Touch</h1>
|
<h1>Touch</h1>
|
||||||
|
|
||||||
@ -29,9 +50,24 @@
|
|||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<?=date("d.m.Y")?> - <a href="/posts/0">Restoring my dignity</a> (forever draft)<br>
|
<i><?=date("d.m.Y")?></i> - <a href="/posts/0">Restoring my dignity</a> (forever draft)<br>
|
||||||
I have fallen and I can't get up
|
I have fallen and I can't get up
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<h1>Stuffs</h1>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Check out this
|
||||||
|
<a href="<?=url('/test')?>">test page</a>
|
||||||
|
for formatting stuffs.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Lack motive, ambition aspirations and all that shit? Check out this video on
|
||||||
|
<a href="https://www.youtube.com/watch?v=5WPB2u8EzL8">how to get motivated, sigma grindset motivational story</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>Amen</p>
|
||||||
|
|
||||||
<?= view('footer') ?>
|
<?= view('footer') ?>
|
50
view/test.php
Normal file
50
view/test.php
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
<?= view('header', ['title' => 'Test page for formatting stuffs']) ?>
|
||||||
|
|
||||||
|
<p>What will the page look like?</p>
|
||||||
|
|
||||||
|
<a href="/non-existing-page">Click here to test the functionality of the go back button</a>
|
||||||
|
|
||||||
|
<h2>Tables</h2>
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<th>Company</th>
|
||||||
|
<th>Contact</th>
|
||||||
|
<th>Country</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Alfreds Futterkiste</td>
|
||||||
|
<td>Maria Anders</td>
|
||||||
|
<td>Germany</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Centro comercial Moctezuma</td>
|
||||||
|
<td>Francisco Chang</td>
|
||||||
|
<td>Mexico</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<h2>Images</h2>
|
||||||
|
|
||||||
|
<img src="https://images.vy.no/4ay35n74hs/Vossebanen.jpeg" alt="">
|
||||||
|
|
||||||
|
<p>This is train</p>
|
||||||
|
|
||||||
|
<h1>pres & codes</h1>
|
||||||
|
|
||||||
|
<pre>
|
||||||
|
Intelligence Chart
|
||||||
|
__
|
||||||
|
.' '.
|
||||||
|
You / \ Me
|
||||||
|
| _.' '._ |
|
||||||
|
_v__....---'' ''---....___________v___
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
This is <code>inline</code>!
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h1>😀 😃 😄 😁 😆 😅 😂 🤣 😊 😇 🙂 🙃 😉 😌 😍 🥰 😘 😗 😙 😚 😋 😛 😝 😜 🤪 🤨 🧐 🤓 😎 🤩 🥳 😏 😒 😞 😔 😟 😕 🙁 ☹️ 😣 😖 😫 😩 🥺 😢 😭 😤 😠 😡 🤬 🤯 😳 🥵 🥶 😱 😨 😰 😥 😓 🤗 🤔 🤭 🤫 🤥 😶 😐 😑 😬 🙄 😯 😦 😧 😮 😲 🥱 😴 🤤 😪 😵 🤐 🥴 🤢 🤮 🤧 😷 🤒 🤕 🤑 🤠 😈 👿 👹 👺 🤡 💩 👻 💀 ☠️ 👽 👾 🤖 🎃 😺 😸 😹 😻 😼 😽 🙀 😿 😾🐶 🐱 🐭 🐹 🐰 🦊 🐻 🐼 🐻❄️ 🐨 🐯 🦁 🐮 🐷 🐽 🐸 🐵 🙈 🙉 🙊 🐒 🐔 🐧 🐦 🐤 🐣 🐥 🦆 🦅 🦉 🦇 🐺 🐗 🐴 🦄 🐝 🪱 🐛 🦋 🐌 🐞 🐜 🪰 🪲 🪳 🦟 🦗 🕷 🕸 🦂 🐢 🐍 🦎 🦖 🦕 🐙 🦑 🦐 🦞 🦀 🐡 🐠 🐟 🐬 🐳 🐋 🦈 🐊 🐅 🐆 🦓 🦍 🦧 🦣 🐘 🦛 🦏 🐪 🐫 🦒 🦘 🦬 🐃 🐂 🐄 🐎 🐖 🐏 🐑 🦙 🐐 🦌 🐕 🐩 🦮 🐕🦺 🐈 🐈⬛ 🪶 🐓 🦃 🦤 🦚 🦜 🦢 🦩 🕊 🐇 🦝 🦨 🦡 🦫 🦦 🦥 🐁 🐀 🐿 🦔 🐾 🐉 🐲 🌵 🎄 🌲 🌳 🌴 🪵 🌱 🌿 ☘️ 🍀 🎍 🪴 🎋 🍃 🍂 🍁 🍄 🐚 🪨 🌾 💐 🌷 🌹 🥀 🌺 🌸 🌼 🌻 🌞 🌝 🌛 🌜 🌚 🌕 🌖 🌗 🌘 🌑 🌒 🌓 🌔 🌙 🌎 🌍 🌏 🪐 💫 ⭐️ 🌟 ✨ ⚡️ ☄️ 💥 🔥 🌪 🌈 ☀️ 🌤 ⛅️ 🌥 ☁️ 🌦 🌧 ⛈ 🌩 🌨 ❄️ ☃️ ⛄️ 🌬 💨 💧 💦 ☔️ ☂️ 🌊 🌫 🍏 🍎 🍐 🍊 🍋 🍌 🍉 🍇 🍓 🫐 🍈 🍒 🍑 🥭 🍍 🥥 🥝 🍅 🍆 🥑 🥦 🥬 🥒 🌶 🫑 🌽 🥕 🫒 🧄 🧅 🥔 🍠 🥐 🥯 🍞 🥖 🥨 🧀 🥚 🍳 🧈 🥞 🧇 🥓 🥩 🍗 🍖 🦴 🌭 🍔 🍟 🍕 🫓 🥪 🥙 🧆 🌮 🌯 🫔 🥗 🥘 🫕 🥫 🍝 🍜 🍲 🍛 🍣 🍱 🥟 🦪 🍤 🍙 🍚 🍘 🍥 🥠 🥮 🍢 🍡 🍧 🍨 🍦 🥧 🧁 🍰 🎂 🍮 🍭 🍬 🍫 🍿 🍩 🍪 🌰 🥜 🍯 🥛 🍼 🫖 ☕️ 🍵 🧃 🥤 🧋 🍶 🍺 🍻 🥂 🍷 🥃 🍸 🍹 🧉 🍾 🧊 🥄 🍴 🍽 🥣 🥡 🥢 🧂 ⚽️ 🏀 🏈 ⚾️ 🥎 🎾 🏐 🏉 🥏 🎱 🪀 🏓 🏸 🏒 🏑 🥍 🏏 🪃 🥅 ⛳️ 🪁 🏹 🎣 🤿 🥊 🥋 🎽 🛹 🛼 🛷 ⛸ 🥌 🎿 ⛷ 🏂 🪂 🏋️♀️ 🏋️ 🏋️♂️ 🤼♀️ 🤼 🤼♂️ 🤸♀️ 🤸 🤸♂️ ⛹️♀️ ⛹️ ⛹️♂️ 🤺 🤾♀️ 🤾 🤾♂️ 🏌️♀️ 🏌️ 🏌️♂️ 🏇 🧘♀️ 🧘 🧘♂️ 🏄♀️ 🏄 🏄♂️ 🏊♀️ 🏊 🏊♂️ 🤽♀️ 🤽 🤽♂️ 🚣♀️ 🚣 🚣♂️ 🧗♀️ 🧗 🧗♂️ 🚵♀️ 🚵 🚵♂️ 🚴♀️ 🚴 🚴♂️ 🏆 🥇 🥈 🥉 🏅 🎖 🏵 🎗 🎫 🎟 🎪 🤹 🤹♂️ 🤹♀️ 🎭 🩰 🎨 🎬 🎤 🎧 🎼 🎹 🥁 🪘 🎷 🎺 🪗 🎸 🪕 🎻 🎲 ♟ 🎯 🎳 🎮 🎰 🧩🚗 🚕 🚙 🚌 🚎 🏎 🚓 🚑 🚒 🚐 🛻 🚚 🚛 🚜 🦯 🦽 🦼 🛴 🚲 🛵 🏍 🛺 🚨 🚔 🚍 🚘 🚖 🚡 🚠 🚟 🚃 🚋 🚞 🚝 🚄 🚅 🚈 🚂 🚆 🚇 🚊 🚉 ✈️ 🛫 🛬 🛩 💺 🛰 🚀 🛸 🚁 🛶 ⛵️ 🚤 🛥 🛳 ⛴ 🚢 ⚓️ 🪝 ⛽️ 🚧 🚦 🚥 🚏 🗺 🗿 🗽 🗼 🏰 🏯 🏟 🎡 🎢 🎠 ⛲️ ⛱ 🏖 🏝 🏜 🌋 ⛰ 🏔 🗻 🏕 ⛺️ 🛖 🏠 🏡 🏘 🏚 🏗 🏭 🏢 🏬 🏣 🏤 🏥 🏦 🏨 🏪 🏫 🏩 💒 🏛 ⛪️ 🕌 🕍 🛕 🕋 ⛩ 🛤 🛣 🗾 🎑 🏞 🌅 🌄 🌠 🎇 🎆 🌇 🌆 🏙 🌃 🌌 🌉 🌁⌚️ 📱 📲 💻 ⌨️ 🖥 🖨 🖱 🖲 🕹 🗜 💽 💾 💿 📀 📼 📷 📸 📹 🎥 📽 🎞 📞 ☎️ 📟 📠 📺 📻 🎙 🎚 🎛 🧭 ⏱ ⏲ ⏰ 🕰 ⌛️ ⏳ 📡 🔋 🔌 💡 🔦 🕯 🪔 🧯 🛢 💸 💵 💴 💶 💷 🪙 💰 💳 💎 ⚖️ 🪜 🧰 🪛 🔧 🔨 ⚒ 🛠 ⛏ 🪚 🔩 ⚙️ 🪤 🧱 ⛓ 🧲 🔫 💣 🧨 🪓 🔪 🗡 ⚔️ 🛡 🚬 ⚰️ 🪦 ⚱️ 🏺 🔮 📿 🧿 💈 ⚗️ 🔭 🔬 🕳 🩹 🩺 💊 💉 🩸 🧬 🦠 🧫 🧪 🌡 🧹 🪠 🧺 🧻 🚽 🚰 🚿 🛁 🛀 🧼 🪥 🪒 🧽 🪣 🧴 🛎 🔑 🗝 🚪 🪑 🛋 🛏 🛌 🧸 🪆 🖼 🪞 🪟 🛍 🛒 🎁 🎈 🎏 🎀 🪄 🪅 🎊 🎉 🎎 🏮 🎐 🧧 ✉️ 📩 📨 📧 💌 📥 📤 📦 🏷 🪧 📪 📫 📬 📭 📮 📯 📜 📃 📄 📑 🧾 📊 📈 📉 🗒 🗓 📆 📅 🗑 📇 🗃 🗳 🗄 📋 📁 📂 🗂 🗞 📰 📓 📔 📒 📕 📗 📘 📙 📚 📖 🔖 🧷 🔗 📎 🖇 📐 📏 🧮 📌 📍 ✂️ 🖊 🖋 ✒️ 🖌 🖍 📝 ✏️ 🔍 🔎 🔏 🔐 🔒 🔓❤️ 🧡 💛 💚 💙 💜 🖤 🤍 🤎 💔 ❣️ 💕 💞 💓 💗 💖 💘 💝 💟 </h1>
|
||||||
|
|
||||||
|
<?= view('footer') ?>
|
Loading…
Reference in New Issue
Block a user