From 843c2fe96f3297da3afa0cfee7d434d9923ff1e9 Mon Sep 17 00:00:00 2001 From: Nose Date: Sat, 14 Mar 2026 00:45:15 -0700 Subject: [PATCH] update ui and add new audio components --- app.js | 22 +- app/stellarium-now-wrapper.html | 48 ++- app/styles.css | 542 +++++++++++++++++++++++++- app/ui-alphabet-text.js | 603 ++++++++++++++++++++++++---- app/ui-audio-circle.js | 408 +++++++++++++++++++ app/ui-audio-notes.js | 671 ++++++++++++++++++++++++++++++++ app/ui-chrome.js | 72 ++-- app/ui-home-calendar.js | 2 +- app/ui-navigation.js | 14 + app/ui-now-helpers.js | 112 +++++- app/ui-now.js | 18 +- app/ui-section-state.js | 20 + index.html | 81 +++- 13 files changed, 2458 insertions(+), 155 deletions(-) create mode 100644 app/ui-audio-circle.js create mode 100644 app/ui-audio-notes.js diff --git a/app.js b/app.js index baf0871..e115aa0 100644 --- a/app.js +++ b/app.js @@ -6,6 +6,8 @@ const { ensureTarotSection } = window.TarotSectionUi || {}; const { ensurePlanetSection } = window.PlanetSectionUi || {}; const { ensureCyclesSection } = window.CyclesSectionUi || {}; const { ensureElementsSection } = window.ElementsSectionUi || {}; +const { ensureAudioCircleSection } = window.AudioCircleUi || {}; +const { ensureAudioNotesSection } = window.AudioNotesUi || {}; const { ensureIChingSection } = window.IChingSectionUi || {}; const { ensureKabbalahSection } = window.KabbalahSectionUi || {}; const { ensureCubeSection } = window.CubeSectionUi || {}; @@ -35,6 +37,8 @@ const calendarEl = document.getElementById("calendar"); const timelineSectionEl = document.getElementById("timeline-section"); const calendarSectionEl = document.getElementById("calendar-section"); const holidaySectionEl = document.getElementById("holiday-section"); +const audioCircleSectionEl = document.getElementById("audio-circle-section"); +const audioNotesSectionEl = document.getElementById("audio-notes-section"); const tarotSectionEl = document.getElementById("tarot-section"); const tarotHouseSectionEl = document.getElementById("tarot-house-section"); const astronomySectionEl = document.getElementById("astronomy-section"); @@ -59,6 +63,9 @@ const openCalendarEl = document.getElementById("open-calendar"); const openCalendarTimelineEl = document.getElementById("open-calendar-timeline"); const openCalendarMonthsEl = document.getElementById("open-calendar-months"); const openHolidaysEl = document.getElementById("open-holidays"); +const openAudioEl = document.getElementById("open-audio"); +const openAudioCircleEl = document.getElementById("open-audio-circle"); +const openAudioNotesEl = document.getElementById("open-audio-notes"); const openTarotEl = document.getElementById("open-tarot"); const openTarotHouseEl = document.getElementById("open-tarot-house"); const openAstronomyEl = document.getElementById("open-astronomy"); @@ -400,6 +407,8 @@ sectionStateUi.init?.({ timelineSectionEl, calendarSectionEl, holidaySectionEl, + audioCircleSectionEl, + audioNotesSectionEl, tarotSectionEl, tarotHouseSectionEl, astronomySectionEl, @@ -424,6 +433,9 @@ sectionStateUi.init?.({ openCalendarTimelineEl, openCalendarMonthsEl, openHolidaysEl, + openAudioEl, + openAudioCircleEl, + openAudioNotesEl, openTarotEl, openTarotHouseEl, openAstronomyEl, @@ -461,7 +473,9 @@ sectionStateUi.init?.({ ensureCalendarSection, ensureHolidaySection, ensureNatalPanel, - ensureNumbersSection + ensureNumbersSection, + ensureAudioCircleSection, + ensureAudioNotesSection } }); @@ -520,6 +534,9 @@ navigationUi.init?.({ openCalendarTimelineEl, openCalendarMonthsEl, openHolidaysEl, + openAudioEl, + openAudioCircleEl, + openAudioNotesEl, openTarotEl, openTarotHouseEl, openAstronomyEl, @@ -552,7 +569,8 @@ navigationUi.init?.({ ensureAlphabetTextSection, ensureZodiacSection, ensureGodsSection, - ensureCalendarSection + ensureCalendarSection, + ensureAudioCircleSection } }); diff --git a/app/stellarium-now-wrapper.html b/app/stellarium-now-wrapper.html index 3c65916..ec72e8a 100644 --- a/app/stellarium-now-wrapper.html +++ b/app/stellarium-now-wrapper.html @@ -5,6 +5,14 @@ Stellarium NOW Wrapper