feature: add after yks page

This commit is contained in:
Aliberk Sandıkçı 2023-10-26 15:43:27 +03:00
parent 5b1bbe96ef
commit 31a6669647
Signed by: asandikci
GPG Key ID: 25C67A03B5666BC1
2 changed files with 73 additions and 3 deletions

70
after-yks/index.php Normal file
View File

@ -0,0 +1,70 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<?php
### ERROR HANDLING ###
function warnError($errno, $errstr, $errfile, $errline)
{
echo "<br><p style='padding:0px;margin:0px;background-color:white;color:black;'><b style='color:red;'>Error:</b> [$errno] $errstr <br> in file <b style='color:blue'>$errfile</b> line <b style='color:red'>$errline</b></p>";
}
set_error_handler("warnError");
if (!$_SERVER['DOCUMENT_ROOT']) {
$_SERVER['DOCUMENT_ROOT'] = '/weblink';
}
# TODO separate file
?>
<head>
<!--!Copyright © 2023 Aliberk Sandıı-->
<meta charset="UTF-8">
<!-- Meta Content -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="After-YKS">
<meta name="keywords" content="personal,website,YKS,YKS exam, YKS sınavı, Sınav, Sınav Sonrası, After YKS, after-yks">
<meta name="author" content="Aliberk Sandıı">
<!-- CSS Files -->
<?php
$dir = new DirectoryIterator($_SERVER['DOCUMENT_ROOT'] . "/assets/css");
foreach ($dir as $file) {
if ((!$file->isDot()) && str_ends_with($file, ".css")) {
echo '<link rel="stylesheet" href="/assets/css/' . $file . '">' . PHP_EOL . ' ';
}
} ?>
<title>After YKS | Aliberk Sandıı</title>
</head>
<body>
<header>
<a href="/" id="hlogo"><img src="/assets/images/icons/favicon.png"></a>
<div class="tmpinfo">This page is still in active development</div>
</header>
<article style="text-align:center;align-items:center;">
<h1>After YKS</h1>
<p>Hello, probably you came this page with clicking a link placed in my Git Projects' issues or PRs</p>
<p>This means I will start making this project/issue/PR/checlist item(inner task) after YKS exam</p>
<p>So there won't be any progress until July 30</p>
<p>I am open for help before/after this date with any postponed task</p>
<p>Stay tuned!</p>
</article>
<footer>
<div class="tmpinfo">This page is still in active development</div>
</footer>
<?php
$dir = new DirectoryIterator($_SERVER['DOCUMENT_ROOT'] . "/assets/js");
foreach ($dir as $file) {
if ((!$file->isDot()) && str_ends_with($file, ".js") && $file != "jquery.js") {
echo '<script src="/assets/js/' . $file . '"></script>' . PHP_EOL . ' ';
}
} ?>
</body>
</html>

View File

@ -89,7 +89,7 @@ body {
}
.tmpinfo {
//TMP
//TMP
color: $cur-color4;
}
}
@ -256,7 +256,7 @@ body {
border-top: $accent-color 1px solid;
.tmpinfo {
//TMP
//TMP
color: $cur-color4;
}
}
@ -266,4 +266,4 @@ body {
.HID {
display: none;
}
}