diff --git a/htdocs/assets/_footer.php b/htdocs/assets/_footer.php
index ce20b63..ccbf602 100644
--- a/htdocs/assets/_footer.php
+++ b/htdocs/assets/_footer.php
@@ -17,7 +17,7 @@
Featured
num_rows > 0) {
while($featured_footer_item = $featured_projects_footer -> fetch_assoc()) {
diff --git a/htdocs/assets/style.css b/htdocs/assets/style.css
index dd89f9c..b1edf72 100644
--- a/htdocs/assets/style.css
+++ b/htdocs/assets/style.css
@@ -809,10 +809,18 @@ video {
margin-top: 2.2rem;
}
+.mb-24 {
+ margin-bottom: 6rem;
+}
+
.flex {
display: flex;
}
+.table {
+ display: table;
+}
+
.hidden {
display: none;
}
diff --git a/htdocs/core/query_functions.php b/htdocs/core/query_functions.php
index d9cc34e..b42fed3 100644
--- a/htdocs/core/query_functions.php
+++ b/htdocs/core/query_functions.php
@@ -1,4 +1,11 @@
query($sql);
+ return $result;
+}
+
//function to create an array of all unique project years
function create_project_years_array($conn) {
$sql = "SELECT DISTINCT year FROM projects ORDER BY year DESC";
@@ -20,11 +27,4 @@ function fetch_projects_by_year($conn, $year) {
$result = $conn -> query($sql);
return $result;
}
-
-//function to fetch all featured projects
-function fetch_featured_projects($conn) {
- $sql = "SELECT * FROM featured_projects";
- $result = $conn -> query($sql);
- return $result;
-}
?>
\ No newline at end of file
diff --git a/htdocs/projects.php b/htdocs/projects.php
index 629e9e9..490914e 100644
--- a/htdocs/projects.php
+++ b/htdocs/projects.php
@@ -123,7 +123,7 @@ $years = create_project_years_array($conn);
num_rows > 0){
//show top 2 featured projects for sidebar
@@ -152,12 +152,21 @@ $years = create_project_years_array($conn);
?>
Currently Working On
-
-
React Web Development
-
Android OS & Apps
-
Automation & Python
-
Javascript Library
-
AI & ML
+
+ num_rows > 0) {
+ //show all currently working on topics
+ while($working_on_topic = $working_on -> fetch_assoc()) {
+ echo"
+
".$working_on_topic['title']."
+ ";
+ }
+ }
+
+ ?>