-
-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: DEMO: Weather App Added (#2656)
- Loading branch information
1 parent
e098ecd
commit a647ba2
Showing
35 changed files
with
6,660 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
VITE_API_KEY=afc52dc7464c4196071f9a699808f0ee | ||
|
||
VITE_APP_TOLGEE_API_URL=https://app.tolgee.io | ||
VITE_APP_TOLGEE_API_KEY=tgpak_geydqnjtl5zgiz3jnzyxg5bugm4wg4tvmrzwiodnnv2tknzvoq3a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
dist | ||
dist-ssr | ||
*.local | ||
*.production | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
.DS_Store | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import js from '@eslint/js' | ||
import globals from 'globals' | ||
import react from 'eslint-plugin-react' | ||
import reactHooks from 'eslint-plugin-react-hooks' | ||
import reactRefresh from 'eslint-plugin-react-refresh' | ||
|
||
export default [ | ||
{ ignores: ['dist'] }, | ||
{ | ||
files: ['**/*.{js,jsx}'], | ||
languageOptions: { | ||
ecmaVersion: 2020, | ||
globals: globals.browser, | ||
parserOptions: { | ||
ecmaVersion: 'latest', | ||
ecmaFeatures: { jsx: true }, | ||
sourceType: 'module', | ||
}, | ||
}, | ||
settings: { react: { version: '18.3' } }, | ||
plugins: { | ||
react, | ||
'react-hooks': reactHooks, | ||
'react-refresh': reactRefresh, | ||
}, | ||
rules: { | ||
...js.configs.recommended.rules, | ||
...react.configs.recommended.rules, | ||
...react.configs['jsx-runtime'].rules, | ||
...reactHooks.configs.recommended.rules, | ||
'react/jsx-no-target-blank': 'off', | ||
'react-refresh/only-export-components': [ | ||
'warn', | ||
{ allowConstantExport: true }, | ||
], | ||
}, | ||
}, | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" type="image/svg+xml" href="/logo.webp" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Weather App</title> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<script type="module" src="/src/main.jsx"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"app-title": "سواء كان التطبيق", | ||
"current-weather": "الطقس الحالي", | ||
"enter-city": "أدخل اسم المدينة", | ||
"feels-like": "أشعر وكأن", | ||
"Forecast": "التوقعات", | ||
"Humidity": "الرطوبة", | ||
"Loading": "جار التحميل", | ||
"not-allow": "رفض المستخدم تحديد الموقع الجغرافي", | ||
"Pressure": "الضغط", | ||
"search-key": "بحث", | ||
"Wind": "رياح" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"app-title": "Whether App", | ||
"current-weather": "Current Weather", | ||
"enter-city": "Enter city name", | ||
"feels-like": "Feels like", | ||
"Forecast": "Forecast", | ||
"Humidity": "Humidity", | ||
"Loading": "Loading", | ||
"not-allow": "User denied Geolocation", | ||
"Pressure": "Pressure", | ||
"search-key": "Search", | ||
"Wind": "Wind" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"app-title": "Si la aplicación", | ||
"current-weather": "Clima Actual", | ||
"enter-city": "Ingrese el nombre de la ciudad", | ||
"feels-like": "Se siente como", | ||
"Forecast": "Pronóstico", | ||
"Humidity": "Humedad", | ||
"Loading": "Cargando", | ||
"not-allow": "El usuario ha denegado la geolocalización", | ||
"Pressure": "Presión", | ||
"search-key": "Buscar", | ||
"Wind": "Viento" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"app-title": "मौसम ऐप", | ||
"current-weather": "वर्तमान मौसम", | ||
"enter-city": "शहर का नाम दर्ज करें", | ||
"feels-like": "ऐसा लगता है", | ||
"Forecast": "पूर्वानुमान", | ||
"Humidity": "नमी", | ||
"Loading": "लोड हो रहा है", | ||
"not-allow": "उपयोगकर्ता ने जियोलोकेशन अस्वीकार कर दिया", | ||
"Pressure": "दबाव", | ||
"search-key": "खोजें", | ||
"Wind": "हवा" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"app-title": "是否应用程序", | ||
"current-weather": "当前天气", | ||
"enter-city": "输入城市名称", | ||
"feels-like": "感觉就像", | ||
"search-key": "搜索" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"app-title": "是否应用程序", | ||
"current-weather": "当前天气", | ||
"enter-city": "输入城市名称", | ||
"feels-like": "感觉像", | ||
"Humidity": "湿度", | ||
"search-key": "搜索", | ||
"Wind": "风" | ||
} |
Oops, something went wrong.