Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions web/src/components/BentoGrid.astro
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ const localizedCards = bentoFeatures.map((card) => {
.bento-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
gap: var(--space-grid);
}

/* Asymmetric Bento Layout */
Expand Down Expand Up @@ -562,7 +562,7 @@ const localizedCards = bentoFeatures.map((card) => {
@media (max-width: 1024px) {
.bento-grid {
grid-template-columns: repeat(2, 1fr);
gap: 16px;
gap: var(--space-grid);
}
.bento-hero {
grid-column: span 2;
Expand All @@ -580,7 +580,7 @@ const localizedCards = bentoFeatures.map((card) => {
@media (max-width: 680px) {
.bento-grid {
grid-template-columns: 1fr;
gap: 16px;
gap: var(--space-grid-sm);
}
.bento-hero,
.bento-standard {
Expand Down
6 changes: 3 additions & 3 deletions web/src/components/MetricsProof.astro
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const copy = t.metrics.items as Record<string, { label: string; sublabel: string
<div class="metric-icon-wrap">
{item.icon === 'concurrency' && (
<svg class="metric-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<path d="M12 2v20M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6" />
<path d="M4 8h13l-3.5-3.5M20 16H7l3.5 3.5" />
</svg>
)}
{item.icon === 'shield' && (
Expand Down Expand Up @@ -64,7 +64,7 @@ const copy = t.metrics.items as Record<string, { label: string; sublabel: string
.metrics-grid {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 16px;
gap: var(--space-grid);
}

.metric-card {
Expand Down Expand Up @@ -159,7 +159,7 @@ const copy = t.metrics.items as Record<string, { label: string; sublabel: string
@media (max-width: 640px) {
.metrics-grid {
grid-template-columns: repeat(2, 1fr);
gap: 12px;
gap: var(--space-grid-sm);
}

.metric-card:last-child {
Expand Down
4 changes: 0 additions & 4 deletions web/src/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,23 +41,19 @@
},
"sections": {
"showcase": {
"tag": "Hero Experience",
"title": "3D Interactive macOS Desktop Simulator",
"desc": "Drag windows, test top-edge snap layouts, and trigger translucent HUD previews directly in your browser.",
"mobileFallback": "Best experienced on desktop — try the interactive sandbox on a larger screen"
},
"features": {
"tag": "Core Architecture",
"title": "Engineered for Focus & Intent",
"desc": "6 breakthrough capabilities bringing Windows 11 elegance to native macOS speed."
},
"shortcuts": {
"tag": "Tactile Speed",
"title": "Keyboard Shortcuts Matrix",
"desc": "Full spectrum keyboard navigation for windows, multi-display throws, and presets."
},
"download": {
"tag": "Distribution",
"title": "Get Started with FlowSnap",
"desc": "One-click terminal install, verified DMG packages, and offline privacy manifesto."
}
Expand Down
4 changes: 0 additions & 4 deletions web/src/i18n/vi.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,23 +41,19 @@
},
"sections": {
"showcase": {
"tag": "Trải nghiệm Tương tác",
"title": "Trình mô phỏng Màn hình macOS 3D",
"desc": "Kéo thả cửa sổ, trải nghiệm khay snap mép trên và kích hoạt xem trước HUD mờ trực tiếp trên trình duyệt.",
"mobileFallback": "Trải nghiệm tốt nhất trên máy tính — hãy thử sandbox tương tác trên màn hình lớn hơn"
},
"features": {
"tag": "Kiến trúc Cốt lõi",
"title": "Thiết kế cho Sự tập trung & Tinh tế",
"desc": "6 tính năng đột phá mang vẻ đẹp Windows 11 hòa quyện cùng tốc độ native của macOS."
},
"shortcuts": {
"tag": "Tốc độ Thực chiến",
"title": "Ma trận Phím tắt",
"desc": "Hệ thống phím tắt toàn diện điều khiển cửa sổ, ném đa màn hình và các bố cục mẫu."
},
"download": {
"tag": "Kênh Phân phối",
"title": "Bắt đầu cùng FlowSnap",
"desc": "Cài đặt 1 dòng lệnh Terminal, gói cài DMG chuẩn hóa và cam kết quyền riêng tư ngoại tuyến."
}
Expand Down
17 changes: 1 addition & 16 deletions web/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ const t = getI18n(lang);
<div class="page-container sections-container">
<section id="showcase" class="section-card">
<div class="section-header">
<span class="section-tag">{t.sections.showcase.tag}</span>
<h2 class="section-title">{t.sections.showcase.title}</h2>
<p class="section-desc">{t.sections.showcase.desc}</p>
</div>
Expand All @@ -87,7 +86,6 @@ const t = getI18n(lang);

<section id="features" class="section-card">
<div class="section-header">
<span class="section-tag">{t.sections.features.tag}</span>
<h2 class="section-title">{t.sections.features.title}</h2>
<p class="section-desc">{t.sections.features.desc}</p>
</div>
Expand All @@ -97,7 +95,6 @@ const t = getI18n(lang);

<section id="shortcuts" class="section-card">
<div class="section-header">
<span class="section-tag">{t.sections.shortcuts.tag}</span>
<h2 class="section-title">{t.sections.shortcuts.title}</h2>
<p class="section-desc">{t.sections.shortcuts.desc}</p>
</div>
Expand All @@ -106,7 +103,6 @@ const t = getI18n(lang);

<section id="download" class="section-card">
<div class="section-header">
<span class="section-tag">{t.sections.download.tag}</span>
<h2 class="section-title">{t.sections.download.title}</h2>
<p class="section-desc">{t.sections.download.desc}</p>
</div>
Expand Down Expand Up @@ -215,18 +211,7 @@ const t = getI18n(lang);
display: flex;
flex-direction: column;
gap: 8px;
}

.section-tag {
font-family: var(--font-mono);
font-size: var(--font-size-meta);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--accent-blue);
}

.section-title {
} .section-title {
font-family: var(--font-display);
font-size: clamp(22px, 3.5vw, 30px);
font-weight: 700;
Expand Down
17 changes: 1 addition & 16 deletions web/src/pages/vi/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ const t = getI18n(lang);
<div class="page-container sections-container">
<section id="showcase" class="section-card">
<div class="section-header">
<span class="section-tag">{t.sections.showcase.tag}</span>
<h2 class="section-title">{t.sections.showcase.title}</h2>
<p class="section-desc">{t.sections.showcase.desc}</p>
</div>
Expand All @@ -87,7 +86,6 @@ const t = getI18n(lang);

<section id="features" class="section-card">
<div class="section-header">
<span class="section-tag">{t.sections.features.tag}</span>
<h2 class="section-title">{t.sections.features.title}</h2>
<p class="section-desc">{t.sections.features.desc}</p>
</div>
Expand All @@ -97,7 +95,6 @@ const t = getI18n(lang);

<section id="shortcuts" class="section-card">
<div class="section-header">
<span class="section-tag">{t.sections.shortcuts.tag}</span>
<h2 class="section-title">{t.sections.shortcuts.title}</h2>
<p class="section-desc">{t.sections.shortcuts.desc}</p>
</div>
Expand All @@ -106,7 +103,6 @@ const t = getI18n(lang);

<section id="download" class="section-card">
<div class="section-header">
<span class="section-tag">{t.sections.download.tag}</span>
<h2 class="section-title">{t.sections.download.title}</h2>
<p class="section-desc">{t.sections.download.desc}</p>
</div>
Expand Down Expand Up @@ -215,18 +211,7 @@ const t = getI18n(lang);
display: flex;
flex-direction: column;
gap: 8px;
}

.section-tag {
font-family: var(--font-mono);
font-size: var(--font-size-meta);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--accent-blue);
}

.section-title {
} .section-title {
font-family: var(--font-display);
font-size: clamp(22px, 3.5vw, 30px);
font-weight: 700;
Expand Down
4 changes: 4 additions & 0 deletions web/src/styles/design-tokens.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@
--font-mono: "SF Mono", ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;

/* Typography Font Sizes */
/* card-grid rhythm: the two card ribbons used 16/12 and 20/16 for the
same sibling relationship */
--space-grid: 20px;
--space-grid-sm: 16px;
--site-header-height: 60px;
--font-size-meta: 11px; /* mono metadata: version, dates, counts, keycaps */
--font-size-label: 13px; /* secondary UI label: nav, buttons, small prose */
Expand Down
Loading