Skip to content

lightweight, client-only calendar web application. All data persists in the URL hash for instant sharing, No backend required. Optional AES-GCM password protection keeps shared links locked without a server

JavaScript

feat: Introduce AppLauncher module for ecosystem apps and refine its styling.

Supun Lakmal0cc60382513b
diff --git a/modules/app_launcher.js b/modules/app_launcher.js
index 348cc66..0d3d5ac 100644
--- a/modules/app_launcher.js
+++ b/modules/app_launcher.js
@@ -5,13 +5,18 @@
export class AppLauncher {
constructor() {
this.apps = [
+ {
+ name: 'Hash Calendar',
+ url: 'https://hash-calendar.netlify.app/',
+ icon: 'fa-solid fa-calendar-days',
+ color: '#1a73e8'
+ },
{
name: 'Spreadsheet Live',
url: 'https://spreadsheetlive.netlify.app/',
- icon: 'fa-solid fa-table-cells', // FontAwesome icon
- color: '#107c41' // Excel-like green
+ icon: 'fa-solid fa-table-cells',
+ color: '#107c41'
}
- // Future apps can be added here
];
this.init();
diff --git a/styles.css b/styles.css
index 801e309..ed8f329 100644
--- a/styles.css
+++ b/styles.css
@@ -2031,7 +2031,7 @@ button:disabled {
background: var(--panel);
border: 1px solid var(--border);
border-radius: 16px;
- box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08); /* Premium shadow */
+ box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
padding: 16px;
z-index: 100;
transform-origin: top right;
@@ -2051,15 +2051,15 @@ button:disabled {
}
body[data-theme="dark"] .app-launcher-menu {
- background: #2b2c2f;
+ background: #2b2c2f;
}
+
@supports (backdrop-filter: blur(12px)) {
- body[data-theme="dark"] .app-launcher-menu {
- background: rgba(43, 44, 47, 0.85);
- }
+ body[data-theme="dark"] .app-launcher-menu {
+ background: rgba(43, 44, 47, 0.85);
+ }
}
-
.app-launcher-menu.hidden {
display: none;
animation: none;
@@ -2117,24 +2117,24 @@ body[data-theme="dark"] .app-launcher-menu {
/* Mobile adjustments */
@media (max-width: 768px) {
- .app-launcher-menu {
- position: fixed;
- top: auto;
- bottom: 0;
- left: 0;
- right: 0;
- width: 100%;
- border-radius: 24px 24px 0 0;
- transform-origin: bottom center;
- animation: slide-up 0.3s cubic-bezier(0.2, 0, 0, 1);
- border-bottom: none;
- box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
- }
-
- @keyframes slide-up {
- 0% { transform: translateY(100%); }
- 100% { transform: translateY(0); }
- }
+ .app-launcher-menu {
+ position: fixed;
+ top: auto;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ width: 100%;
+ border-radius: 24px 24px 0 0;
+ transform-origin: bottom center;
+ animation: slide-up 0.3s cubic-bezier(0.2, 0, 0, 1);
+ border-bottom: none;
+ box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
+ }
+
+ @keyframes slide-up {
+ 0% { transform: translateY(100%); }
+ 100% { transform: translateY(0); }
+ }
}