Add to the log
This commit is contained in:
@@ -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
@@ -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'; ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user