From cd351c83e1901abeb9cbc0942f971fc799c56a3d Mon Sep 17 00:00:00 2001 From: Salt Date: Sat, 10 Oct 2020 23:34:51 -0500 Subject: [PATCH] Add an actual site --- deploy.sh | 3 +++ index.php | 23 ++++++++++++++++++++++- src/header.php | 4 ++++ src/meta.php | 18 ++++++++++++++++++ styles/styles.css | 42 ++++++++++++++++++++++++++++++++++++++++++ test.sh | 10 ++++++++++ 6 files changed, 99 insertions(+), 1 deletion(-) create mode 100755 deploy.sh create mode 100644 src/header.php create mode 100644 src/meta.php create mode 100644 styles/styles.css create mode 100755 test.sh diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..3857c5d --- /dev/null +++ b/deploy.sh @@ -0,0 +1,3 @@ +#! /bin/sh +ssh -t salt@thefuck.how sudo git -C /var/www/www pull + diff --git a/index.php b/index.php index 9daeafb..8a6b292 100644 --- a/index.php +++ b/index.php @@ -1 +1,22 @@ -test + + + + + thefuck.how + + + +
+

Connect to the Server

+

Open Minecraft, click "Multiplayer", "Add Server", and drop this IP in:

+ thefuck.how +

That's the IP. You put thefuck.how into your Minecraft client and you get the server.

+

I Have a Problem

+

You can message one of the server admins when they're on, or alternatively, you can message any of the staff members on discord:

+ +
+ + diff --git a/src/header.php b/src/header.php new file mode 100644 index 0000000..723ed77 --- /dev/null +++ b/src/header.php @@ -0,0 +1,4 @@ +
+

thefuck.how

+ i showed you my ram stick please respond +
diff --git a/src/meta.php b/src/meta.php new file mode 100644 index 0000000..f75d106 --- /dev/null +++ b/src/meta.php @@ -0,0 +1,18 @@ + + + + + + + diff --git a/styles/styles.css b/styles/styles.css new file mode 100644 index 0000000..70a1fe1 --- /dev/null +++ b/styles/styles.css @@ -0,0 +1,42 @@ +/* + * styles.css + * Copyright (C) 2020 Vintage Salt + * + * Distributed under terms of the MIT license. + */ + +:root { + --background: #808; + --text: #0ff; + --text-code: #ff0; +} +body { + background: var(--background); + color: var(--text); +} +code { + color: var(--text-code); + display: inline-block; + font-size: 12pt; + padding: 2px 8px; +} +code.bigcode { + display: block; + font-size: 300%; + text-align: center; + margin: auto; + padding: 0; +} +.header { + padding: 1em; + text-align: center; +} +.header h1 { + font-size: 300%; + margin: 0; +} +.content { + margin: 0 auto; + max-width: 48em; + padding: 1em; +} diff --git a/test.sh b/test.sh new file mode 100755 index 0000000..2fdf625 --- /dev/null +++ b/test.sh @@ -0,0 +1,10 @@ +#! /bin/sh +# +# test.sh +# Copyright (C) 2020 Vintage Salt +# +# Distributed under terms of the MIT license. +# + +php -S localhost:8000 +