Skip to main content

New Commit: updated library

Repository: Hestenb62/_legacy_backup

Author: Hesten Berger

Commit Message: updated library

URL: https://github.com/Hestenb62/_legacy_backup/commit/8e6fe5ed291b3035d52cfe5c00e5c7b353d3d3b3

Code Changes:

diff --git a/library/bookd.json b/library/bookd.json
index 323d712..89ee4e2 100644
--- a/library/bookd.json
+++ b/library/bookd.json
@@ -43,7 +43,7 @@
             "description": "A dystopian social science fiction novel and cautionary tale. The story follows the life of Winston Smith, a low-ranking member of 'the Party'.",
             "pdf-link": "https://cdn.hestena62.com/library/Nineteen%20eighty-four%20-%20Goerge%20Orwell.pdf",
             "epub-link": "https://cdn.hestena62.com/library/Nineteen%20eighty-four%20-%20George%20Orwell.epub",
-            "read-online-link": "/library/read/reader.php?book=1984",
+            "read-online-link": "/library/read/index.php?book=1984",
             "txt-link": "https://cdn.hestena62.com/library/Nineteen%20eighty-four%20-%20George%20Orwell.txt",
             "mobi-link": "https://cdn.hestena62.com/library/Nineteen%20eighty-four%20-%20George%20Orwell.mobi",
             "word-link": "https://cdn.hestena62.com/library/Nineteen%20eighty-four%20-%20George%20Orwell.docx",
@@ -74,7 +74,7 @@
             "description": "The story of Victor Frankenstein, a young scientist who creates a sapient creature in an unorthodox scientific experiment.",
             "pdf-link": "https://www.gutenberg.org/ebooks/84",
             "epub-link": "https://www.gutenberg.org/ebooks/84",
-            "read-online-link": "/library/read/reader.php?book=frankenstein",
+            "read-online-link": "/library/read/index.php?book=frankenstein",
             "lexile": "1170L",
             "grade": "Grades 9-12",
             "local-file": "pg84-images.html"
@@ -199,7 +199,7 @@
             "description": "'The United States Constitution' by United States is a foundational document drafted in 1787 and operational since 1789. Born from the failures of the Articles of Confederation, it establishes the supreme law of America through seven original articles defining federal government structure. Influenced by Enlightenment philosophy and English common law, it separates power among legislative, executive, and judicial branches. Twenty-seven amendments have since expanded individual rights and modified governmental processes, making it the world's oldest written national constitution still in force.",
             "pdf-link": "",
             "epub-link": "https://www.gutenberg.org/ebooks/5.epub.images",
-             "read-online-link": "/library/read/reader.php?book=usa-constitution",
+             "read-online-link": "/library/read/index.php?book=usa-constitution",
             "txt-link": "https://www.gutenberg.org/ebooks/5.txt.utf-8",
             "mobi-link": "",
             "word-link": "",
diff --git a/library/read/()()()(()1984.php b/library/read/()()()(()1984.php
deleted file mode 100644
index 9bc95ac..0000000
--- a/library/read/()()()(()1984.php
+++ /dev/null
@@ -1,12094 +0,0 @@
-<?php
-// --- Page-Specific Variables ---
-$pageTitle = "1984 | Hesten's Learning";
-$pageDescription = "Read 1984 by George Orwell online at Hesten's Learning e-library, with full accessibility support.";
-$pageKeywords = "ebook, online reader, 1984, George Orwell, accessible reading";
-$pageAuthor = "Hesten Allison";
-
-// --- INCLUDE THE HEADER (Root) ---
-include '../../src/header.php';
-?>
-
-<!-- Reader Specific Styles -->
-<style>
-  /* Clean Reader Layout */
-  #reader-container {
-    max-width: 800px;
-    margin: 0 auto;
-    padding: 2rem;
-  }
-
-  /* Progress Bar */
-  #progress-bar-container {
-    position: fixed;
-    top: 0;
-    left: 0;
-    width: 100%;
-    height: 4px;
-    background-color: var(--color-base-bg, #eee);
-    z-index: 1001;
-  }
-
-  #progress-bar {
-    height: 100%;
-    width: 0;
-    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
-    transition: width 0.1s ease-out;
-  }
-
-  /* Sticky Header for Controls */
-  #reader-controls {
-    position: sticky;
-    top: 0;
-    z-index: 50;
-    background-color: var(--color-base-bg);
-    border-bottom: 1px solid var(--color-text-secondary);
-    padding: 1rem 0;
-    margin-bottom: 2rem;
-    transition: background-color 0.3s;
-  }
-
-  /* Add backdrop blur for premium feel if supported */
-  @supports (backdrop-filter: blur(10px)) {
-    #reader-controls {
-      background-color: transparent;
-      backdrop-filter: blur(10px);
-    }
-  }
-
-  /* Typography Enhancements */
-  #book-content p {
-    margin-bottom: 1.5em;
-    text-align: justify;
-  }
-
-  /* Disable justify for Dyslexic font */
-  body.font-dyslexic #book-content p {
-    text-align: left;
-  }
-
-  /* Tooltip Styling */
-  .tooltip {
-    position: relative;
-    display: inline-block;
-    cursor: help;
-    border-bottom: 2px dotted var(--color-accent);
-    color: var(--color-primary);
-    font-weight: 600;
-  }
-
-  .tooltip .tooltiptext {
-    visibility: hidden;
-    width: 240px;
-    background-color: var(--color-content-bg, #ffffff);
-    color: var(--color-text-default);
-    border: 1px solid var(--color-text-secondary);
-    text-align: center;
-    border-radius: 12px;
-    padding: 12px;
-    position: absolute;
-    z-index: 100;
-    bottom: 140%;
-    left: 50%;
-    transform: translateX(-50%);
-    opacity: 0;
-    transition: opacity 0.3s, transform 0.3s, bottom 0.3s;
-    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
-    font-weight: 500;
-    font-size: 0.95em;
-    line-height: 1.4;
-    pointer-events: auto;
-    display: flex;
-    flex-direction: column;
-    gap: 10px;
-  }
-
-  /* Transparent bridge to maintain hover state */
-  .tooltip .tooltiptext::after {
-    content: "";
-    position: absolute;
-    bottom: -30px;
-    left: 0;
-    width: 100%;
-    height: 35px;
-    background: transparent;
-  }
-
-  .tooltip:hover .tooltiptext {
-    visibility: visible;
-    opacity: 1;
-    bottom: 130%;
-  }
-
-  /* Tooltip Action Buttons */
-  .tooltip-actions {
-    display: flex;
-    justify-content: center;
-    gap: 10px;
-    border-top: 1px solid var(--color-text-secondary);
-    padding-top: 10px;
-    margin-top: 4px;
-  }
-
-  .tooltip-btn {
-    background: var(--color-primary);
-    color: white;
-    border: none;
-    padding: 6px 12px;
-    border-radius: 8px;
-    cursor: pointer;
-    font-size: 0.85rem;
-    transition: all 0.2s ease;
-    display: flex;
-    align-items: center;
-    gap: 6px;
-  }
-
-  .tooltip-btn:hover {
-    background: var(--color-secondary);
-    transform: translateY(-2px);
-    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
-  }
-
-  .tooltip-btn i {
-    font-size: 0.9rem;
-  }
-
-  /* Chapter Navigation styling */
-  .chapter-section {
-    display: none;
-  }
-
-  .chapter-section.active {
-    display: block !important;
-    animation: fadeIn 0.5s ease-in-out;
-  }
-
-  .teacher-only.chapter-section {
-    border: none !important;
-    padding: 0 !important;
-    background: transparent !important;
-  }
-
-  @keyframes fadeIn {
-    from {
-      opacity: 0;
-      transform: translateY(10px);
-    }
-    to {
-      opacity: 1;
-      transform: translateY(0);
-    }
-  }
-
-  /* Go To Top */
-  #go-to-top-btn {
-    display: none;
-    position: fixed;
-    bottom: 90px;
-    right: 24px;
-    z-index: 99;
-    padding: 12px;
-    border-radius: 50%;
-    background: var(--color-primary);
-    color: white;
-    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
-    transition: transform 0.2s, opacity 0.2s;
-    border: none;
-    cursor: pointer;
-  }
-
-  #go-to-top-btn:hover {
-    transform: translateY(-2px);
-  }
-
-  /* TOC Modal Styles */
-  #toc-modal {
-    position: fixed;
-    inset: 0;
-    z-index: 2000;
-    background: rgba(0, 0, 0, 0.4);
-    backdrop-filter: blur(8px);
-    display: none;
-    align-items: center;
-    justify-content: center;
-    transition: all 0.3s ease;
-  }
-
-  #toc-modal.active {
-    display: flex;
-    animation: fadeInModal 0.3s forwards;
-  }
-
-  @keyframes fadeInModal {
-    from {
-      opacity: 0;
-      transform: scale(0.95);
-    }
-    to {
-      opacity: 1;
-      transform: scale(1);
-    }
-  }
-
-  .toc-content {
-    background: var(--color-base-bg);
-    width: 90%;
-    max-width: 600px;
-    max-height: 80vh;
-    border-radius: 24px;
-    padding: 2rem;
-    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
-    border: 1px solid var(--color-text-secondary);
-    overflow-y: auto;
-    position: relative;
-  }
-
-  .toc-header {
-    display: flex;
-    justify-content: space-between;
-    align-items: center;
-    margin-bottom: 2rem;
-    border-bottom: 2px solid var(--color-primary);
-    padding-bottom: 1rem;
-  }
-
-  .toc-close {
-    background: transparent;
-    border: none;
-    color: var(--color-text-default);
-    font-size: 1.5rem;
-    cursor: pointer;
-    padding: 0.5rem;
-    transition: color 0.2s;

Popular Posts

New Commit: fixed theme issues

Repository: Hestenb62/_legacy_backup Author: Hesten Berger Commit Message: fixed theme issues URL: https://github.com/Hestenb62/_legacy_backup/commit/498741f8c633ecaf6e7e594bb0aed02c47e69b39 Code Changes: diff --git a/assessment/index.php b/assessment/index.php index 822865b..5e8b706 100644 --- a/assessment/index.php +++ b/assessment/index.php @@ -264,7 +264,7 @@ include '../src/header.php'; </div> <!-- Hint Modal (Inline) --> - <div id="hintText" class="hint-box" style="display: none;"> + <div id="hintText" class="hint-box hidden"> <strong>Hint:</strong> <span id="hint-content"></span> </div> </div> diff --git a/assets/css/pages/assessment.css b/assets/css/pages/assessment.css index b57e964..7eb0d74 100644 --- a/assets/c...

New Commit: added arura mesh

Repository: Hestenb62/_legacy_backup Author: Hesten Berger Commit Message: added arura mesh URL: https://github.com/Hestenb62/_legacy_backup/commit/d8a9c63f2df943f6e40651985fb1c273c5809dd4 Code Changes: diff --git a/assets/css/level-style.css b/assets/css/level-style.css index ed8b60b..49cddf7 100644 --- a/assets/css/level-style.css +++ b/assets/css/level-style.css @@ -100,6 +100,8 @@ h1, h2, h3, h4 { padding: 4rem 1rem 3rem 1rem; background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%); border-bottom: 1px solid var(--glass-border); + position: relative; + overflow: hidden; } .hero-inner { @@ -111,6 +113,78 @@ h1, h2, h3, h4 { flex-wrap: wrap; gap: 1.5rem; animation: fadeUp 0.6s ease-out; + position: relative; + z-index: 2; +} + +/* Aurora Mesh Background for Level Hero */ +.level-aurora-bg { + position: absolute; + inset: 0; + overflow: hidden; + pointer-events: none; + z-index: 1; +} + +....

New Commit: Add JSON lesson migration and renderer scaffold Introduces a first-pass migration pipeline from PHP lesson files to structured JSON with `migrate_lessons.php`, and adds a generated `assets/data/lessons.json` catalog containing extracted metadata plus manual-migration placeholders for complex interactive content. Adds a new universal `src/lesson_renderer.php` to render lessons from JSON, along with initial component templates (`interactive-ladder` and `teacher-concepts`) for modular block rendering. Also includes `audit_report.html` documenting current security, accessibility, and architecture findings that motivated the move toward a template-driven lesson system.

Repository: Hestenb62/_legacy_backup Author: Hesten Berger Commit Message: Add JSON lesson migration and renderer scaffold Introduces a first-pass migration pipeline from PHP lesson files to structured JSON with , and adds a generated catalog containing extracted metadata plus manual-migration placeholders for complex interactive content. Adds a new universal to render lessons from JSON, along with initial component templates ( and ) for modular block rendering. Also includes documenting current security, accessibility, and architecture findings that motivated the move toward a template-driven lesson system. URL: https://github.com/Hestenb62/_legacy_backup/commit/f0c974b613ed65b7edcb712abb88bfae61ef0df5 Code Changes: diff --git a/assets/data/lessons.json b/assets/data/lessons.json new file mode 100644 index 0000000..0389666 --- /dev/null +++ b/assets/data/lessons.json @@ -0,0 +1,2835 @@ +{ + "lessons": { + "k-ela-m1-a-1": { + ...