feat: add about me page
This commit is contained in:
parent
682e13e031
commit
0310cbc8ab
3 changed files with 75 additions and 22 deletions
|
@ -1,22 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>About Me</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div style="display: none;">
|
||||
<h1>Aliberk Sandıkçı</h1>
|
||||
<p>High School Student</p>
|
||||
<p>Linux User</p>
|
||||
<p>Pardus Volunteer</p>
|
||||
|
||||
... (not ready yet)
|
||||
</div>
|
||||
|
||||
<h1>THIS PAGE IS NOT READY YET</h1>
|
||||
</body>
|
||||
|
||||
</html>
|
74
about/index.php
Normal file
74
about/index.php
Normal file
|
@ -0,0 +1,74 @@
|
|||
<!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ıkçı-->
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<!-- Meta Content -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="About ME">
|
||||
<meta name="keywords" content="personal,website,about,information,whoami,aboutme">
|
||||
<meta name="author" content="Aliberk Sandıkçı">
|
||||
|
||||
<!-- 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>About Me| Aliberk Sandıkçı</title>
|
||||
</head>
|
||||
|
||||
|
||||
<body>
|
||||
<div class="block-out">
|
||||
|
||||
<div class="block-in" style="text-align:center;">
|
||||
<div>
|
||||
<h1>Aliberk Sandıkçı</h1>
|
||||
<p>High School Student</p>
|
||||
<p>Linux User</p>
|
||||
<p>Pardus Volunteer</p>
|
||||
|
||||
|
||||
<sup>will be updated, draft.</sup>
|
||||
<br>
|
||||
|
||||
<p><a href="../link">My Links</a></p>
|
||||
<p><a href="../now">What I am doing now</a></p>
|
||||
<p style="display: none;">My Achivements</p>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<p style="text-align:center">This page is still in active development</p>
|
||||
<p style="text-align:center"><a href="../" >Main Page</a></p>
|
||||
<?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>
|
|
@ -13,6 +13,7 @@
|
|||
|
||||
<div>
|
||||
<h3><a href="link/">Links</a><br></h3>
|
||||
<h3><a href="about/">About Me</a></h3>
|
||||
<h3><a href="now/">Now</a></h3>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue