]> git.bochard.net Git - mysite.git/commitdiff
new version!
authorbochard <mail@tenkyuu.dev>
Fri, 27 Jun 2025 03:22:04 +0000 (11:22 +0800)
committerbochard <mail@tenkyuu.dev>
Fri, 27 Jun 2025 03:22:04 +0000 (11:22 +0800)
23 files changed:
.gitignore [new file with mode: 0644]
.htaccess
CNAME [deleted file]
error_docs/401.html [deleted file]
error_docs/403.html [deleted file]
error_docs/404.html [deleted file]
error_docs/500.html [deleted file]
error_docs/502.html [deleted file]
error_docs/503.html [deleted file]
error_docs/504.html [deleted file]
fonts/COMIC.TTF [deleted file]
fonts/COMICBD.TTF [deleted file]
images/icons/favicon.ico [new file with mode: 0644]
includes/footer.php [deleted file]
includes/header.php [deleted file]
includes/nav.php [deleted file]
includes/under_construction.php [deleted file]
index.php
info.php [deleted file]
links.php [deleted file]
scripts/play_audio.js [deleted file]
sitemap.php [deleted file]
styles/root.css

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..eedc5d7
--- /dev/null
@@ -0,0 +1 @@
+tenkyuu.dev.geany
index a3f409242e4a41d5774e1dafe30d8d084a1f5387..e92221e23fde6e0c544adab9c02b8fc3c157ff89 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -1,14 +1,5 @@
 RewriteEngine On
 
-#redirect www to root
-RewriteCond %{HTTP_HOST} ^www\.tenkyuu\.dev [NC]
-RewriteRule ^(.*)$ http://tenkyuu.dev/$1 [R=301,L]
-
-#error pages
-ErrorDocument 401 /error_docs/401.html
-ErrorDocument 403 /error_docs/403.html
-ErrorDocument 404 /error_docs/404.html
-ErrorDocument 500 /error_docs/500.html
-ErrorDocument 502 /error_docs/502.html
-ErrorDocument 503 /error_docs/503.html
-ErrorDocument 504 /error_docs/504.html
\ No newline at end of file
+#Redirect root to www
+RewriteCond %{HTTP_HOST} ^.tenkyuu\.dev [NC]
+RewriteRule ^(.*)$ https://www.tenkyuu.dev/$1 [R=301,L]
diff --git a/CNAME b/CNAME
deleted file mode 100755 (executable)
index c53cc2b..0000000
--- a/CNAME
+++ /dev/null
@@ -1 +0,0 @@
-tenkyuu.dev
\ No newline at end of file
diff --git a/error_docs/401.html b/error_docs/401.html
deleted file mode 100644 (file)
index 204546b..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-  <meta charset="utf-8">
-  <meta http-equiv="x-ua-compatible" content="ie=edge">
-  <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
-  <meta name="description" content="Unathorized access.">
-  <title>page doesn't exist!!</title>
-</head>
-<body background="/images/backgrounds/backgroundclouds.gif">
-  <h1>This page requires authenticaion!</h1>
-  <p>Are you just trying to access this page? Smells fishy, huh?!</p>
-  <a href="/">
-    <img src="/images/gifs/backhomepage.gif" width="300" alt="back to home">
-  </a>
-</body>
-</html>
\ No newline at end of file
diff --git a/error_docs/403.html b/error_docs/403.html
deleted file mode 100644 (file)
index 2dc6cfc..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-  <meta charset="utf-8">
-  <meta http-equiv="x-ua-compatible" content="ie=edge">
-  <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
-  <meta name="description" content="you are not authorized to access this page.">
-  <title>page doesn't exist!!</title>
-</head>
-<body background="/images/backgrounds/backgroundclouds.gif">
-  <h1>Go back, you're not allowed here!</h1>
-  <p>Why are you trying to access this page, huh??</p>
-  <a href="/">
-    <img src="/images/gifs/backhomepage.gif" width="300" alt="back to home">
-  </a>
-</body>
-</html>
\ No newline at end of file
diff --git a/error_docs/404.html b/error_docs/404.html
deleted file mode 100644 (file)
index 87d4709..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-  <meta charset="utf-8">
-  <meta http-equiv="x-ua-compatible" content="ie=edge">
-  <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
-  <meta name="description" content="this page cannot be located on my server.">
-  <title>page doesn't exist!!</title>
-</head>
-<body background="/images/backgrounds/backgroundclouds.gif">
-  <h1>I can't find that page :&lt;</h1>
-  <p>There's no such link like that on my site. are you looking for easter eggs?!</p>
-  <a href="/">
-    <img src="/images/gifs/backhomepage.gif" width="300" alt="back to home">
-  </a>
-</body>
-</html>
\ No newline at end of file
diff --git a/error_docs/500.html b/error_docs/500.html
deleted file mode 100644 (file)
index 5b64c8d..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-  <meta charset="utf-8">
-  <meta http-equiv="x-ua-compatible" content="ie=edge">
-  <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
-  <meta name="description" content="an error occured on my server.">
-  <title>page doesn't exist!!</title>
-</head>
-<body background="/images/backgrounds/backgroundclouds.gif">
-  <h1>what the... what happened?!</h1>
-  <p>I don't know why my server won't work, maybe a hacker tried to attack it! oh no. Can you try refreshing the page?</p>
-  <a href="/">
-    <img src="/images/gifs/backhomepage.gif" width="300" alt="back to home">
-  </a>
-</body>
-</html>
\ No newline at end of file
diff --git a/error_docs/502.html b/error_docs/502.html
deleted file mode 100644 (file)
index e8e701d..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-  <meta charset="utf-8">
-  <meta http-equiv="x-ua-compatible" content="ie=edge">
-  <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
-  <meta name="description" content="Bad Gateway...">
-  <title>page doesn't exist!!</title>
-</head>
-<body background="/images/backgrounds/backgroundclouds.gif">
-  <h1>The Gateway is BADASS.</h1>
-  <p>There's a gate problem, it won't budge. It might been stuck.</p>
-  <a href="/">
-    <img src="/images/gifs/backhomepage.gif" width="300" alt="back to home">
-  </a>
-</body>
-</html>
\ No newline at end of file
diff --git a/error_docs/503.html b/error_docs/503.html
deleted file mode 100644 (file)
index 38b5d52..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-  <meta charset="utf-8">
-  <meta http-equiv="x-ua-compatible" content="ie=edge">
-  <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
-  <meta name="description" content="The server can't serve.">
-  <title>page doesn't exist!!</title>
-</head>
-<body background="/images/backgrounds/backgroundclouds.gif">
-  <h1>Service is unavailable for some reason...</h1>
-  <p>Wait, the waiter is still serving other people. Give some time to him, he's doing his best.</p>
-  <a href="/">
-    <img src="/images/gifs/backhomepage.gif" width="300" alt="back to home">
-  </a>
-</body>
-</html>
\ No newline at end of file
diff --git a/error_docs/504.html b/error_docs/504.html
deleted file mode 100644 (file)
index 2a1129b..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-  <meta charset="utf-8">
-  <meta http-equiv="x-ua-compatible" content="ie=edge">
-  <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
-  <meta name="description" content="Timeout!">
-  <title>page doesn't exist!!</title>
-</head>
-<body background="/images/backgrounds/backgroundclouds.gif">
-  <h1>You're too slow.</h1>
-  <p>The gate has a timer, you didn't reached it.</p>
-  <a href="/">
-    <img src="/images/gifs/backhomepage.gif" width="300" alt="back to home">
-  </a>
-</body>
-</html>
\ No newline at end of file
diff --git a/fonts/COMIC.TTF b/fonts/COMIC.TTF
deleted file mode 100755 (executable)
index da55369..0000000
Binary files a/fonts/COMIC.TTF and /dev/null differ
diff --git a/fonts/COMICBD.TTF b/fonts/COMICBD.TTF
deleted file mode 100755 (executable)
index d45744f..0000000
Binary files a/fonts/COMICBD.TTF and /dev/null differ
diff --git a/images/icons/favicon.ico b/images/icons/favicon.ico
new file mode 100644 (file)
index 0000000..e892591
Binary files /dev/null and b/images/icons/favicon.ico differ
diff --git a/includes/footer.php b/includes/footer.php
deleted file mode 100755 (executable)
index bb02fe7..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<footer>
-  <div style="text-align: left">
-    <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>
-  </div>
-</footer>
-<script src="/scripts/play_audio.js"></script>
-<script data-goatcounter="https://bochard.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
\ No newline at end of file
diff --git a/includes/header.php b/includes/header.php
deleted file mode 100755 (executable)
index b11521f..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<input type="image" id="play-bgm-btn" src="/images/gifs/bevelwood.gif"><span id="play-bgm-txt">click to play music! :&rpar;</span>
-<audio id="bg-music" src="/audios/background/rejectedworld.mp3" loop></audio>
-<header style="text-align: center;">
-  <img src="/images/gifs/doraemon.gif" alt="doraemon hello gif" width="100">
-  <img src="/images/gifs/welcomemovetree.gif" alt="tree with welcome text gif" width="300">
-  <p style="font-size: 40px; font-weight: bold;">welcome to my website!</p>
-</header>
\ No newline at end of file
diff --git a/includes/nav.php b/includes/nav.php
deleted file mode 100644 (file)
index dd4c665..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-<nav style="text-align: center;">
-  <a href="/">
-    <img src="/images/navigation/homepage.png">
-  </a>
-  <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>
-  <a href="/sitemap.php">
-    <img src="/images/navigation/sitemap.png">
-  </a>
-  <a href="/files/">
-    <img src="/images/navigation/files.png">
-  </a>
-</nav>
\ No newline at end of file
diff --git a/includes/under_construction.php b/includes/under_construction.php
deleted file mode 100644 (file)
index 2774c92..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<div align="center">
-  <img src="/images/under_construction/underconstructionimg.gif" alt="under construction barrier" width="200">
-</div>
\ No newline at end of file
index 43098afeffe73f4c3d18d9e22b213e987cc6cafc..8786348a03024c70cd878b1cefc7a59217d4dce8 100755 (executable)
--- a/index.php
+++ b/index.php
@@ -5,64 +5,90 @@
 <!DOCTYPE html>\r
 <html lang="en">\r
 <head>\r
-    <meta charset="UTF-8">\r
-    <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">\r
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\r
     <meta name="robots" content="index, follow">\r
-    <link rel="icon" type="image/ico" href="/images/">\r
+    <link rel="shortcut icon" href="/images/icons/favicon.ico">\r
 \r
   <title>bochard's net home</title>\r
-  <meta name="description" content="Welcome to my net home! this website are my space to show my hobbies, thoughts, and other fun stuffs. I am a 17 year old Filipino who learned how to code just by myself. Hope you enjoy visiting my site! :)">\r
-  <meta property="og:title" content="bochard's net home">\r
-  <meta property="og:description" content="I code on paper and create websites out of it.">\r
-  <meta property="og:image" content="/images/">\r
+  <meta name="description" content="Welcome to my net home! this website are my space to show my hobbies, thoughts, and other fun stuffs. I am an 18 years old who learned how to code just by myself. Hope you enjoy visiting my site! :)">\r
 \r
+<!-- some styles, i want to keep the site simple. -->\r
   <link rel="stylesheet" href="/styles/root.css">\r
 <style>\r
-  h1 {\r
-    font-size: 40px;\r
-  }\r
-  p {\r
-    font-size: 20px;\r
-  }\r
-  section {\r
-    margin-top: 40px;\r
-  }\r
-  h2 {\r
-    font-size: 24px;\r
-    margin-bottom: 10px;\r
-  }\r
-  table {\r
-    width: 100%;\r
-    margin: 0 auto;\r
-  }\r
-  table, th, td {\r
-    border: 1px solid #000000;\r
-  }\r
-  th, td {\r
-    font-size: 18px;\r
-    padding: 6px;\r
-  }\r
+html, body {\r
+  height: 100%;\r
+  width: 100%;\r
+}\r
+body {\r
+  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;\r
+  margin: 0 auto;\r
+}\r
+table {\r
+  height: 100%;\r
+  width: 100%;\r
+}\r
+.sidebar {\r
+  background-image: url(./images/backgrounds/backgroundclouds.gif);\r
+  background-repeat: repeat-y;\r
+  vertical-align: top;\r
+  height: 100%;\r
+  width: 120px;\r
+  padding: 15px 10px;\r
+}\r
+.sidebar > ul {\r
+  list-style-type: none;\r
+  margin-top: 0;\r
+  padding-left: 15px;\r
+}\r
+.sidebar p {\r
+  margin-bottom: 5px;\r
+}\r
+.sidebar a {\r
+  text-decoration: none;\r
+  color: inherit;\r
+}\r
+.sidebar-footer {\r
+  width: 10px;\r
+}\r
+.body {\r
+  vertical-align: top;\r
+  padding-left: 15px;\r
+}\r
+.content-wrap {\r
+  width: 700px;\r
+  padding: 0 10px;\r
+}\r
 </style>\r
 </head>\r
-<body>\r
-<?php include_once($path . '/header.php');?>\r
-\r
-  <main>\r
-    <img src="/images/gifs/titles/homepageburning.gif" class="page-title">\r
-    <?php include_once($path . '/nav.php');?>\r
-    <section style="text-align: center;">\r
-      <h1>You found my net home!</h1>\r
-      <p>Hi! welcome to my net home.</p>\r
-      <p>i have nothing to say yet. writing intro is hard. sorry! ðŸ˜¢ðŸ˜­</p>\r
-    </section>\r
-\r
-    <section>\r
-      <div style="text-align: center;">\r
-        <iframe src="https://bochard.atabook.org/" style="width: 100%; height: 700px" frameBorder="0">Your web browser is not compatible to iframe.</iframe>\r
-      </div>\r
-    </section>\r
-  </main>\r
-\r
-  <?php include_once($path . '/footer.php');?>\r
+<body>    \r
+  <table> \r
+    <tr>\r
+      <!-- this is for the sidebar -->\r
+      <td class="sidebar">\r
+        <p><strong>Site Menu</strong></p>\r
+        <ul>  \r
+          <li><a href="/">home</a></li>\r
+          <li><a href="./about-me.php">about bochard</a></li>\r
+          <li><a href="./files">my files</a></li>\r
+          <li><a href="mailto:mail@tenkyuu.dev">email me</a></li>\r
+        </ul>\r
+        \r
+        <hr>\r
+        <!-- cute badges and other cool things goes here -->\r
+          <!-- hitwebcounter Code START -->\r
+          <a href="https://www.hitwebcounter.com" target="_blank"><img src="https://hitwebcounter.com/counter/counter.php?page=20998791&style=0019&nbdigits=5&type=ip&initCount=231" title="Counter Widget" Alt="Visit counter For Websites"   border="0" /></a>\r
+        <a href="http://www.anybrowser.org/campaign/"><img src="/images/gifs/badges/anybrowser.gif" alt="Viewable With Any Browser" width="100"></a>\r
+        <script data-goatcounter="https://bochard.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>\r
+      </td>\r
+      \r
+      <!-- ...and this is for the content -->\r
+      <td class="body">\r
+        <div class="content-wrap">\r
+          <h1>welcome to bochard's net home!'</h1>\r
+          <p>i don't really have much to say. but try to explore the site. it is not big but, i like it. it is my corner of the internet. here you can see what i do, some fun things, and my thoughts to certain topics. hope you'll have fun! :&rpar;</p>\r
+        </div>\r
+      </td>\r
+    </tr>\r
+  </table>\r
 </body>\r
-</html>
\ No newline at end of file
+</html>\r
diff --git a/info.php b/info.php
deleted file mode 100644 (file)
index de0d57c..0000000
--- a/info.php
+++ /dev/null
@@ -1,34 +0,0 @@
-<?php
-  $path = $_SERVER['DOCUMENT_ROOT'];
-  $path .= '/includes';
-?>
-<!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="some personal information about me :)">
-  <meta name="robots" content="index, follow">
-  <title>more about me!</title>
-  <link rel="icon" type="image/ico" href="/images/">
-
-  <link rel="stylesheet" href="/styles/root.css">
-</head>
-<body>
-  <?php include_once($path . '/header.php');?>
-
-  <main>
-    <img src="/images/gifs/titles/infopageburning.gif" class="page-title">
-    <?php include_once($path . '/nav.php');?>
-    <section style="text-align: center;">
-      <h1>About me!</h1>
-      <p>Sorry, nothing to see here yet :&lt;</p>
-    </section>
-    <section>
-      <?php include_once($path . '/under_construction.php');?>
-    </section>
-  </main>
-
-  <?php include_once($path . '/footer.php');?>
-</body>
-</html>
\ No newline at end of file
diff --git a/links.php b/links.php
deleted file mode 100755 (executable)
index 057ba3b..0000000
--- a/links.php
+++ /dev/null
@@ -1,34 +0,0 @@
-<?php
-  $path = $_SERVER['DOCUMENT_ROOT'];
-  $path .= '/includes';
-?>
-<!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="useful links.">
-  <meta name="robots" content="index, follow">
-  <title>some useful resources</title>
-  <link rel="icon" type="image/ico" href="/images/">
-
-  <link rel="stylesheet" href="/styles/root.css">
-</head>
-<body>
-  <?php include_once($path . '/header.php');?>
-
-  <main>
-    <img src="/images/gifs/titles/linkspageburning.gif" class="page-title">
-    <?php include_once($path . '/nav.php');?>
-    <section style="text-align: center;">
-      <h1>Some useful links.</h1>
-      <p>Sorry, nothing to see here yet :&lt;</p>
-    </section>
-    <section>
-      <?php include_once($path . '/under_construction.php');?>
-    </section>
-  </main>
-
-  <?php include_once($path . '/footer.php');?>
-</body>
-</html>
\ No newline at end of file
diff --git a/scripts/play_audio.js b/scripts/play_audio.js
deleted file mode 100755 (executable)
index 32e6520..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-function playBGM(){
-  const audio = document.getElementById("bg-music");
-  if(audio.paused){
-    audio.play()
-    updateText("playing");
-  }
-  else {
-    audio.pause();
-    updateText("paused");
-  }
-}
-
-function updateText(status){
-  const playBGMText = document.getElementById("play-bgm-txt");
-  switch(status){
-    case "playing":
-      playBGMText.textContent = "Yay! music is now playing :0";
-      break;
-    case "paused":
-      playBGMText.textContent = "WHY YOU STOPPED THE MUSIC!! :'(";
-      break;
-  }
-}
-
-document.getElementById("play-bgm-btn").addEventListener("click", function(){
-  playBGM();
-})
\ No newline at end of file
diff --git a/sitemap.php b/sitemap.php
deleted file mode 100755 (executable)
index 747d94f..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?php
-  $path = $_SERVER['DOCUMENT_ROOT'];
-  $path .= '/includes';
-?>
-<!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 website's sitemap">
-  <meta name="robots" content="index, follow">
-  <title>bochard's net sitemap</title>
-  <link rel="icon" type="image/ico" href="/images/">
-
-  <link rel="stylesheet" href="/styles/root.css">
-</head>
-<body>
-  <?php include_once($path . '/header.php');?>
-
-  <main>
-    <img src="/images/gifs/titles/sitemappageburning.gif" class="page-title">
-    <?php include_once($path . '/nav.php');?>
-    <section style="text-align: center;">
-      <h1>All paths to my site.</h1>
-      <p>Sorry, nothing to see here yet :&lt;</p>
-    </section>
-    <section>
-      <?php include_once($path . '/under_construction.php');?>
-    </section>
-  </main>
-
-  <?php include_once($path . '/footer.php');?>
-</body>
-</html>
\ No newline at end of file
index 44502b3cd7d4a9e044b456627b64d92586bc4ccd..8b137891791fe96927ad78e64b0aad7bded08bdc 100644 (file)
@@ -1,38 +1 @@
-*, ::before, ::after {
-  box-sizing: border-box;
-}
-html {
-  background-image: url(/images/backgrounds/backgroundclouds.gif);
-  background-position: center;
-}
-body {
-  font-family: serif;
-  margin: 0 auto;
-  width: 95%;
-  max-width: 1000px;
-  height: 100%;
-}
-main {
-  background-image: url(/images/backgrounds/bg-canvas.gif);
-  background-repeat: repeat;
-  background-position: center;
-  border: 7px outset #000000;
-  border-radius: 8px;
-  padding: 20px;
-}
-footer {
-  display: flex;
-  justify-content: center;
-  align-items: center;
-  margin-top: 20px;
-  margin-bottom: 200px;
-}
-a {
-  text-decoration: none;
-}
-.page-title {
-  display: block;
-  margin: auto;
-  width: 100%;
-  max-width: 500px;
-}
\ No newline at end of file
+