Add to the log

This commit is contained in:
2026-05-04 00:08:02 -04:00
parent db715c53f8
commit 07f433d2da
2 changed files with 9 additions and 1 deletions
+8
View File
@@ -1,5 +1,13 @@
{ {
"entries": [ "entries": [
{
"title": "End of April",
"date": "2026-04-01",
"listening": "Semi-Charmed Life - Third Eye Blind",
"reading": "I Deliver Parcels in Beijing - Anyan Hu",
"working on": "VLANs",
"playing": "Bloons TD6"
},
{ {
"title": "Post Valentines Day", "title": "Post Valentines Day",
"date": "2026-02-19", "date": "2026-02-19",
+1 -1
View File
@@ -5,7 +5,7 @@ include $_SERVER['DOCUMENT_ROOT'] . '/includes/head.php';
$data = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . '/assets/data/log.json'), true); $data = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . '/assets/data/log.json'), true);
$entries = $data['entries'] ?? []; $entries = $data['entries'] ?? [];
$fields = ['listening', 'watching', 'reading', 'working on', 'thinking']; $fields = ['listening', 'watching','playing', 'reading', 'working on', 'thinking'];
?> ?>
<body class="bg-[#0a0a0a] text-white min-h-screen"> <body class="bg-[#0a0a0a] text-white min-h-screen">
<?php include $_SERVER['DOCUMENT_ROOT'] . '/includes/nav.php'; ?> <?php include $_SERVER['DOCUMENT_ROOT'] . '/includes/nav.php'; ?>