diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-06-27 18:15:58 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-06-27 18:15:58 +0200 |
commit | 3f4214cabe09e7aecc96a7685d2871300156773d (patch) | |
tree | 33e31382f4e535919e8e584a92643ab3caff081c | |
parent | Better text (diff) | |
download | joe-www-3f4214cabe09e7aecc96a7685d2871300156773d.tar.gz joe-www-3f4214cabe09e7aecc96a7685d2871300156773d.tar.bz2 joe-www-3f4214cabe09e7aecc96a7685d2871300156773d.tar.xz joe-www-3f4214cabe09e7aecc96a7685d2871300156773d.tar.zst joe-www-3f4214cabe09e7aecc96a7685d2871300156773d.zip |
Added the projects welcome page
-rw-r--r-- | css/site.css | 2 | ||||
-rw-r--r-- | inc/classic-contents.inc.php | 23 | ||||
-rw-r--r-- | links.php | 4 | ||||
-rw-r--r-- | projects.php | 20 |
4 files changed, 44 insertions, 5 deletions
diff --git a/css/site.css b/css/site.css index 6fe0944..2632e1e 100644 --- a/css/site.css +++ b/css/site.css @@ -190,7 +190,7 @@ div.body-contents code { div.body-contents pre { background-color: #e4e4e4; - border-radius: 5px; + border-radius: 4px; display: block; margin: 0; width: 80%; diff --git a/inc/classic-contents.inc.php b/inc/classic-contents.inc.php index 10030b7..b8c1187 100644 --- a/inc/classic-contents.inc.php +++ b/inc/classic-contents.inc.php @@ -6,7 +6,25 @@ jo_head($title) { <head> <title>Joe's own website - <?php echo "$title"; ?></title> <link rel="stylesheet" type="text/css" href="css/site.css"> - <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <meta charset="UTF-8"> + <meta charset="UTF-8"> + </head> + <body> + <div class="fullpage"> + <header> + <h1><a href="index.php">Joe's dev blog - <?php echo "$title"; ?></a></h1> + </header> +<?php +} + +function +jo_bloat_head($title) { +?> + <html> + <head> + <title>Joe's own website - <?php echo "$title"; ?></title> + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> + <link rel="stylesheet" type="text/css" href="css/site.css"> + <meta charset="UTF-8"> </head> <body> <div class="fullpage"> @@ -29,7 +47,8 @@ jo_sidebar() { <li><a href="">Assembly</a></li> <li><a href="">UNIX</a></li> <li><a href="">GNU Emacs</a></li> - <li><a href="">My projects</a></li> + <li><a href="">My school projects</a></li> + <li><a href="projects.php">My projects</a></li> <li><a href="">My C/C++ style</a></li> <li><a href="links.php">Links</a></li> </ul> @@ -1,5 +1,5 @@ <?php include 'inc/classic-contents.inc.php'; ?> -<?php jo_head("Links"); ?> +<?php jo_bloat_head("Links"); ?> <?php jo_sidebar(); ?> <div class="body-contents"> <h2>My links</h2> @@ -23,7 +23,7 @@ </li> <li> <span class="fa fa-bandcamp"></span> - - My Rock N' Roll band's Bandcamp - + My Rockabilly band's Bandcamp - <a href="https://towerofsilence.bandcamp.com/" target="_blank"> towerofsilence.bandcamp.com </a> diff --git a/projects.php b/projects.php new file mode 100644 index 0000000..74dddcf --- /dev/null +++ b/projects.php @@ -0,0 +1,20 @@ +<?php include 'inc/classic-contents.inc.php'; ?> +<?php jo_head("Projects"); ?> +<?php jo_sidebar(); ?> +<div class="body-contents"> + <h1>My personnal projects</h1> + <p> + These are the personnal projects I have worked on or that are still being developped: + </p> + <ul> + <li> + <a href="">lowbat</a> - + a lightweight low battery notifier for Linux and BSD + </li> + <li> + <a href="">Dergods' Realm II</a> - + a raycasting RPG game + </li> + </ul> +</div> +<?php jo_footer(); ?> |