]> git.bochard.net Git - mysite.git/commitdiff
added a navigation link
authorbochard <mail@tenkyuu.dev>
Fri, 25 Apr 2025 12:26:10 +0000 (20:26 +0800)
committerbochard <mail@tenkyuu.dev>
Fri, 25 Apr 2025 12:26:10 +0000 (20:26 +0800)
filesystem.php [deleted file]
images/gifs/titles/projectspageburning.gif [new file with mode: 0644]
images/navigation/projects.png [new file with mode: 0644]
includes/footer.php
includes/nav.php
index.php
info.php
links.php
projects/index.php
sitemap.php

diff --git a/filesystem.php b/filesystem.php
deleted file mode 100644 (file)
index 923e532..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-function displayDirectory($dir, $level = 0) {
-    // Open the directory
-    if ($handle = opendir($dir)) {
-        // Loop through the directory contents
-        while (false !== ($entry = readdir($handle))) {
-            // Skip the current and parent directory entries
-            if ($entry != "." && $entry != "..") {
-                // Indent based on the level of depth
-                echo str_repeat("&nbsp;", $level * 4); // 4 spaces for each level
-                echo "<li>$entry</li>";
-
-                // If the entry is a directory, recursively call this function
-                if (is_dir($dir . '/' . $entry)) {
-                    echo "<ul>";
-                    displayDirectory($dir . '/' . $entry, $level + 1);
-                    echo "</ul>";
-                }
-            }
-        }
-        closedir($handle);
-    }
-}
-
-// Start displaying from the current directory
-echo "<h1>Filesystem Structure</h1>";
-echo "<ul>";
-displayDirectory(__DIR__); // Use __DIR__ to start from the current directory
-echo "</ul>";
-?>
diff --git a/images/gifs/titles/projectspageburning.gif b/images/gifs/titles/projectspageburning.gif
new file mode 100644 (file)
index 0000000..fb0f9d1
Binary files /dev/null and b/images/gifs/titles/projectspageburning.gif differ
diff --git a/images/navigation/projects.png b/images/navigation/projects.png
new file mode 100644 (file)
index 0000000..302c696
Binary files /dev/null and b/images/navigation/projects.png differ
index 1c50cd07cb8a2ec57ecd81153c8e657b83e3d46c..bb02fe798c5df8cbaa0b1b8de0f0c4b08357ab43 100755 (executable)
@@ -3,7 +3,7 @@
     <p># of visitors: </p><script type="text/javascript" src="https://counter.websiteout.com/js/14/7/0/1"></script>
   </div>
   <div style="text-align: right">
-    <a href="http://www.anybrowser.org/campaign/"><img src="./images/gifs/badges/anybrowser.gif" alt="Viewable With Any Browser" /></a>
+    <a href="http://www.anybrowser.org/campaign/"><img src="/images/gifs/badges/anybrowser.gif" alt="Viewable With Any Browser" /></a>
   </div>
 </footer>
 <script src="/scripts/play_audio.js"></script>
index 922481e4a1a929f3c6c9832a8aaf5e2a3a7c3480..dd4c665637e33eee080ccccaef6f6813abddf994 100644 (file)
@@ -5,6 +5,9 @@
   <a href="/info.php">
     <img src="/images/navigation/info.png">
   </a>
+  <a href="/projects/">
+    <img src="/images/navigation/projects.png">
+  </a>
   <a href="/links.php">
     <img src="/images/navigation/links.png">
   </a>
index 6a0a62cd264dc5ee78ccc052c74218f52b15288c..6ca785a2478338a7fec13f5dda3d7b51d2ab6e1f 100755 (executable)
--- a/index.php
+++ b/index.php
@@ -2,7 +2,7 @@
 <html lang="en">\r
 <head>\r
     <meta charset="UTF-8">\r
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">\r
+    <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">\r
     <meta name="robots" content="index, follow">\r
     <link rel="icon" type="image/ico" href="/images/">\r
 \r
index a7b06d9483c1ff685bfa2a4a08c5ea503eeb7164..e4930094e018f04702078926c0672295dbf56125 100644 (file)
--- a/info.php
+++ b/info.php
@@ -3,9 +3,9 @@
 <head>
   <meta charset="UTF-8">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
-  <meta name="description" content="useful links.">
+  <meta name="description" content="some personal information about me :)">
   <meta name="robots" content="index, follow">
-  <title>useful resources</title>
+  <title>more about me!</title>
   <link rel="icon" type="image/ico" href="/images/">
 
   <link rel="stylesheet" href="/styles/root.css">
index 5bf46a7ecc2c754c8a7ef9be376eeb01f3056c52..45ddc33494c1bdac012a64124b28f08f77a1f938 100755 (executable)
--- a/links.php
+++ b/links.php
@@ -5,7 +5,7 @@
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <meta name="description" content="useful links.">
   <meta name="robots" content="index, follow">
-  <title>useful resources</title>
+  <title>some useful resources</title>
   <link rel="icon" type="image/ico" href="/images/">
 
   <link rel="stylesheet" href="/styles/root.css">
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..3139ac1fcbb811cb1f9e999b9c5dd6a239ccef61 100755 (executable)
@@ -0,0 +1,51 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+  <meta charset="UTF-8">
+  <meta name="viewport" content="width=device-width, initial-scale=1.0">
+  <meta name="description" content="my coding projects.">
+  <meta name="robots" content="index, follow">
+  <title>bochard's projects list</title>
+  <link rel="icon" type="image/ico" href="/images/">
+
+  <link rel="stylesheet" href="/styles/root.css">
+</head>
+<body>
+  <?php include '../includes/header.php';?>
+
+  <main>
+    <img src="/images/gifs/titles/projectspageburning.gif" class="page-title">
+    <?php include './includes/nav.php';?>
+    <section style="text-align: center;">
+      <h1>My projects' list</h1>
+      <p>below are some of the coding projects I made, some of them are left unfinished.</p>
+    </section>
+    <section>
+      <ul>
+        <li>
+          <a href="./palindrome-checker">palindrome checker</a>
+          <p>this checks if a word is the same even when reversed, regardless of any punctuations.</p>
+        </li>
+        <li>
+          <a href="./roman-numeral-converter">roman numeral converter</a>
+          <p>converts integers to a roman type. for instance, "28" becomes "XXVIII".</p>
+        </li>
+        <li>
+          <a href="./temperature-converter">temperature converter</a>
+          <p>this one is actually inspired from a physics class in my 12th grade. our topic that time is about gas laws.</p>
+        </li>
+        <li>
+          <a href="./simple-cash-register">temperature converter</a>
+          <p>you know what's a cash register, right? riGhHT?! RIGHTTT!!?</p>
+        </li>
+        <li>
+          <a href="./drum-ka-dum">drum ka dum!</a>
+          <p>not that much, just a basic drum that uses a keyboard.</p>
+        </li>
+      </ul>
+    </section>
+  </main>
+
+  <?php include '../includes/footer.php';?>
+</body>
+</html>
\ No newline at end of file
index 128a04c252b678644b77c55f50383bc657933b80..069c9e3b3d756d906e0c20556445e758b4679e61 100755 (executable)
@@ -5,7 +5,7 @@
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <meta name="description" content="my website's sitemap">
   <meta name="robots" content="index, follow">
-  <title>sitemap</title>
+  <title>bochard's net sitemap</title>
   <link rel="icon" type="image/ico" href="/images/">
 
   <link rel="stylesheet" href="/styles/root.css">