diff --git a/public/static/img/105.gif b/public/static/img/105.gif new file mode 100644 index 0000000..ecb27e9 Binary files /dev/null and b/public/static/img/105.gif differ diff --git a/public/static/img/3d-spinning-toilet-smiley-emoticon-small.gif b/public/static/img/3d-spinning-toilet-smiley-emoticon-small.gif new file mode 100644 index 0000000..35e3627 Binary files /dev/null and b/public/static/img/3d-spinning-toilet-smiley-emoticon-small.gif differ diff --git a/public/static/img/99.png b/public/static/img/99.png new file mode 100644 index 0000000..3e7713f Binary files /dev/null and b/public/static/img/99.png differ diff --git a/public/static/img/welcome-to-willy-club.png b/public/static/img/welcome-to-willy-club.png new file mode 100644 index 0000000..728c752 Binary files /dev/null and b/public/static/img/welcome-to-willy-club.png differ diff --git a/public/static/js/snow.js b/public/static/js/snow.js new file mode 100644 index 0000000..93210e8 --- /dev/null +++ b/public/static/js/snow.js @@ -0,0 +1,97 @@ + +// Cool snow that was TOTALLY NOT stolen from someone else :-) + +// Amount of Snowflakes +var snowMax = 64; + +// Snowflake Colours +var snowColor = ["#fff"]; + +// Snow Entity +var snowEntity = "*"; + +// Falling Velocity +var snowSpeed = 0.75; + +// Minimum Flake Size +var snowMinSize = 16; + +// Maximum Flake Size +var snowMaxSize = 32; + +// Refresh Rate (in milliseconds) +var snowRefresh = 75; + +// Additional Styles +var snowStyles = "z-index: 0; cursor: default; user-select: none;"; + +/* +// End of Configuration +// ---------------------------------------- +// Do not modify the code below this line +*/ + +var snow = [], + pos = [], + coords = [], + lefr = [], + marginBottom, + marginRight; + +function randomise(range) { + rand = Math.floor(range * Math.random()); + return rand; +} + +function initSnow() { + var snowSize = snowMaxSize - snowMinSize; + marginBottom = document.body.scrollHeight - 5; + marginRight = document.body.clientWidth - 15; + + for (i = 0; i <= snowMax; i++) { + coords[i] = 0; + lefr[i] = Math.random() * 15; + pos[i] = 0.03 + Math.random() / 10; + snow[i] = document.getElementById("flake" + i); + snow[i].style.fontFamily = "inherit"; + snow[i].size = randomise(snowSize) + snowMinSize; + snow[i].style.fontSize = snow[i].size + "px"; + snow[i].style.color = snowColor[randomise(snowColor.length)]; + snow[i].style.zIndex = -1; + snow[i].sink = snowSpeed * snow[i].size / 5; + snow[i].posX = randomise(marginRight - snow[i].size); + snow[i].posY = randomise(2 * marginBottom - marginBottom - 2 * snow[i].size); + snow[i].style.left = snow[i].posX + "px"; + snow[i].style.top = snow[i].posY + "px"; + } + + moveSnow(); +} + +function resize() { + marginBottom = document.body.scrollHeight - 5; + marginRight = document.body.clientWidth - 15; +} + +function moveSnow() { + for (i = 0; i <= snowMax; i++) { + coords[i] += pos[i]; + snow[i].posY += snow[i].sink; + snow[i].style.left = snow[i].posX + lefr[i] * Math.sin(coords[i]) + "px"; + snow[i].style.top = snow[i].posY + "px"; + + if (snow[i].posY >= marginBottom - 2 * snow[i].size || parseInt(snow[i].style.left) > (marginRight - 3 * lefr[i])) { + snow[i].posX = randomise(marginRight - snow[i].size); + snow[i].posY = 0; + } + } + + setTimeout("moveSnow()", snowRefresh); +} + +for (i = 0; i <= snowMax; i++) { + document.write("" + snowEntity + ""); +} + +window.addEventListener('resize', resize); +window.addEventListener('load', initSnow); \ No newline at end of file diff --git a/public/static/style/main.css b/public/static/style/main.css index 59f877e..d06338d 100644 --- a/public/static/style/main.css +++ b/public/static/style/main.css @@ -1,10 +1,15 @@ +html, body { + height: 100%; +} + body { - color: #111; - background: #fff; + background: darkblue; + background: url('../img/99.png'); + font-weight: bold; + text-align: center; + color: white; line-height: 1.5; - font-size: 1rem; - font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif; - margin: 0; + font-family: serif; } hr { @@ -12,76 +17,27 @@ hr { } a { - color: #00f; + color: yellow; } -header { - background: #77f; -} -header > nav { - padding: .75rem; - margin: auto; - max-width: 36rem; -} -header > nav > a { - text-decoration: none; - color: #fff; -} - -main { - padding: 0 .75rem 0 .75rem; - margin: auto; - max-width: 36rem; +h1 { + border-bottom: 4px double yellow; + color: yellow; } img { - display: block; height: auto; max-width: 100%; } -table { - display: block; - border-collapse: collapse; - overflow: auto; -} -tbody { - display: table; - width: 100%; -} -td, th { - text-align: left; - padding: .75rem; -} -tr:nth-child(even) { - background: #eee; -} - pre, code { - font-family: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace; - background: #eee; - padding: .75rem; - max-width: 100%; + margin: auto; + font-family: monospace; + background: darkblue; + border: 4px double yellow; + padding: 8px; + max-width: min-content; display: block; overflow-x: auto; overflow-y: hidden; -} - -@media (prefers-color-scheme: dark) { - body { - color: #fff; - background: #000; - } - header { - background: #111; - } - a { - color: #aaf; - } - tr:nth-child(even) { - background: #111; - } - pre, code { - background: #111; - } } \ No newline at end of file diff --git a/routes/start.php b/routes/start.php index 50c8c5e..72ed9e3 100644 --- a/routes/start.php +++ b/routes/start.php @@ -9,8 +9,6 @@ ErrorHandler::register(function($error_messages) { Route::get('/', fn() => view('pages/home')); -Route::get('/matrix', fn() => view('pages/matrix')); - Route::get('/test/$whatever?', function($whatever = 'Default Value') { echo htmlspecialchars($whatever); }); diff --git a/views/errors/404.php b/views/errors/404.php index 1eaf2d5..50dfa22 100644 --- a/views/errors/404.php +++ b/views/errors/404.php @@ -1,5 +1,5 @@ 'Page not found'])?>

Page not found

-

The page you requested could not be found on this server

+

Sorry the page you requested could not be found on this server

Go home \ No newline at end of file diff --git a/views/pages/home.php b/views/pages/home.php index d386116..8d1fec4 100644 --- a/views/pages/home.php +++ b/views/pages/home.php @@ -1,37 +1,42 @@ 'Welcome to the Willy Club'])?> -

Welcome to the Willy Club

- -

More than just willies! Most of the time.

+

More than just willies! Most of the time.

Not at all associated with thewilly.club ASSHOLES squatting my domain name with their shitty NFTs, this is the original.

+the Willy Club(WC) + +

Service list

+

This space hosts some services for me and friends, maybe it will host some other stuff down the line if I'm not too lazy.

- - - - - - - - - - - - - - - - - -
NameStatus
GiteaTBD
MatrixTBD
MumbleTBD
+

Gitea server

+ +

Software and stuffs

+ +Click here to open + +

Matrix homeserver

+ +

REGISTRATIONS CLOSED FOR THE TIME BEING!

+ +

Come hang out with the other terminally online losers on the Willy Club matrix homeserver. You can also use it to communicate freely or whatever.

+ +

You can register on a client that supports it by adding:

+ +https://matrix.willy.club + +

as the homeserver, have fun and be nice!

+ +

Mumble server

+ +Click here to open in your client

Flirt with the webmaster

Send me a nice and positive message on matrix: @william:willy.club

-

Awesome webring or something

+

Awesome webring

Check out any of these other aweeesome websites!

diff --git a/views/pages/matrix.php b/views/pages/matrix.php deleted file mode 100644 index 499a05a..0000000 --- a/views/pages/matrix.php +++ /dev/null @@ -1,15 +0,0 @@ - 'Matrix Homeserver'])?> - -

Matrix Homeserver

- -

REGISTRATIONS CLOSED FOR THE TIME BEING!

- -

Come hang out with the other terminally online losers on the Willy Club matrix homeserver. You can also use it to communicate freely or whatever.

- -

You can register on a client that supports it by adding:

- -https://matrix.willy.club - -

as the homeserver, have fun and be nice!

- - \ No newline at end of file diff --git a/views/templates/footer.php b/views/templates/footer.php index 743d55b..a9442c6 100644 --- a/views/templates/footer.php +++ b/views/templates/footer.php @@ -1,3 +1,9 @@ + +
+
+ the Willy Club(WC) +
+ Copyeverything © 2020 - 2194 \ No newline at end of file diff --git a/views/templates/header.php b/views/templates/header.php index 4e33048..3069e89 100644 --- a/views/templates/header.php +++ b/views/templates/header.php @@ -1,3 +1,11 @@ + @@ -9,10 +17,21 @@ + + + +
- + + +
+
+ + + Click here to go to the homepage! +