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
add pro link
Supun Lakmal8cf877b2022d
diff --git a/index.html b/index.htmlindex 11900d6..ced445a 100644--- a/index.html+++ b/index.html@@ -263,6 +263,11 @@</div></details>+ <a id="try-cloud-btn" class="cloud-cta-btn" href="https://hashcalendar.online/register.html" aria-label="Try Pro">+ <i class="fa-solid fa-cloud" aria-hidden="true"></i>+ <span>Try Pro</span>+ </a>+<button id="add-event" class="primary add-event-btn" type="button"><i class="fa-solid fa-plus" aria-hidden="true"></i><span data-i18n="btn.addEvent">Add event</span>@@ -912,6 +917,10 @@<div class="mobile-drawer-section"><span class="mobile-drawer-label" data-i18n="label.actions">Actions</span>+ <a href="https://hashcalendar.online/register.html" class="mobile-drawer-item mobile-drawer-cloud-btn"+ aria-label="Try Pro">+ <i class="fa-solid fa-cloud"></i> <span>Try Pro</span>+ </a><button id="mobile-world-planner-btn" type="button" class="mobile-drawer-item" aria-label="Open planner"><i class="fa-solid fa-earth-americas"></i> <span>Planner</span></button>diff --git a/styles.css b/styles.cssindex 0139e6c..2e0e407 100644--- a/styles.css+++ b/styles.css@@ -737,6 +737,40 @@ button {font-size: 0.8rem;}+.cloud-cta-btn {+ height: 34px;+ padding: 0 14px;+ border-radius: 999px;+ border: 1px solid color-mix(in srgb, #22c55e 32%, var(--border));+ background: linear-gradient(+ 135deg,+ color-mix(in srgb, #22c55e 18%, var(--panel)),+ color-mix(in srgb, #22c55e 6%, var(--panel))+ );+ color: #16a34a;+ display: inline-flex;+ align-items: center;+ gap: 8px;+ font-weight: 600;+ white-space: nowrap;+ text-decoration: none;+ box-shadow: 0 10px 18px color-mix(in srgb, #22c55e 20%, transparent);+}++.cloud-cta-btn i {+ font-size: 0.8rem;+}++.cloud-cta-btn:hover {+ border-color: #22c55e;+ background: linear-gradient(+ 135deg,+ color-mix(in srgb, #22c55e 24%, var(--panel)),+ color-mix(in srgb, #22c55e 10%, var(--panel))+ );+ box-shadow: 0 12px 22px color-mix(in srgb, #22c55e 28%, transparent);+}+.sr-only {position: absolute;width: 1px;@@ -2945,6 +2979,12 @@ body[data-theme="dark"] .app-launcher-modal-body,justify-content: center;}+ .cloud-cta-btn {+ width: 34px;+ padding: 0;+ justify-content: center;+ }+.topbar-theme-btn {width: 34px;padding: 0;@@ -2959,6 +2999,10 @@ body[data-theme="dark"] .app-launcher-modal-body,display: none;}+ .cloud-cta-btn span {+ display: none;+ }+.calendar-panel {height: 100%;overflow: hidden;@@ -4137,6 +4181,10 @@ body[data-theme="dark"] .ripple {line-height: 1;}+.mobile-drawer-cloud-btn > i:first-child {+ color: #22c55e;+}+.mobile-drawer-item > span {flex: 1 1 auto;}