Formatted all pages, added a wip page, make db objects, made all links work
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
<?php
|
||||
class project_info {
|
||||
public $image;
|
||||
public $link;
|
||||
public $text;
|
||||
|
||||
function __construct($image, $link, $text) {
|
||||
$this->image = $image;
|
||||
$this->link = $link;
|
||||
$this->text = $text;
|
||||
}
|
||||
}
|
||||
|
||||
function get_project_data() {
|
||||
$project_object_list = [
|
||||
new project_info(
|
||||
# Image
|
||||
"/assets/img/projects/laptop_server/laptop_setup.jpg",
|
||||
# Href link
|
||||
"/projects/server_setup",
|
||||
# Text Description
|
||||
"Server Setup"
|
||||
),
|
||||
new project_info(
|
||||
"",
|
||||
"/projects/radmod",
|
||||
"Radio Modem"
|
||||
),
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
new project_info(
|
||||
"/assets/img/projects/os_making/qemu1.png",
|
||||
"/projects/operating_system",
|
||||
"OS making"
|
||||
),
|
||||
new project_info(
|
||||
"/assets/img/projects/python_website/python_website.png",
|
||||
"/projects/python_website",
|
||||
"Python HTML framework from scratch"
|
||||
),
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
new project_info(
|
||||
"",
|
||||
"/wip",
|
||||
"Idk what to put here"
|
||||
),
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
new project_info(
|
||||
"/assets/img/projects/arch_chromebook/arch_chromebook.jpg",
|
||||
"/projects/arch_chromebook",
|
||||
"Arch on a Chromebook"
|
||||
),
|
||||
new project_info(
|
||||
"/assets/img/projects/pifetch/pifetch_showcase.gif",
|
||||
"/projects/pifetch",
|
||||
"Pifetch (neofetch alternative)"
|
||||
)
|
||||
];
|
||||
return $project_object_list;
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user