aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcloudburst <cloudburst@equestria.dev>2023-06-29 09:25:47 +0100
committercloudburst <cloudburst@equestria.dev>2023-06-29 09:25:47 +0100
commit16d76491c06f1cfc744114398260ab5893ecc614 (patch)
tree3baf769d30839a3b7aa87e887c2d551d1d352705
parentafc6de938faf8bb75a5702474ee28669f3d7f051 (diff)
downloadrubyjubilee-16d76491c06f1cfc744114398260ab5893ecc614.tar.gz
rubyjubilee-16d76491c06f1cfc744114398260ab5893ecc614.tar.bz2
rubyjubilee-16d76491c06f1cfc744114398260ab5893ecc614.zip
Remove age, reword pronouns.page textHEADmane
-rw-r--r--assets/style.css4
-rw-r--r--assets/style.scss4
-rw-r--r--includes/main.php5
-rw-r--r--index.php4
4 files changed, 6 insertions, 11 deletions
diff --git a/assets/style.css b/assets/style.css
index 84b89e6..94e4bab 100644
--- a/assets/style.css
+++ b/assets/style.css
@@ -12103,7 +12103,7 @@ a {
margin: 2% 2% 0 2%;
}
.flag {
- width: 8%;
+ width: 52.25px;
box-sizing: border-box;
}
body .main-content {
@@ -12116,7 +12116,7 @@ a {
}
@media (max-width: 400px) {
.flag {
- width: 15%;
+ width: 52.25px;
box-sizing: border-box;
}
}
diff --git a/assets/style.scss b/assets/style.scss
index eb40f77..c40da5e 100644
--- a/assets/style.scss
+++ b/assets/style.scss
@@ -223,7 +223,7 @@ a {
}
.flag {
- width: 8%;
+ width: 52.250px;
box-sizing: border-box;
}
@@ -239,7 +239,7 @@ a {
@media (max-width: 400px) {
.flag {
- width: 15%;
+ width: 52.250px;
box-sizing: border-box;
}
}
diff --git a/includes/main.php b/includes/main.php
index 5eb1d8c..5a4493a 100644
--- a/includes/main.php
+++ b/includes/main.php
@@ -10,10 +10,6 @@ $xml = simplexml_load_string(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/con
$json = json_encode($xml);
$array = json_decode($json, true);
-$birthdate = new DateTime(trim($array["birthday"]));
-$today = new DateTime();
-$interval = $today->diff($birthdate);
-
$myFlags = [];
$mySocials = [];
$flags = [];
@@ -45,7 +41,6 @@ $config = [
"pronouns" => trim($array["pronouns"]),
"gender" => trim($array["gender"]),
"timezone" => trim($array["timezone"]),
- "age" => $interval->y,
"flags" => $myFlags,
"bio" => parseMarkdown(trim($array["bio"])),
"socials" => $mySocials,
diff --git a/index.php b/index.php
index a63dd2a..fbe7ba2 100644
--- a/index.php
+++ b/index.php
@@ -33,7 +33,7 @@ $greeting = $greetings[array_rand($greetings)]; ?>
?>!</h1>
<h2>I'm <?= $config["name"] ?>!</h2>
<h6>I use <b><?= $config["pronouns"] ?></b> pronouns.</h6>
- <h5>I'm a <?= $config["age"] ?> year old <?= $config["gender"] ?> on the internet!</h5>
+ <h5>I'm a <?= $config["gender"] ?> on the internet!</h5>
<hr>
<p>
<?= $config["bio"] ?>
@@ -53,7 +53,7 @@ $greeting = $greetings[array_rand($greetings)]; ?>
?>
</div>
<br>
- <h5>But read my pronouns.page before interacting with me please!</h5>
+ <h5>You can find my pronouns.page here!</h5>
<div>
<a class="social shadow-sm" href="<?= $config["pronounspage"] ?>" target="_blank"><img src="/assets/pronounspage.svg" alt="Pronouns.page" class="social-icon"> Pronouns.page</a>
</div>