Browse Source

feat: 成长宣言全文更新(三语 + 独立标题 + 渐变装饰线 + 横向溢出修复)

master
doublex001 3 months ago
parent
commit
c1d6c00835
  1. 12
      src/components/Contact.tsx
  2. 13
      src/i18n/en.ts
  3. 13
      src/i18n/hk.ts
  4. 13
      src/i18n/zh.ts
  5. 1
      src/styles/global.css

12
src/components/Contact.tsx

@ -19,10 +19,14 @@ export default function Contact({ locale }: { locale: Locale }) {
</div> </div>
</section> </section>
{/* ===== 成长宣言 · 主体卡(仅核心承诺)===== */} {/* ===== 成长宣言 · 主体卡(完整全文 + 独立标题)===== */}
<section className="max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 pb-[var(--space-6)]"> <section className="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 pb-[var(--space-6)]">
<div className="scroll-reveal mx-auto rounded-2xl card-surface p-7 md:p-9 text-left" style={cssVars({ boxShadow: 'var(--shadow-lg)' })}> <div className="scroll-reveal mx-auto rounded-2xl card-surface p-7 md:p-10 text-left overflow-hidden" style={cssVars({ boxShadow: 'var(--shadow-lg)' })}>
<div className="text-body md:text-body leading-[2] font-light whitespace-pre-line text-[var(--brand-black)]" style={{ fontFamily: 'var(--font-body)' }}> <h2 className="text-h1 font-[var(--font-display)] font-bold text-[var(--brand-black)] tracking-tight text-center">
{j.manifestoTitle}
</h2>
<div className="mt-4 mx-auto w-16 h-[2px] rounded-full" style={{ background: 'linear-gradient(90deg, var(--brand-accent-deep), var(--brand-accent))' }} />
<div className="mt-7 text-body md:text-body leading-[2] font-light whitespace-pre-line text-[var(--brand-black)]" style={{ fontFamily: 'var(--font-body)' }}>
{j.manifesto} {j.manifesto}
</div> </div>
</div> </div>

13
src/i18n/en.ts

@ -211,10 +211,21 @@ export const en = {
join: { join: {
title: 'Join Us', title: 'Join Us',
subtitle: 'BaskBuddy — Together for Life', subtitle: 'BaskBuddy — Together for Life',
manifestoTitle: 'BaskBuddy Growth Manifesto',
manifesto: `I Promise manifesto: `I Promise
To cherish this precious time of youth doubly To cherish this precious time of youth doubly
To love the cause in our hands boundlessly To love the cause in our hands boundlessly
We will surely spread our wings and fly high, realizing all our wishes`, We will surely spread our wings and fly high, realizing all our wishes
From now on, from this moment we set forth
Following our hearts, moving toward the light
Let every effort blossom into fruit
Let every BaskBuddy's original aspiration
Illuminate the company's path forward and brighten users' beautiful lives!
Let's go — let's honor this solemn promise with steadfast action!
Let's go — let's write this brand new chapter with the prints of our onward march!
Let's go — let's journey toward a beautiful future together with BaskBuddy!`,
manifestoCallout: { manifestoCallout: {
title: "At BaskBuddy, you're not just an employee", title: "At BaskBuddy, you're not just an employee",
body: "You're a co-creator of culture, a practitioner of values, a writer of the future. Let's follow our hearts and move toward the light, together!", body: "You're a co-creator of culture, a practitioner of values, a writer of the future. Let's follow our hearts and move toward the light, together!",

13
src/i18n/hk.ts

@ -211,10 +211,21 @@ export const hk = {
join: { join: {
title: '加入我們', title: '加入我們',
subtitle: '巴適夥伴,一生相伴', subtitle: '巴適夥伴,一生相伴',
manifestoTitle: '巴適夥伴成長宣言',
manifesto: `我承諾 manifesto: `我承諾
加倍珍惜如此寶貴的青春時光 加倍珍惜如此寶貴的青春時光
無比熱愛我們手中的這份事業 無比熱愛我們手中的這份事業
我們必定將展翅高飛,實現所有願望`, 我們必定將展翅高飛,實現所有願望
從現在開始,從此刻啟程
憑心出發,向光而行
讓每一份努力都開花結果
讓每一位巴適夥伴的初心
照亮公司的發展前路,點亮用戶的美好人生!
加油,讓我們用踏實的行動踐行這莊嚴的承諾!
加油,讓我們用前行的腳印書寫這嶄新的篇章!
加油,讓我們和巴適夥伴一同奔赴美好的未來!`,
manifestoCallout: { manifestoCallout: {
title: '在巴適夥伴,你不只是員工', title: '在巴適夥伴,你不只是員工',
body: '你是文化的共創者、價值的實踐者、未來的書寫者。讓我們一起憑心出發,向光而行!', body: '你是文化的共創者、價值的實踐者、未來的書寫者。讓我們一起憑心出發,向光而行!',

13
src/i18n/zh.ts

@ -211,10 +211,21 @@ export const zh = {
join: { join: {
title: '加入我们', title: '加入我们',
subtitle: '巴适伙伴,一生相伴', subtitle: '巴适伙伴,一生相伴',
manifestoTitle: '巴适伙伴成长宣言',
manifesto: `我承诺 manifesto: `我承诺
加倍珍惜如此宝贵的青春时光 加倍珍惜如此宝贵的青春时光
无比热爱我们手中的这份事业 无比热爱我们手中的这份事业
我们必定将展翅高飞,实现所有愿望`, 我们必定将展翅高飞,实现所有愿望
从现在开始,从此刻启程
凭心出发,向光而行
让每一份努力都开花结果
让每一位巴适伙伴的初心
照亮公司的发展前路,点亮用户的美好人生!
加油,让我们用踏实的行动践行这庄严的承诺!
加油,让我们用前行的脚印书写这崭新的篇章!
加油,让我们和巴适伙伴一同奔赴美好的未来!`,
manifestoCallout: { manifestoCallout: {
title: '在巴适伙伴,你不只是员工', title: '在巴适伙伴,你不只是员工',
body: '你是文化的共创者、价值的实践者、未来的书写者。让我们一起凭心出发,向光而行!', body: '你是文化的共创者、价值的实践者、未来的书写者。让我们一起凭心出发,向光而行!',

1
src/styles/global.css

@ -160,6 +160,7 @@ html {
body { body {
background-color: var(--bg-primary); background-color: var(--bg-primary);
color: var(--text-primary); color: var(--text-primary);
overflow-x: hidden;
/* 移动端安全边距,防止按钮贴边缘 */ /* 移动端安全边距,防止按钮贴边缘 */
padding-bottom: env(safe-area-inset-bottom, 0); padding-bottom: env(safe-area-inset-bottom, 0);
padding-left: env(safe-area-inset-left, 0); padding-left: env(safe-area-inset-left, 0);

Loading…
Cancel
Save