11---
22import BaseLayout from ' ../layouts/BaseLayout.astro' ;
33
4- const title = ' openhare - 专业跨平台桌面 SQL 查询工具 ' ;
4+ const title = ' openhare - Professional Cross-Platform Desktop SQL Query Tool ' ;
55const description =
6- ' openhare 是一款专业的跨平台桌面 SQL 查询工具,使用 Flutter 构建,面向 DBA、开发者与数据分析师,提供强大且直观的数据库管理与查询体验。 ' ;
6+ ' openhare is a professional, cross-platform desktop SQL query tool built with Flutter. Designed for DBAs, developers, and data analysts, it delivers a powerful yet intuitive experience for managing and querying databases. ' ;
77const repoUrl = import .meta .env .PUBLIC_REPO_URL ?? ' https://github.com/sjjian/openhare' ;
8+ const downloadUrl = ` ${repoUrl }/releases ` ;
89---
910
10- <BaseLayout title ={ title } description ={ description } lang =" zh-CN " >
11+ <BaseLayout title ={ title } description ={ description } lang =" en " >
1112 <div class =" container" >
1213 <header class =" topbar" >
13- <a class =" topbarBrand" href ={ import .meta .env .BASE_URL } aria-label =" 返回首页 " >
14+ <a class =" topbarBrand" href ={ import .meta .env .BASE_URL } aria-label =" Back to home " >
1415 <span class =" brandMark" aria-hidden =" true" >
1516 <img src ={ ` ${import .meta .env .BASE_URL }logo.png ` } width =" 28" height =" 28" alt =" " />
1617 </span >
1718 <span class =" brandText" >openhare</span >
1819 </a >
19- <a class =" topbarLang" href ={ ` ${import .meta .env .BASE_URL }en / ` } aria-label =" Switch to English " >
20+ <a class =" topbarLang" href ={ ` ${import .meta .env .BASE_URL }zh / ` } aria-label =" 切换到中文 " >
2021 <svg class =" langIcon" viewBox =" 0 0 24 24" aria-hidden =" true" focusable =" false" >
2122 <path
2223 fill =" currentColor"
2324 d =" M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm7.94 9h-3.18c-.12-2.3-.7-4.4-1.63-5.96A8.02 8.02 0 0 1 19.94 11zM12 4c.9 0 2.22 2.12 2.6 7H9.4C9.78 6.12 11.1 4 12 4zM4.06 13h3.18c.12 2.3.7 4.4 1.63 5.96A8.02 8.02 0 0 1 4.06 13zM4.06 11a8.02 8.02 0 0 1 4.81-5.96C7.94 6.6 7.36 8.7 7.24 11H4.06zm7.94 9c-.9 0-2.22-2.12-2.6-7h5.2c-.38 4.88-1.7 7-2.6 7zm3.13-1.04c.93-1.56 1.5-3.66 1.63-5.96h3.18a8.02 8.02 0 0 1-4.81 5.96zM16.76 11H7.24c.05-.64.08-1.31.08-2s-.03-1.36-.08-2h9.52c.05.64.08 1.31.08 2s-.03 1.36-.08 2z"
2425 />
2526 </svg >
26- <span >EN </span >
27+ <span >中文 </span >
2728 </a >
2829 </header >
2930
3031 <main id =" main-content" class =" main" >
3132 <section class =" hero" >
3233 <h1 class =" heroTitle" data-reveal >openhare</h1 >
3334 <p class =" heroSub" data-reveal >
34- 一款专业的跨平台桌面 SQL 查询工具,使用 Flutter 构建。面向数据库管理员、开发者与数据分析师,提供强大且直观的数据库管理与查询体验。
35+ A professional, cross-platform desktop SQL query tool built with Flutter. Designed for database administrators,
36+ developers, and data analysts—powerful yet intuitive for managing and querying databases.
3537 </p >
3638 <div class =" heroActions" data-reveal >
37- <a class =" btn btnPrimary" href ={ repoUrl } target =" _blank" rel =" noreferrer" >
39+ <a class =" btn btnPrimary" href ={ downloadUrl } target =" _blank" rel =" noreferrer" >
3840 <svg class =" btnIcon" viewBox =" 0 0 24 24" aria-hidden =" true" focusable =" false" >
3941 <path
4042 fill =" currentColor"
4143 d =" M12 3a1 1 0 0 1 1 1v8.59l2.3-2.3a1 1 0 1 1 1.4 1.42l-4.01 4.01a1 1 0 0 1-1.4 0l-4.01-4.01a1 1 0 1 1 1.4-1.42L11 12.59V4a1 1 0 0 1 1-1zm-7 16a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1z"
4244 />
4345 </svg >
44- <span >下载 </span >
46+ <span >Download </span >
4547 </a >
46- <a class =" btn btnGhost" href ={ repoUrl } target =" _blank" rel =" noreferrer" aria-label =" 打开 GitHub 仓库 " >
48+ <a class =" btn btnGhost" href ={ repoUrl } target =" _blank" rel =" noreferrer" aria-label =" Open GitHub repository " >
4749 <svg class =" btnIcon" viewBox =" 0 0 24 24" aria-hidden =" true" focusable =" false" >
4850 <path
4951 fill =" currentColor"
@@ -56,7 +58,7 @@ const repoUrl = import.meta.env.PUBLIC_REPO_URL ?? 'https://github.com/sjjian/op
5658 </section >
5759
5860 <section id =" features" class =" section" data-reveal >
59- <h2 class =" sectionTitle" >功能特性 </h2 >
61+ <h2 class =" sectionTitle" >Key Features </h2 >
6062 <div class =" cards" >
6163 <article class =" card" >
6264 <div class =" cardIcon" aria-hidden =" true" >
@@ -67,8 +69,8 @@ const repoUrl = import.meta.env.PUBLIC_REPO_URL ?? 'https://github.com/sjjian/op
6769 />
6870 </svg >
6971 </div >
70- <h3 >AI 助手 </h3 >
71- <p >增强的 AI 能力,帮助你编写、优化并理解 SQL 查询。 </p >
72+ <h3 >AI-Powered Assistance </h3 >
73+ <p >Enhanced AI features to help you write, optimize, and understand SQL queries. </p >
7274 </article >
7375 <article class =" card" >
7476 <div class =" cardIcon" aria-hidden =" true" >
@@ -79,44 +81,44 @@ const repoUrl = import.meta.env.PUBLIC_REPO_URL ?? 'https://github.com/sjjian/op
7981 />
8082 </svg >
8183 </div >
82- <h3 >跨平台 </h3 >
83- <p >基于 Flutter 构建,支持 Windows、 macOS 与 Linux。 </p >
84+ <h3 >Cross-Platform </h3 >
85+ <p >Runs seamlessly on Windows, macOS, and Linux. </p >
8486 </article >
8587 <article class =" card" >
8688 <div class =" cardIcon" aria-hidden =" true" >
8789 <svg viewBox =" 0 0 24 24" >
8890 <path
8991 fill =" currentColor"
90- d =" M12 2a7 7 0 0 1 7 7v3a3 3 0 0 1-3 3h-1v2a3 3 0 0 1-3 3H7a1 1 0 1 1 0-2h6a1 1 0 0 0 1-1v-2h-2a3 3 0 0 1-3-3V9a7 7 0 0 1 7-7zm0 2a5 5 0 0 0-5 5v3a1 1 0 0 0 1 1h4v-2a1 1 0 1 1 2 0v2h2a1 1 0 0 0 1-1V9a5 5 0 0 0-5-5z "
92+ d =" M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 2a8 8 0 0 1 7.75 6H14.5a2.5 2. 5 0 0 0-5 0H4.25A8 8 0 0 1 12 4zm-8 8c0-.69.09-1.36.25-2h5.33a2.5 2.5 0 0 0 5 0h5.33c.16.64.25 1.31.25 2a8 8 0 0 1-16 0z "
9193 />
9294 </svg >
9395 </div >
94- <h3 >多数据库支持 </h3 >
95- <p >轻松连接并管理多种 SQL 数据库。 </p >
96+ <h3 >Fully Open Source </h3 >
97+ <p >Licensed under Apache License 2.0—transparent and community-driven. </p >
9698 </article >
9799 <article class =" card" >
98100 <div class =" cardIcon" aria-hidden =" true" >
99101 <svg viewBox =" 0 0 24 24" >
100102 <path
101103 fill =" currentColor"
102- d =" M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 2a8 8 0 0 1 7.75 6H14.5a2.5 2.5 0 0 0-5 0H4.25A8 8 0 0 1 12 4zm-8 8c0-.69.09-1.36.25-2h5.33a2.5 2.5 0 0 0 5 0h5.33c.16.64.25 1.31.25 2a8 8 0 0 1-16 0z "
104+ d =" M4 6a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2h4a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-6a2 2 0 0 1-2-2v-2H6a2 2 0 0 1-2-2V6zm8 0H6v6h6V6zm2 6v6h6v-6h-6z "
103105 />
104106 </svg >
105107 </div >
106- <h3 >完全开源 </h3 >
107- <p >Apache License 2.0,透明、可审计、社区驱动。 </p >
108+ <h3 >Simple & Intuitive UI </h3 >
109+ <p >A modern interface focused on ease of use and productivity. </p >
108110 </article >
109111 <article class =" card" >
110112 <div class =" cardIcon" aria-hidden =" true" >
111113 <svg viewBox =" 0 0 24 24" >
112114 <path
113115 fill =" currentColor"
114- d =" M4 6a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2h4a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-6a2 2 0 0 1-2-2v-2H6a2 2 0 0 1-2-2V6zm8 0H6v6h6V6zm2 6v6h6v-6h-6z "
116+ d =" M12 2a7 7 0 0 1 7 7v3a3 3 0 0 1-3 3h-1v2a3 3 0 0 1-3 3H7a1 1 0 1 1 0-2h6a1 1 0 0 0 1-1v- 2h-2a3 3 0 0 1-3-3V9a7 7 0 0 1 7-7zm0 2a5 5 0 0 0-5 5v3a1 1 0 0 0 1 1h4v-2a1 1 0 1 1 2 0v2h2a1 1 0 0 0 1-1V9a5 5 0 0 0-5-5z "
115117 />
116118 </svg >
117119 </div >
118- <h3 >简洁易用 </h3 >
119- <p >现代直观的界面,专注效率与生产力。 </p >
120+ <h3 >Multi-Database Support </h3 >
121+ <p >Connect to and manage various SQL databases effortlessly. </p >
120122 </article >
121123 </div >
122124 </section >
@@ -127,4 +129,3 @@ const repoUrl = import.meta.env.PUBLIC_REPO_URL ?? 'https://github.com/sjjian/op
127129 </footer >
128130 </div >
129131</BaseLayout >
130-
0 commit comments