diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/index.php b/index.php new file mode 100644 index 0000000..6c47c76 --- /dev/null +++ b/index.php @@ -0,0 +1,89 @@ +<!DOCTYPE HTML> +<html lang="en"> + <head> + <title>Squibid's Site</title> + <link rel="stylesheet" href="style.css"> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + </head> + <body style="background-color: #161617;"> + <div id="master"> + <header> + <h1 id="font"><a href="/">Squibid's</a> Website</h1> + </header> + <hr style="color: #f7f7f7;"> + <div id="left"> + <div id="group"> <!-- Welcome Section --> + <hgroup> + <h2 id="font">Welcome</h2> + </hgroup> + <p> + Hi my name is Squibid, and this is my website! I will be using it + for anything that I find interesting along with some of my personal + projects and a blog. + <br><br> + Got a question? <a href="mailto:me@zacharyscheiman.com", + title="me@zacharyscheiman.com">Email me</a>. + It's not likely that I will respond fast as I do not check my + messages often. + </p> + </div> + <br> + <div id="group"> <!-- Git Section --> + <hgroup> + <h2 id="font", style="margin-bottom: 0;">Pinned Git Repos</h2> + <p style="margin-top: 0;"> + my best projects + </p> + </hgroup> + <p>My best repos are</p> + <ul> + <li><a href="https://git.squi.bid/wallheaven">Wallheaven</a> - + A private frontend for wallhaven written in + <a href="https://php.net">php</a>! + </li> + <li><a href="https://git.squi.bid/eat-it">eat it</a> - + Eat It is a <a href="https://mpv.io", title="Mpv's Website">Mpv</a> + package manager written in <a href="https://lua.org", + title="Lua's Website">Lua</a> with the intent of making Mpv + scripts easier to update and use.</li> + <li><a href="https://git.squi.bid/coreutils">coreutils</a> - + My simple posix (if I can do that) complient core utils witten in + <a href="https://www.iso-9899.info/wiki/The_Standard", + title="C ISO standard">C</a> :)</li> + </ul> + <p><a href="https://git.squi.bid">more...</a></p> + </div> + </div> + <div id="right"> + <div id="group"> <!-- Blog Section --> + <hgroup> + <h2 id="font", style="margin-bottom: 0;">My Blog</h2> + <p style="text-align: center; margin-top: 0;"> + <a href="/blog/rss.xml", title="rss">subscribe</a> + </p> + </hgroup> + <p id="blogpreview"> + <?php + $path = "blog"; + $files = scandir($path."/"); + $i = 0; + foreach ($files as $file) { + if (preg_match("/.+?(?=\.html|\.php)/", $file, $matches)) { + if ($i > 4) + break; + $tags = get_meta_tags($path.'/'.$file); + printf('<a href='.$path.'/%s>%s</a><span>%s</span><br>', + $matches[0], str_replace("-", " ", $matches[0]), + $tags["date"] ? $tags["date"] : "¯\_(ツ)_/¯"); + $i++; + } + } + ?> + </p> + <a href="/blog">more...</a> + </div> + </div> + </div> + </body> +</html> |