From e10f349d6a73273c1403b911af3be9764970553b Mon Sep 17 00:00:00 2001 From: hflllll Date: Sat, 12 Jul 2025 22:20:31 +0800 Subject: [PATCH] =?UTF-8?q?'UI=E5=9F=BA=E6=9C=AC=E5=81=9A=E5=AE=8C'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/locales/en.json | 43 ++++++ src/i18n/locales/ja.json | 43 ++++++ src/i18n/locales/zh.json | 43 ++++++ src/router/index.ts | 5 + src/views/Resources.vue | 359 +++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 493 insertions(+) create mode 100644 src/views/Resources.vue diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 9e6af90..f6c4016 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -65,6 +65,49 @@ "docs": "Documentation" } }, + "resources": { + "hero": { + "title": "Resources", + "subtitle": "Access documentation, tutorials, SDKs, and other resources to help you build on MOSE" + }, + "categories": { + "all": "All Resources", + "docs": "Documentation", + "tutorials": "Tutorials", + "sdks": "SDKs & APIs", + "tools": "Tools", + "community": "Community" + }, + "items": { + "docs_title": "Developer Documentation", + "docs_description": "Comprehensive guides and reference documentation for building on MOSE", + "api_title": "API Reference", + "api_description": "Detailed API documentation for integrating with the MOSE blockchain", + "tutorial_beginner_title": "Getting Started Guide", + "tutorial_beginner_description": "Step-by-step tutorials for beginners to start building on MOSE", + "tutorial_advanced_title": "Advanced Tutorials", + "tutorial_advanced_description": "In-depth guides for experienced developers to build complex applications", + "sdk_js_title": "JavaScript SDK", + "sdk_js_description": "Official JavaScript SDK for interacting with the MOSE blockchain", + "sdk_python_title": "Python SDK", + "sdk_python_description": "Official Python SDK for building applications on MOSE", + "explorer_title": "Block Explorer", + "explorer_description": "Explore transactions, blocks, and accounts on the MOSE blockchain", + "wallet_title": "MOSE Wallet", + "wallet_description": "Secure wallet for managing your MOSE assets and interacting with dApps", + "forum_title": "Developer Forum", + "forum_description": "Connect with other developers and get help from the MOSE community", + "github_title": "GitHub Repository", + "github_description": "Access the open-source code, contribute, and report issues" + }, + "explore": "Explore", + "newsletter": { + "title": "Stay Updated", + "subtitle": "Subscribe to our newsletter to receive the latest updates, tutorials, and resources", + "placeholder": "Enter your email address", + "button": "Subscribe" + } + }, "about": { "hero": { "title": "About Us", diff --git a/src/i18n/locales/ja.json b/src/i18n/locales/ja.json index dc2023b..d49f563 100644 --- a/src/i18n/locales/ja.json +++ b/src/i18n/locales/ja.json @@ -65,6 +65,49 @@ "docs": "ドキュメント" } }, + "resources": { + "hero": { + "title": "リソース", + "subtitle": "MOSEでの開発に役立つドキュメント、チュートリアル、SDK、その他のリソースにアクセスする" + }, + "categories": { + "all": "すべてのリソース", + "docs": "ドキュメント", + "tutorials": "チュートリアル", + "sdks": "SDKとAPI", + "tools": "ツール", + "community": "コミュニティ" + }, + "items": { + "docs_title": "開発者ドキュメント", + "docs_description": "MOSEでの開発のための包括的なガイドとリファレンスドキュメント", + "api_title": "APIリファレンス", + "api_description": "MOSEブロックチェーンと統合するための詳細なAPIドキュメント", + "tutorial_beginner_title": "入門ガイド", + "tutorial_beginner_description": "初心者がMOSEでの開発を始めるためのステップバイステップのチュートリアル", + "tutorial_advanced_title": "高度なチュートリアル", + "tutorial_advanced_description": "経験豊富な開発者が複雑なアプリケーションを構築するための詳細なガイド", + "sdk_js_title": "JavaScript SDK", + "sdk_js_description": "MOSEブロックチェーンと対話するための公式JavaScript SDK", + "sdk_python_title": "Python SDK", + "sdk_python_description": "MOSEでアプリケーションを構築するための公式Python SDK", + "explorer_title": "ブロックエクスプローラー", + "explorer_description": "MOSEブロックチェーン上のトランザクション、ブロック、アカウントを探索する", + "wallet_title": "MOSEウォレット", + "wallet_description": "MOSEの資産を管理し、分散型アプリケーションと対話するための安全なウォレット", + "forum_title": "開発者フォーラム", + "forum_description": "他の開発者と繋がり、MOSEコミュニティからサポートを受ける", + "github_title": "GitHubリポジトリ", + "github_description": "オープンソースコードにアクセスし、貢献し、問題を報告する" + }, + "explore": "探索する", + "newsletter": { + "title": "最新情報を入手", + "subtitle": "ニュースレターを購読して、最新の更新情報、チュートリアル、リソースを受け取る", + "placeholder": "メールアドレスを入力", + "button": "購読する" + } + }, "about": { "hero": { "title": "私たちについて", diff --git a/src/i18n/locales/zh.json b/src/i18n/locales/zh.json index c06df09..fb0d535 100644 --- a/src/i18n/locales/zh.json +++ b/src/i18n/locales/zh.json @@ -65,6 +65,49 @@ "docs": "文档" } }, + "resources": { + "hero": { + "title": "资源", + "subtitle": "获取文档、教程、SDK和其他资源,帮助您在MOSE上进行开发" + }, + "categories": { + "all": "所有资源", + "docs": "文档", + "tutorials": "教程", + "sdks": "SDK和API", + "tools": "工具", + "community": "社区" + }, + "items": { + "docs_title": "开发者文档", + "docs_description": "全面的指南和参考文档,用于在MOSE上进行开发", + "api_title": "API参考", + "api_description": "详细的API文档,用于与MOSE区块链集成", + "tutorial_beginner_title": "入门指南", + "tutorial_beginner_description": "为初学者提供的分步教程,开始在MOSE上构建应用", + "tutorial_advanced_title": "高级教程", + "tutorial_advanced_description": "为有经验的开发者提供的深入指南,用于构建复杂应用", + "sdk_js_title": "JavaScript SDK", + "sdk_js_description": "官方JavaScript SDK,用于与MOSE区块链交互", + "sdk_python_title": "Python SDK", + "sdk_python_description": "官方Python SDK,用于在MOSE上构建应用", + "explorer_title": "区块浏览器", + "explorer_description": "探索MOSE区块链上的交易、区块和账户", + "wallet_title": "MOSE钱包", + "wallet_description": "安全的钱包,用于管理您的MOSE资产和与去中心化应用交互", + "forum_title": "开发者论坛", + "forum_description": "与其他开发者联系并从MOSE社区获取帮助", + "github_title": "GitHub仓库", + "github_description": "访问开源代码,做出贡献并报告问题" + }, + "explore": "探索", + "newsletter": { + "title": "保持更新", + "subtitle": "订阅我们的通讯,接收最新的更新、教程和资源", + "placeholder": "输入您的电子邮箱", + "button": "订阅" + } + }, "about": { "hero": { "title": "关于我们", diff --git a/src/router/index.ts b/src/router/index.ts index 5810612..d509de3 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -16,6 +16,11 @@ const routes = [ name: 'About', component: () => import('@/views/About.vue') }, + { + path: '/resources', + name: 'Resources', + component: () => import('@/views/Resources.vue') + }, { path: '/community', name: 'Community', diff --git a/src/views/Resources.vue b/src/views/Resources.vue new file mode 100644 index 0000000..039edb3 --- /dev/null +++ b/src/views/Resources.vue @@ -0,0 +1,359 @@ + + + \ No newline at end of file