Skip to main content

New Commit: bug fixes

Repository: Hestenb62/_legacy_backup

Author: Hesten Berger

Commit Message: bug fixes

URL: https://github.com/Hestenb62/_legacy_backup/commit/3a5af4c62c7f5bb096604c776e58fc1df1aa9395

Code Changes:

diff --git a/.vscode/settings.json b/.vscode/settings.json
index f609aa5..0fb13e0 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,6 +1,6 @@
 {
   "[php]": {
-    "editor.defaultFormatter": "bmewburn.vscode-intelephense-client"
+    "editor.defaultFormatter": "DEVSENSE.phptools-vscode"
   },
   "fiveserver.php": "C:\\xampp\\php\\php.exe",
   "php.validate.executablePath": "C:\\xampp\\php\\php.exe",
diff --git a/assets/css/components/accommodations.css b/assets/css/components/accommodations.css
index c3f0eb5..f341bd7 100644
--- a/assets/css/components/accommodations.css
+++ b/assets/css/components/accommodations.css
@@ -543,11 +543,15 @@ body.dyscalculia-mode-active mjx-c.mjx-c2260 {
   color: var(--color-text-main);
   font-weight: 700;
   font-size: 0.875rem;
-  outline: none;
+  transition: border-color 0.2s, box-shadow 0.2s;
 }
 
-.acc-select:focus {
+.acc-select:focus,
+.acc-select:focus-visible {
+  outline: 2px solid var(--color-primary, #6366f1);
+  outline-offset: 2px;
   border-color: var(--color-primary);
+  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
 }
 
 /* Toast */
diff --git a/assets/css/global-primitives.css b/assets/css/global-primitives.css
index fd966df..6a19a44 100644
--- a/assets/css/global-primitives.css
+++ b/assets/css/global-primitives.css
@@ -173,9 +173,12 @@
     transition: top 0.2s ease-in-out;
   }
 
-  .skip-link:focus {
+  .skip-link:focus,
+  .skip-link:focus-visible {
     top: 0;
-    outline: none;
+    outline: 3px solid var(--color-accent, #06b6d4);
+    outline-offset: 3px;
+    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.35), var(--shadow-lg);
   }
 
   @media (prefers-reduced-motion: reduce) {
diff --git a/assets/css/pages/standards.css b/assets/css/pages/standards.css
index feab219..e3766a9 100644
--- a/assets/css/pages/standards.css
+++ b/assets/css/pages/standards.css
@@ -173,7 +173,12 @@
     font-weight: 700;
     color: var(--color-text-main);
     cursor: pointer;
-    outline: none;
+    border-radius: var(--radius-sm, 4px);
+  }
+
+  .curr-select:focus-visible {
+    outline: 2px solid var(--color-primary, #4f46e5);
+    outline-offset: 2px;
   }
 
   .curr-select-chevron {
diff --git a/assets/css/reader-main.css b/assets/css/reader-main.css
index d35e89d..d1873d9 100644
--- a/assets/css/reader-main.css
+++ b/assets/css/reader-main.css
@@ -232,7 +232,13 @@
     font-size: 0.82rem !important;
     font-weight: 700 !important;
     cursor: pointer !important;
-    outline: none !important;
+    transition: border-color 0.2s, box-shadow 0.2s;
+}
+
+#lexile-switcher-select:focus-visible {
+    outline: 3px solid var(--color-primary, #3b82f6) !important;
+    outline-offset: 2px !important;
+    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25) !important;
 }
 
 #lexile-switcher-select option {
diff --git a/assets/js/research/journal-engine.js b/assets/js/research/journal-engine.js
index 39d3a03..61aa821 100644
--- a/assets/js/research/journal-engine.js
+++ b/assets/js/research/journal-engine.js
@@ -816,6 +816,9 @@ export class JournalEngine {
         if (!activeBlock) return;
         navigator.clipboard.writeText(activeBlock.innerText).then(() => {
           copyCitationBtn.innerHTML = '<i class="fas fa-check"></i> Copied!';
+          if (typeof window.announceA11y === 'function') {
+            window.announceA11y('Citation copied to clipboard');
+          }
           setTimeout(() => {
             copyCitationBtn.innerHTML = '<i class="far fa-copy"></i> Copy Citation';
           }, 2000);
diff --git a/lessons/index.php b/lessons/index.php
new file mode 100644
index 0000000..a1c07e5
--- /dev/null
+++ b/lessons/index.php
@@ -0,0 +1,7 @@
+<?php
+/**
+ * lessons/index.php - Dynamic Lesson Router & Curriculum Engine
+ * Resolves lessons dynamically from lessons.json or loads scaffolded curriculum standards.
+ */
+
+require_once dirname(__DIR__) . '/src/lesson_renderer.php';
diff --git a/library/read/1984/chapter-1.php b/library/read/1984/chapter-1.php
index 8d3eba3..e0efc52 100644
--- a/library/read/1984/chapter-1.php
+++ b/library/read/1984/chapter-1.php
@@ -7,7 +7,7 @@ $pageAuthor = 'Hesten Allison';
 include '../../../src/header.php';
 ?>
 
-<link rel="stylesheet" href="/library/library.css">
+<link rel="stylesheet" href="<?= function_exists('assetVersion') ? assetVersion('/assets/css/reader-main.css') : '/assets/css/reader-main.css' ?>">
 
 <style>
   .reader-chapter-nav {
diff --git a/library/read/1984/chapter-10.php b/library/read/1984/chapter-10.php
index 45891c3..3f07c84 100644
--- a/library/read/1984/chapter-10.php
+++ b/library/read/1984/chapter-10.php
@@ -7,7 +7,7 @@ $pageAuthor = 'Hesten Allison';
 include '../../../src/header.php';
 ?>
 
-<link rel="stylesheet" href="/library/library.css">
+<link rel="stylesheet" href="<?= function_exists('assetVersion') ? assetVersion('/assets/css/reader-main.css') : '/assets/css/reader-main.css' ?>">
 
 <style>
   .reader-chapter-nav {
diff --git a/library/read/1984/chapter-11.php b/library/read/1984/chapter-11.php
index 82192bd..b0f6844 100644
--- a/library/read/1984/chapter-11.php
+++ b/library/read/1984/chapter-11.php
@@ -7,7 +7,7 @@ $pageAuthor = 'Hesten Allison';
 include '../../../src/header.php';
 ?>
 
-<link rel="stylesheet" href="/library/library.css">
+<link rel="stylesheet" href="<?= function_exists('assetVersion') ? assetVersion('/assets/css/reader-main.css') : '/assets/css/reader-main.css' ?>">
 
 <style>
   .reader-chapter-nav {
diff --git a/library/read/1984/chapter-12.php b/library/read/1984/chapter-12.php
index acc3f93..5c46615 100644
--- a/library/read/1984/chapter-12.php
+++ b/library/read/1984/chapter-12.php
@@ -7,7 +7,7 @@ $pageAuthor = 'Hesten Allison';
 include '../../../src/header.php';
 ?>
 
-<link rel="stylesheet" href="/library/library.css">
+<link rel="stylesheet" href="<?= function_exists('assetVersion') ? assetVersion('/assets/css/reader-main.css') : '/assets/css/reader-main.css' ?>">
 
 <style>
   .reader-chapter-nav {
diff --git a/library/read/1984/chapter-13.php b/library/read/1984/chapter-13.php
index 203e9c7..030ddb4 100644
--- a/library/read/1984/chapter-13.php
+++ b/library/read/1984/chapter-13.php
@@ -7,7 +7,7 @@ $pageAuthor = 'Hesten Allison';
 include '../../../src/header.php';
 ?>
 
-<link rel="stylesheet" href="/library/library.css">
+<link rel="stylesheet" href="<?= function_exists('assetVersion') ? assetVersion('/assets/css/reader-main.css') : '/assets/css/reader-main.css' ?>">
 
 <style>
   .reader-chapter-nav {
diff --git a/library/read/1984/chapter-14.php b/library/read/1984/chapter-14.php
index 6f2e4af..3ee84e9 100644
--- a/library/read/1984/chapter-14.php
+++ b/library/read/1984/chapter-14.php
@@ -7,7 +7,7 @@ $pageAuthor = 'Hesten Allison';
 include '../../../src/header.php';
 ?>
 
-<link rel="stylesheet" href="/library/library.css">
+<link rel="stylesheet" href="<?= function_exists('assetVersion') ? assetVersion('/assets/css/reader-main.css') : '/assets/css/reader-main.css' ?>">
 
 <style>
   .reader-chapter-nav {
diff --git a/library/read/1984/chapter-15.php b/library/read/1984/chapter-15.php
index 9c01b46..a3757dc 100644
--- a/library/read/1984/chapter-15.php
+++ b/library/read/1984/chapter-15.php
@@ -7,7 +7,7 @@ $pageAuthor = 'Hesten Allison';
 include '../../../src/header.php';
 ?>
 
-<link rel="stylesheet" href="/library/library.css">
+<link rel="stylesheet" href="<?= function_exists('assetVersion') ? assetVersion('/assets/css/reader-main.css') : '/assets/css/reader-main.css' ?>">
 
 <style>
   .reader-chapter-nav {
diff --git a/library/read/1984/chapter-16.php b/library/read/1984/chapter-16.php
index b8f75f8..cc1c93f 100644
--- a/library/read/1984/chapter-16.php
+++ b/library/read/1984/chapter-16.php
@@ -7,7 +7,7 @@ $pageAuthor = 'Hesten Allison';
 include '../../../src/header.php';
 ?>
 
-<link rel="stylesheet" href="/library/library.css">
+<link rel="stylesheet" href="<?= function_exists('assetVersion') ? assetVersion('/assets/css/reader-main.css') : '/assets/css/reader-main.css' ?>">
 
 <style>
   .reader-chapter-nav {
diff --git a/library/read/1984/chapter-17.php b/library/read/1984/chapter-17.php
index 5c5cee1..ecc6169 100644
--- a/library/read/1984/chapter-17.php
+++ b/library/read/1984/chapter-17.php
@@ -7,7 +7,7 @@ $pageAuthor = 'Hesten Allison';
 include '../../../src/header.php';
 ?>
 
-<link rel="stylesheet" href="/library/library.css">
+<link rel="stylesheet" href="<?= function_exists('assetVersion') ? assetVersion('/assets/css/reader-main.css') : '/assets/css/reader-main.css' ?>">
 
 <style>
   .reader-chapter-nav {
diff --git a/library/read/1984/chapter-18.php b/library/read/1984/chapter-18.php
index e92dfcf..7c35ca2 100644
--- a/library/read/1984/chapter-18.php
+++ b/library/read/1984/chapter-18.php
@@ -7,7 +7,7 @@ $pageAuthor = 'Hesten Allison';
 include '../../../src/header.php';
 ?>
 
-<link rel="stylesheet" href="/library/library.css">
+<link rel="stylesheet" href="<?= function_exists('assetVersion') ? assetVersion('/assets/css/reader-main.css') : '/assets/css/reader-main.css' ?>">
 
 <style>
   .reader-chapter-nav {
diff --git a/library/read/1984/chapter-19.php b/library/read/1984/chapter-19.php
index 79cb81c..05557d4 100644
--- a/library/read/1984/chapter-19.php
+++ b/library/read/1984/chapter-19.php
@@ -7,7 +7,7 @@ $pageAuthor = 'Hesten Allison';
 include '../../../src/header.php';
 ?>
 
-<link rel="stylesheet" href="/library/library.css">
+<link rel="stylesheet" href="<?= function_exists('assetVersion') ? assetVersion('/assets/css/reader-main.css') : '/assets/css/reader-main.css' ?>">
 
 <style>
   .reader-chapter-nav {
diff --git a/library/read/1984/chapter-2.php b/library/read/1984/chapter-2.php
index f28fa28..597b5c0 100644
--- a/library/read/1984/chapter-2.php
+++ b/library/read/1984/chapter-2.php
@@ -7,7 +7,7 @@ $pageAuthor = 'Hesten Allison';
 include '../../../src/header.php';
 ?>
 
-<link rel="stylesheet" href="/library/library.css">
+<link rel="stylesheet" href="<?= function_exists('assetVersion') ? assetVersion('/assets/css/reader-main.css') : '/assets/css/reader-main.css' ?>">
 
 <style>
   .reader-chapter-nav {
diff --git a/library/read/1984/chapter-20.php b/library/read/1984/chapter-20.php
index fae1a99..a14a9fe 100644
--- a/library/read/1984/chapter-20.php
+++ b/library/read/1984/chapter-20.php
@@ -7,7 +7,7 @@ $pageAuthor = 'Hesten Allison';
 include '../../../src/header.php';
 ?>
 
-<link rel="stylesheet" href="/library/library.css">
+<link rel="stylesheet" href="<?= function_exists('assetVersion') ? assetVersion('/assets/css/reader-main.css') : '/assets/css/reader-main.css' ?>">
 
 <style>
   .reader-chapter-nav {
diff --git a/library/read/1984/chapter-21.php b/library/read/1984/chapter-21.php
index 01ebe68..7a276a1 100644
--- a/library/read/1984/chapter-21.php
+++ b/library/read/1984/chapter-21.php
@@ -7,7 +7,7 @@ $pageAuthor = 'Hesten Allison';
 include '../../../src/header.php';
 ?>
 
-<link rel="stylesheet" href="/library/library.css">
+<link rel="stylesheet" href="<?= function_exists('assetVersion') ? assetVersion('/assets/css/reader-main.css') : '/assets/css/reader-main.css' ?>">
 
 <style>
   .reader-chapter-nav {
diff --git a/library/read/1984/chapter-22.php b/library/read/1984/chapter-22.php

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": { + ...