Skip to content

Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.

feat: add hosting card illustrations

Timothy Yin986fdc5154af
diff --git a/apps/cloud/app/assets/cloud.css b/apps/cloud/app/assets/cloud.css
index 665a50ac..e0c81261 100644
--- a/apps/cloud/app/assets/cloud.css
+++ b/apps/cloud/app/assets/cloud.css
@@ -170,8 +170,9 @@
.cf-ways-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.cf-ways-grid .cf-way-card { display: block; color: var(--foreground); padding: 26px; border: 1px solid var(--border); border-radius: 8px; background: var(--card); }
.cf-ways-grid .cf-way-card { position: relative; overflow: hidden; isolation: isolate; transition: border-color .2s ease, box-shadow .2s ease; }
-.cf-ways-grid .cf-way-card::after { content: ''; position: absolute; z-index: -1; right: -48px; top: -84px; width: 210px; height: 210px; border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent); border-radius: 50%; box-shadow: 0 0 0 28px color-mix(in srgb, var(--accent) 4%, transparent), 0 0 0 56px color-mix(in srgb, var(--accent) 3%, transparent); pointer-events: none; }
-.cf-ways-grid .cf-way-server::after { border-radius: 28px; transform: rotate(45deg); }
+.cf-way-art { position: absolute; z-index: -1; right: 10px; bottom: -14px; width: 170px; height: 128px; color: var(--accent); opacity: .38; pointer-events: none; }
+
+@media (max-width: 420px) { .cf-way-art { right: -20px; opacity: .16; } }
.cf-ways-grid .cf-way-card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); box-shadow: 0 12px 28px -22px color-mix(in srgb, var(--accent) 45%, transparent); }
.cf-way-card:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
.cf-way-ribbon { position: absolute; top: 22px; right: -38px; width: 160px; padding: 6px 0; transform: rotate(45deg); background: var(--accent); color: var(--card); text-align: center; font-size: 10px; font-weight: 650; letter-spacing: .02em; }
diff --git a/apps/cloud/app/pages/index.vue b/apps/cloud/app/pages/index.vue
index 222234f7..ffd21b1c 100644
--- a/apps/cloud/app/pages/index.vue
+++ b/apps/cloud/app/pages/index.vue
@@ -205,8 +205,8 @@ useSeoMeta({
<p>{{ $t('cloud.home.waysDescription') }}</p>
</div>
<div class="cf-ways-grid">
- <NuxtLink :to="links.signup" external class="cf-way-card cf-way-cloud"><span class="cf-way-ribbon">{{ $t('cloud.home.trialRibbon') }}</span><div class="cf-way-icon" aria-hidden="true"><Cloud :size="22" :stroke-width="1.5" /></div><h3>ChronoFrame Cloud <ArrowRight :size="16" aria-hidden="true" /></h3><p>{{ $t('cloud.home.cloudDescription') }}</p></NuxtLink>
- <a href="https://docs.chronoframe.art/guide/getting-started.html" class="cf-way-card cf-way-server"><div class="cf-way-icon" aria-hidden="true"><Server :size="22" :stroke-width="1.5" /></div><h3>{{ $t('cloud.home.selfHostedTitle') }} <ArrowUpRight :size="16" aria-hidden="true" /></h3><p>{{ $t('cloud.home.selfHostedDescription') }}</p></a>
+ <NuxtLink :to="links.signup" external class="cf-way-card cf-way-cloud"><svg class="cf-way-art" viewBox="0 0 200 150" fill="none" aria-hidden="true"><rect x="22" y="22" width="158" height="116" rx="8" fill="var(--card)" stroke="currentColor"/><path d="M22 46h158" stroke="currentColor"/><circle cx="34" cy="34" r="2" fill="currentColor"/><circle cx="42" cy="34" r="2" fill="currentColor"/><rect x="32" y="56" width="65" height="72" rx="3" fill="currentColor" opacity=".32"/><rect x="103" y="56" width="67" height="32" rx="3" fill="currentColor" opacity=".18"/><rect x="103" y="94" width="67" height="34" rx="3" fill="currentColor" opacity=".24"/></svg><span class="cf-way-ribbon">{{ $t('cloud.home.trialRibbon') }}</span><div class="cf-way-icon" aria-hidden="true"><Cloud :size="22" :stroke-width="1.5" /></div><h3>ChronoFrame Cloud <ArrowRight :size="16" aria-hidden="true" /></h3><p>{{ $t('cloud.home.cloudDescription') }}</p></NuxtLink>
+ <a href="https://docs.chronoframe.art/guide/getting-started.html" class="cf-way-card cf-way-server"><svg class="cf-way-art" viewBox="0 0 200 150" fill="none" aria-hidden="true"><rect x="22" y="22" width="158" height="116" rx="8" fill="var(--card)" stroke="currentColor"/><path d="M22 46h158M59 46v92" stroke="currentColor"/><circle cx="34" cy="34" r="2" fill="currentColor"/><circle cx="42" cy="34" r="2" fill="currentColor"/><path d="M33 62h15M33 73h15M33 84h15" stroke="currentColor" stroke-linecap="round"/><rect x="70" y="57" width="98" height="18" rx="3" fill="currentColor" opacity=".23"/><rect x="70" y="82" width="98" height="18" rx="3" fill="currentColor" opacity=".16"/><rect x="70" y="107" width="98" height="18" rx="3" fill="currentColor" opacity=".23"/></svg><div class="cf-way-icon" aria-hidden="true"><Server :size="22" :stroke-width="1.5" /></div><h3>{{ $t('cloud.home.selfHostedTitle') }} <ArrowUpRight :size="16" aria-hidden="true" /></h3><p>{{ $t('cloud.home.selfHostedDescription') }}</p></a>
</div>
</section>
<section class="cf-home-cta" aria-labelledby="home-cta-heading">