diff --git a/.env.development b/.env.development
new file mode 100644
index 00000000..e77609dc
--- /dev/null
+++ b/.env.development
@@ -0,0 +1,2 @@
+ENV_NAME=development
+BASE_URL=https://syncrow-dev.azurewebsites.net
\ No newline at end of file
diff --git a/.env.production b/.env.production
new file mode 100644
index 00000000..4e9dcb81
--- /dev/null
+++ b/.env.production
@@ -0,0 +1,2 @@
+ENV_NAME=production
+BASE_URL=https://syncrow-staging.azurewebsites.net
\ No newline at end of file
diff --git a/.env.staging b/.env.staging
new file mode 100644
index 00000000..9565b426
--- /dev/null
+++ b/.env.staging
@@ -0,0 +1,2 @@
+ENV_NAME=staging
+BASE_URL=https://syncrow-staging.azurewebsites.net
\ No newline at end of file
diff --git a/.github/workflows/azure-static-web-apps-zealous-mushroom-0d31a3303.yml b/.github/workflows/azure-static-web-apps-polite-smoke-017c65c10.yml
similarity index 88%
rename from .github/workflows/azure-static-web-apps-zealous-mushroom-0d31a3303.yml
rename to .github/workflows/azure-static-web-apps-polite-smoke-017c65c10.yml
index b8d576b9..e28d1bb2 100644
--- a/.github/workflows/azure-static-web-apps-zealous-mushroom-0d31a3303.yml
+++ b/.github/workflows/azure-static-web-apps-polite-smoke-017c65c10.yml
@@ -31,13 +31,13 @@ jobs:
run: flutter pub get
- name: Build Flutter Web App
- run: flutter build web
+ run: flutter build web --release --dart-define=FLAVOR=development
- name: Build And Deploy
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
with:
- azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_ZEALOUS_MUSHROOM_0D31A3303 }}
+ azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_POLITE_SMOKE_017C65C10 }}
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
action: "upload"
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
@@ -56,5 +56,5 @@ jobs:
id: closepullrequest
uses: Azure/static-web-apps-deploy@v1
with:
- azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_ZEALOUS_MUSHROOM_0D31A3303 }}
- action: "close"
+ azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_POLITE_SMOKE_017C65C10 }}
+ action: "close"
\ No newline at end of file
diff --git a/.vscode/launch.json b/.vscode/launch.json
index e4d616c1..b6f83bdc 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -1,25 +1,61 @@
{
- // Use IntelliSense to learn about possible attributes.
- // Hover to view descriptions of existing attributes.
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
- "version": "0.2.0",
"configurations": [
+
{
- "name": "web",
- "request": "launch",
- "type": "dart"
- },
- {
- "name": "web (profile mode)",
+
+ "name": "DEVELOPMENT",
+
"request": "launch",
+
"type": "dart",
- "flutterMode": "profile"
- },
- {
- "name": "web (release mode)",
+
+ "args": [
+
+ "--dart-define",
+
+ "FLAVOR=development"
+
+ ],
+
+ "flutterMode": "debug"
+
+ },{
+
+ "name": "STAGING",
+
"request": "launch",
+
"type": "dart",
- "flutterMode": "release"
- }
+
+ "args": [
+
+ "--dart-define",
+
+ "FLAVOR=staging"
+
+ ],
+
+ "flutterMode": "debug"
+
+ },{
+
+ "name": "PRODUCTION",
+
+ "request": "launch",
+
+ "type": "dart",
+
+ "args": [
+
+ "--dart-define",
+
+ "FLAVOR=production"
+
+ ],
+
+ "flutterMode": "debug"
+
+ },
+
]
}
\ No newline at end of file
diff --git a/README.md b/README.md
index 301f90fd..745fe6f0 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,5 @@
# syncrow_web
-A new Flutter project.
-
## Getting Started
This project is a starting point for a Flutter application.
@@ -14,3 +12,11 @@ A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the
[online documentation](https://docs.flutter.dev/), which offers tutorials,
samples, guidance on mobile development, and a full API reference.
+
+
+## USEFUL COMMANDS
+
+Run on chrome: flutter run -d chrome --dart-define=FLAVOR='ENV_NAME'
+
+Build: flutter build web --release --dart-define=FLAVOR='ENV_NAME'
+
diff --git a/assets/icons/1gang.svg b/assets/icons/1gang.svg
new file mode 100644
index 00000000..647dc350
--- /dev/null
+++ b/assets/icons/1gang.svg
@@ -0,0 +1,5 @@
+
diff --git a/assets/icons/2gang.svg b/assets/icons/2gang.svg
new file mode 100644
index 00000000..6cfe191b
--- /dev/null
+++ b/assets/icons/2gang.svg
@@ -0,0 +1,7 @@
+
diff --git a/assets/icons/ac_lock.svg b/assets/icons/ac_lock.svg
new file mode 100644
index 00000000..9402fe6b
--- /dev/null
+++ b/assets/icons/ac_lock.svg
@@ -0,0 +1,5 @@
+
diff --git a/assets/icons/ac_schedule.svg b/assets/icons/ac_schedule.svg
new file mode 100644
index 00000000..eb2394c9
--- /dev/null
+++ b/assets/icons/ac_schedule.svg
@@ -0,0 +1,28 @@
+
diff --git a/assets/icons/account_setting.svg b/assets/icons/account_setting.svg
new file mode 100644
index 00000000..0b27b849
--- /dev/null
+++ b/assets/icons/account_setting.svg
@@ -0,0 +1,6 @@
+
diff --git a/assets/icons/automation_records.svg b/assets/icons/automation_records.svg
new file mode 100644
index 00000000..2f5a1038
--- /dev/null
+++ b/assets/icons/automation_records.svg
@@ -0,0 +1,17 @@
+
diff --git a/assets/icons/bathroom.svg b/assets/icons/bathroom.svg
index 51fc8b6a..8a75f646 100644
--- a/assets/icons/bathroom.svg
+++ b/assets/icons/bathroom.svg
@@ -1,29 +1,28 @@
-