Skip to content

Commit

Permalink
feat: update to v1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
KageRyo committed Nov 5, 2024
1 parent e49f46f commit b2a170c
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"expo": {
"name": "WaterMirror",
"slug": "WaterMirror",
"version": "1.0.7",
"version": "1.1.2",
"orientation": "portrait",
"icon": "./assets/icon.png",
"userInterfaceStyle": "light",
Expand Down
2 changes: 1 addition & 1 deletion i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"app": {
"name": "WaterMirror",
"subtitle": "Intelligent Water Quality Analysis and Improvement Assessment System",
"version": "Version: WaterMirror-{{platform}}-InnoServeAwards2024"
"version": "Version: WaterMirror-{{platform}}-v1.1.2"
},
"nav": {
"home": "Home",
Expand Down
2 changes: 1 addition & 1 deletion i18n/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"app": {
"name": "WaterMirror",
"subtitle": "インテリジェント水質分析と改善評価システム",
"version": "バージョン:WaterMirror-{{platform}}-InnoServeAwards2024"
"version": "バージョン:WaterMirror-{{platform}}-v1.1.2"
},
"nav": {
"home": "ホーム",
Expand Down
2 changes: 1 addition & 1 deletion i18n/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"app": {
"name": "WaterMirror",
"subtitle": "智能水质分析与改善评估系统",
"version": "版本:WaterMirror-{{platform}}-InnoServeAwards2024"
"version": "版本:WaterMirror-{{platform}}-v1.1.2"
},
"nav": {
"home": "首页",
Expand Down
2 changes: 1 addition & 1 deletion i18n/zh-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"app": {
"name": "WaterMirror",
"subtitle": "智慧水質分析與改善評估系統",
"version": "版本:WaterMirror-{{platform}}-InnoServeAwards2024"
"version": "版本:WaterMirror-{{platform}}-v1.1.2"
},
"nav": {
"home": "首頁",
Expand Down
19 changes: 16 additions & 3 deletions src/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ import { useTranslation } from 'react-i18next';
import { useLanguage } from '../contexts/LanguageContext';
import { ActionSheetProvider, useActionSheet } from '@expo/react-native-action-sheet';

import GitHubMark from '../assets/github-mark.png';
const githubUrl = 'https://github.com/KageRyo/WaterMirror';

// 頂部區塊
const TopSection = () => {
const { t } = useTranslation();
Expand Down Expand Up @@ -80,12 +83,12 @@ const BtnSection = ({ navigation }) => {
},
{
text: t('buttons.contactAuthor'),
route: 'mailto:kageryo@coderyo.com',
route: 'https://kageryo.coderyo.com/',
bgColor: '#ADD8E6',
},
{
text: t('buttons.tutorial'),
route: 'https://youtu.be/g8yDUuhPMfc',
route: 'https://www.youtube.com/@WaterMirror-NUTC',
bgColor: '#FFD700',
},
];
Expand Down Expand Up @@ -162,11 +165,21 @@ const CustomBtn = ({ bgColor, text, onPress, isLangBtn }) => {
const BottomSection = () => {
return (
<View style={bottomStyles.bottom}>
<Text style={bottomStyles.blue}>資訊應用服務創新競賽</Text>
<Text style={bottomStyles.blue}>本專案由國立臺中科技大學</Text>
<Text style={[bottomStyles.blue, bottomStyles.bottomText]}>智慧生產工程系 張健勳, 吳國維 進行開發</Text>
<Text style={bottomStyles.bottomText}>若有任何問題,歡迎到本專案GitHub頁面!</Text>
<TouchableOpacity onPress={openGitHub}>
<Image source={GitHubMark} style={bottomStyles.githubImg} />
</TouchableOpacity>
</View>
);
};

// 開啟 GitHub 連結
const openGitHub = () => {
Linking.openURL(githubUrl);
};

// 畫面視窗
export function HomeScreen() {
const navigation = useNavigation();
Expand Down

0 comments on commit b2a170c

Please sign in to comment.