Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.
TypeScript albumsexif-extractiongeocodinglive-photomotion-photophoto-galleryphoto-sharingwebgl-viewer
feat: expand cloud homepage content
Timothy Yinc0733e1c6d5e
diff --git a/apps/cloud/app/assets/cloud.css b/apps/cloud/app/assets/cloud.cssindex c07d4502..730f8de2 100644--- a/apps/cloud/app/assets/cloud.css+++ b/apps/cloud/app/assets/cloud.css@@ -156,6 +156,29 @@max-width: 290px;line-height: 1.8;}+.cf-story { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 8vw, 110px); padding: 90px 0; border-top: 1px solid var(--border); }+.cf-story-image { position: relative; overflow: hidden; border-radius: 8px; aspect-ratio: 5 / 4; background: var(--card); }+.cf-story-image img { width: 100%; height: 100%; object-fit: cover; }+.cf-story-image span { position: absolute; bottom: 20px; left: 22px; color: white; font-size: 11px; text-shadow: 0 1px 8px #000; }+.cf-story h2, .cf-ways h2, .cf-home-cta h2 { margin: 18px 0 !important; font-size: clamp(32px, 3.3vw, 48px); font-weight: 450; letter-spacing: -.045em; line-height: 1.15; }+.cf-story-content > p:not(.cf-eyebrow), .cf-ways-heading > p:not(.cf-eyebrow), .cf-home-cta p:not(.cf-eyebrow) { max-width: 440px; color: var(--muted-foreground); line-height: 1.8; font-size: 15px; }+.cf-story-details { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 38px; }+.cf-story-details span, .cf-ways-number { color: var(--accent); font-size: 10px; letter-spacing: .12em; }+.cf-story-details h3, .cf-ways-grid h3 { margin: 12px 0 8px; font-size: 16px; font-weight: 550; }+.cf-story-details p, .cf-ways-grid p { color: var(--muted-foreground); font-size: 13px; line-height: 1.8; }+.cf-ways { padding: 80px 0 90px; border-top: 1px solid var(--border); }+.cf-ways-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }+.cf-ways-grid article { padding: 30px; border: 1px solid var(--border); border-radius: 8px; background: var(--card); }+.cf-ways-grid p { max-width: 420px; min-height: 48px; }+.cf-ways-grid a { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--foreground); font-size: 13px; font-weight: 550; }+.cf-home-cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 64px 0 76px; border-top: 1px solid var(--border); }+.cf-home-cta .cf-button { flex-shrink: 0; }+@media (max-width: 700px) {+ .cf-story { grid-template-columns: 1fr; gap: 32px; padding: 60px 0; }+ .cf-ways { padding: 60px 0; }+ .cf-ways-grid { grid-template-columns: 1fr; }+ .cf-home-cta { align-items: flex-start; flex-direction: column; padding: 55px 0; }+}.cf-marketing-footer {border-top: 1px solid var(--border);color: var(--muted-foreground);diff --git a/apps/cloud/app/components/CloudPricing.vue b/apps/cloud/app/components/CloudPricing.vueindex 51de0058..89db3ee6 100644--- a/apps/cloud/app/components/CloudPricing.vue+++ b/apps/cloud/app/components/CloudPricing.vue@@ -424,12 +424,6 @@ async function submitCheckout(plan: any, mode?: string) {:class="{ 'cf-pricing-embedded': embedded }"><div :class="embedded ? 'cf-plan-options-heading' : 'cf-pricing-heading'">- <p- v-if="!embedded"- class="cf-eyebrow"- >- ChronoFrame Cloud- </p><h2 v-if="embedded">{{ $t('cloud.billing.choosePlan') }}</h2><h1 v-else>{{ $t('cloud.billing.pricing') }}</h1><p>diff --git a/apps/cloud/app/pages/index.vue b/apps/cloud/app/pages/index.vueindex db37bf69..91dd7a8e 100644--- a/apps/cloud/app/pages/index.vue+++ b/apps/cloud/app/pages/index.vue@@ -74,9 +74,7 @@ useSeoMeta({><section class="cf-hero"><motion.div v-bind="entrance"- ><p class="cf-eyebrow">- {{ $t('cloud.messages.yourPhotographyYourPerspective') }}- </p>+ ><h1 class="cf-hero-title">{{ $t('cloud.messages.everyFrame') }}<br /><em>{{$t('cloud.messages.yourStory')@@ -133,14 +131,12 @@ useSeoMeta({<section aria-labelledby="features-heading"><div class="cf-section-heading"><div>- <p class="cf-eyebrow">- {{ $t('cloud.messages.lessBetweenYouAndYourPhotographs') }}- </p>+<h2 id="features-heading">{{ $t('cloud.messages.thoughtfullySimpleEntirelyYours') }}</h2></div>- <CfBadge>{{ $t('cloud.messages.openSourceByNature') }}</CfBadge>+</div><div class="cf-features"><article>@@ -185,6 +181,36 @@ useSeoMeta({</article></div></section>+ <section class="cf-story" aria-labelledby="story-heading">+ <div class="cf-story-image">+ <img src="/images/valley.jpg" alt="" loading="lazy" width="600" height="400" />+ <span>{{ $t('cloud.home.storyCaption') }}</span>+ </div>+ <div class="cf-story-content">++ <h2 id="story-heading">{{ $t('cloud.home.storyTitle') }}</h2>+ <p>{{ $t('cloud.home.storyDescription') }}</p>+ <div class="cf-story-details">+ <div><h3>{{ $t('cloud.home.browseTitle') }}</h3><p>{{ $t('cloud.home.browseDescription') }}</p></div>+ <div><h3>{{ $t('cloud.home.detailTitle') }}</h3><p>{{ $t('cloud.home.detailDescription') }}</p></div>+ </div>+ </div>+ </section>+ <section class="cf-ways" aria-labelledby="ways-heading">+ <div class="cf-ways-heading">++ <h2 id="ways-heading">{{ $t('cloud.home.waysTitle') }}</h2>+ <p>{{ $t('cloud.home.waysDescription') }}</p>+ </div>+ <div class="cf-ways-grid">+ <article><h3>ChronoFrame Cloud</h3><p>{{ $t('cloud.home.cloudDescription') }}</p><NuxtLink :to="links.signup" external>{{ $t('cloud.messages.createYourAccount') }} <ArrowRight :size="15" /></NuxtLink></article>+ <article><h3>{{ $t('cloud.home.selfHostedTitle') }}</h3><p>{{ $t('cloud.home.selfHostedDescription') }}</p><a href="https://docs.chronoframe.art/guide/getting-started.html">{{ $t('cloud.messages.exploreSelfHosted') }} <ArrowUpRight :size="15" /></a></article>+ </div>+ </section>+ <section class="cf-home-cta" aria-labelledby="home-cta-heading">+ <div><h2 id="home-cta-heading">{{ $t('cloud.home.ctaTitle') }}</h2><p>{{ $t('cloud.home.ctaDescription') }}</p></div>+ <CfButton as-child size="lg"><NuxtLink :to="links.signup" external>{{ $t('cloud.messages.createYourAccount') }} <ArrowRight :size="16" /></NuxtLink></CfButton>+ </section></main><footer class="cf-marketing-footer"><div class="cf-footer-main">diff --git a/apps/cloud/i18n/locales/en.json b/apps/cloud/i18n/locales/en.jsonindex 9816c2d9..6aa087e3 100644--- a/apps/cloud/i18n/locales/en.json+++ b/apps/cloud/i18n/locales/en.json@@ -1,5 +1,24 @@{"cloud": {+ "home": {+ "selfHostedTitle": "Self-hosted",+ "ctaDescription": "Bring your photographs together and make a gallery that feels like yours.",+ "detailDescription": "Open a photograph in the dedicated viewer and spend time with the details.",+ "cloudDescription": "Create an account and get started with a hosted ChronoFrame gallery.",+ "storyEyebrow": "MADE FOR LOOKING BACK",+ "detailTitle": "Take a closer look",+ "storyTitle": "See the whole story. Stay for the details.",+ "storyCaption": "A place for the moments that stay with you.",+ "selfHostedDescription": "Run ChronoFrame on your own infrastructure, with storage you control.",+ "waysDescription": "Start with a hosted gallery or make a home for your photographs on your own infrastructure.",+ "ctaEyebrow": "MAKE SPACE FOR YOUR PHOTOGRAPHS",+ "ctaTitle": "Your next chapter starts here.",+ "browseDescription": "Explore photographs in a masonry gallery, or bring related moments together in albums.",+ "waysEyebrow": "YOUR GALLERY, YOUR WAY",+ "storyDescription": "From a collection of everyday moments to a favorite frame, give your photographs a home that invites you to look a little longer.",+ "waysTitle": "Choose where your story lives.",+ "browseTitle": "Browse your way"+},"messages": {"skipToContent": "Skip to content","albums": "Albums",diff --git a/apps/cloud/i18n/locales/zh-Hans.json b/apps/cloud/i18n/locales/zh-Hans.jsonindex 8585a8db..61949290 100644--- a/apps/cloud/i18n/locales/zh-Hans.json+++ b/apps/cloud/i18n/locales/zh-Hans.json@@ -1,5 +1,24 @@{"cloud": {+ "home": {+ "selfHostedTitle": "自部署",+ "ctaDescription": "把照片聚在一起,打造真正属于你的图库。",+ "detailDescription": "在专属照片查看器中打开画面,细细欣赏每处细节。",+ "cloudDescription": "创建账号,即可开始使用托管的 ChronoFrame 图库。",+ "storyEyebrow": "为回忆而设计",+ "detailTitle": "靠近一点看",+ "storyTitle": "看见完整故事,也看见每处细节。",+ "storyCaption": "为值得珍藏的瞬间,留一个位置。",+ "selfHostedDescription": "在自己的基础设施上运行 ChronoFrame,使用由你掌控的存储。",+ "waysDescription": "使用托管图库开始,或在自己的基础设施上为照片安家。",+ "ctaEyebrow": "为照片留一处空间",+ "ctaTitle": "从这里,开启下一章。",+ "browseDescription": "在瀑布流图库中探索照片,或将相关的瞬间整理成相簿。",+ "waysEyebrow": "你的图库,由你选择",+ "storyDescription": "从日常点滴到最珍爱的画面,为照片打造一个让人愿意驻足回看的家。",+ "waysTitle": "选择故事安放的地方。",+ "browseTitle": "用喜欢的方式浏览"+},"messages": {"skipToContent": "跳转到主要内容","albums": "相簿",