diff --git a/android/app/capacitor.build.gradle b/android/app/capacitor.build.gradle index bbfb44fa..7d5ceefd 100644 --- a/android/app/capacitor.build.gradle +++ b/android/app/capacitor.build.gradle @@ -9,7 +9,7 @@ android { apply from: "../capacitor-cordova-android-plugins/cordova.variables.gradle" dependencies { - + implementation project(':capacitor-status-bar') } diff --git a/android/app/src/main/java/olcxja/miarven/MainActivity.java b/android/app/src/main/java/olcxja/miarven/MainActivity.java index a94cd98d..7178e5ad 100644 --- a/android/app/src/main/java/olcxja/miarven/MainActivity.java +++ b/android/app/src/main/java/olcxja/miarven/MainActivity.java @@ -1,5 +1,14 @@ package olcxja.miarven; +import android.graphics.Color; +import android.os.Bundle; + import com.getcapacitor.BridgeActivity; -public class MainActivity extends BridgeActivity {} +public class MainActivity extends BridgeActivity { + @Override + public void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + + } +} diff --git a/android/app/src/main/res/drawable-land-hdpi/splash.png b/android/app/src/main/res/drawable-land-hdpi/splash.png index 12104dfa..49376af7 100644 Binary files a/android/app/src/main/res/drawable-land-hdpi/splash.png and b/android/app/src/main/res/drawable-land-hdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-land-ldpi/splash.png b/android/app/src/main/res/drawable-land-ldpi/splash.png index 833ad0e3..7e583296 100644 Binary files a/android/app/src/main/res/drawable-land-ldpi/splash.png and b/android/app/src/main/res/drawable-land-ldpi/splash.png differ diff --git a/android/app/src/main/res/drawable-land-mdpi/splash.png b/android/app/src/main/res/drawable-land-mdpi/splash.png index c346ee28..3f61a70d 100644 Binary files a/android/app/src/main/res/drawable-land-mdpi/splash.png and b/android/app/src/main/res/drawable-land-mdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-land-night-hdpi/splash.png b/android/app/src/main/res/drawable-land-night-hdpi/splash.png index acafdaed..747669ba 100644 Binary files a/android/app/src/main/res/drawable-land-night-hdpi/splash.png and b/android/app/src/main/res/drawable-land-night-hdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-land-night-ldpi/splash.png b/android/app/src/main/res/drawable-land-night-ldpi/splash.png index f88170e7..92c8eb00 100644 Binary files a/android/app/src/main/res/drawable-land-night-ldpi/splash.png and b/android/app/src/main/res/drawable-land-night-ldpi/splash.png differ diff --git a/android/app/src/main/res/drawable-land-night-mdpi/splash.png b/android/app/src/main/res/drawable-land-night-mdpi/splash.png index 2fe79e4b..65b165fa 100644 Binary files a/android/app/src/main/res/drawable-land-night-mdpi/splash.png and b/android/app/src/main/res/drawable-land-night-mdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-land-night-xhdpi/splash.png b/android/app/src/main/res/drawable-land-night-xhdpi/splash.png index 161373c4..bb7d726b 100644 Binary files a/android/app/src/main/res/drawable-land-night-xhdpi/splash.png and b/android/app/src/main/res/drawable-land-night-xhdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-land-night-xxhdpi/splash.png b/android/app/src/main/res/drawable-land-night-xxhdpi/splash.png index 14ac9961..6838a2a5 100644 Binary files a/android/app/src/main/res/drawable-land-night-xxhdpi/splash.png and b/android/app/src/main/res/drawable-land-night-xxhdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-land-night-xxxhdpi/splash.png b/android/app/src/main/res/drawable-land-night-xxxhdpi/splash.png index d7496a8d..6b5ca749 100644 Binary files a/android/app/src/main/res/drawable-land-night-xxxhdpi/splash.png and b/android/app/src/main/res/drawable-land-night-xxxhdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-land-xhdpi/splash.png b/android/app/src/main/res/drawable-land-xhdpi/splash.png index 0d67f498..f1d62513 100644 Binary files a/android/app/src/main/res/drawable-land-xhdpi/splash.png and b/android/app/src/main/res/drawable-land-xhdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-land-xxhdpi/splash.png b/android/app/src/main/res/drawable-land-xxhdpi/splash.png index 60faf325..a81af1b0 100644 Binary files a/android/app/src/main/res/drawable-land-xxhdpi/splash.png and b/android/app/src/main/res/drawable-land-xxhdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-land-xxxhdpi/splash.png b/android/app/src/main/res/drawable-land-xxxhdpi/splash.png index b2ffcc5d..f3003058 100644 Binary files a/android/app/src/main/res/drawable-land-xxxhdpi/splash.png and b/android/app/src/main/res/drawable-land-xxxhdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-night/splash.png b/android/app/src/main/res/drawable-night/splash.png index f88170e7..92c8eb00 100644 Binary files a/android/app/src/main/res/drawable-night/splash.png and b/android/app/src/main/res/drawable-night/splash.png differ diff --git a/android/app/src/main/res/drawable-port-hdpi/splash.png b/android/app/src/main/res/drawable-port-hdpi/splash.png index 193f72cf..c172e05f 100644 Binary files a/android/app/src/main/res/drawable-port-hdpi/splash.png and b/android/app/src/main/res/drawable-port-hdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-port-ldpi/splash.png b/android/app/src/main/res/drawable-port-ldpi/splash.png index 2692c16b..85e50c05 100644 Binary files a/android/app/src/main/res/drawable-port-ldpi/splash.png and b/android/app/src/main/res/drawable-port-ldpi/splash.png differ diff --git a/android/app/src/main/res/drawable-port-mdpi/splash.png b/android/app/src/main/res/drawable-port-mdpi/splash.png index 583f13ee..b45f9a61 100644 Binary files a/android/app/src/main/res/drawable-port-mdpi/splash.png and b/android/app/src/main/res/drawable-port-mdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-port-night-hdpi/splash.png b/android/app/src/main/res/drawable-port-night-hdpi/splash.png index 8c152718..0ad0c4a0 100644 Binary files a/android/app/src/main/res/drawable-port-night-hdpi/splash.png and b/android/app/src/main/res/drawable-port-night-hdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-port-night-ldpi/splash.png b/android/app/src/main/res/drawable-port-night-ldpi/splash.png index b3a28a24..47ff26b9 100644 Binary files a/android/app/src/main/res/drawable-port-night-ldpi/splash.png and b/android/app/src/main/res/drawable-port-night-ldpi/splash.png differ diff --git a/android/app/src/main/res/drawable-port-night-mdpi/splash.png b/android/app/src/main/res/drawable-port-night-mdpi/splash.png index b63b160c..275aabb2 100644 Binary files a/android/app/src/main/res/drawable-port-night-mdpi/splash.png and b/android/app/src/main/res/drawable-port-night-mdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-port-night-xhdpi/splash.png b/android/app/src/main/res/drawable-port-night-xhdpi/splash.png index 2a4afbf0..68ec703c 100644 Binary files a/android/app/src/main/res/drawable-port-night-xhdpi/splash.png and b/android/app/src/main/res/drawable-port-night-xhdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-port-night-xxhdpi/splash.png b/android/app/src/main/res/drawable-port-night-xxhdpi/splash.png index 3cb13539..28c1c15b 100644 Binary files a/android/app/src/main/res/drawable-port-night-xxhdpi/splash.png and b/android/app/src/main/res/drawable-port-night-xxhdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-port-night-xxxhdpi/splash.png b/android/app/src/main/res/drawable-port-night-xxxhdpi/splash.png index 248b1068..b10501e9 100644 Binary files a/android/app/src/main/res/drawable-port-night-xxxhdpi/splash.png and b/android/app/src/main/res/drawable-port-night-xxxhdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-port-xhdpi/splash.png b/android/app/src/main/res/drawable-port-xhdpi/splash.png index 7cd6aa90..556a7e27 100644 Binary files a/android/app/src/main/res/drawable-port-xhdpi/splash.png and b/android/app/src/main/res/drawable-port-xhdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-port-xxhdpi/splash.png b/android/app/src/main/res/drawable-port-xxhdpi/splash.png index bfa9a0f5..841529cb 100644 Binary files a/android/app/src/main/res/drawable-port-xxhdpi/splash.png and b/android/app/src/main/res/drawable-port-xxhdpi/splash.png differ diff --git a/android/app/src/main/res/drawable-port-xxxhdpi/splash.png b/android/app/src/main/res/drawable-port-xxxhdpi/splash.png index 6c8ce205..26dfdc97 100644 Binary files a/android/app/src/main/res/drawable-port-xxxhdpi/splash.png and b/android/app/src/main/res/drawable-port-xxxhdpi/splash.png differ diff --git a/android/app/src/main/res/drawable/splash.png b/android/app/src/main/res/drawable/splash.png index 583f13ee..b45f9a61 100644 Binary files a/android/app/src/main/res/drawable/splash.png and b/android/app/src/main/res/drawable/splash.png differ diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png index 8e01a771..143d5baa 100644 Binary files a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher_background.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher_background.png index 0feb4c7d..1a355f2c 100644 Binary files a/android/app/src/main/res/mipmap-hdpi/ic_launcher_background.png and b/android/app/src/main/res/mipmap-hdpi/ic_launcher_background.png differ diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png index 635b6102..df1c40ea 100644 Binary files a/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png and b/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png differ diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png index d8e99bad..de0cebcf 100644 Binary files a/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png and b/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ diff --git a/android/app/src/main/res/mipmap-ldpi/ic_launcher.png b/android/app/src/main/res/mipmap-ldpi/ic_launcher.png index 63f8bdd2..6ed07354 100644 Binary files a/android/app/src/main/res/mipmap-ldpi/ic_launcher.png and b/android/app/src/main/res/mipmap-ldpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-ldpi/ic_launcher_background.png b/android/app/src/main/res/mipmap-ldpi/ic_launcher_background.png index b999324d..ad07eb14 100644 Binary files a/android/app/src/main/res/mipmap-ldpi/ic_launcher_background.png and b/android/app/src/main/res/mipmap-ldpi/ic_launcher_background.png differ diff --git a/android/app/src/main/res/mipmap-ldpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-ldpi/ic_launcher_foreground.png index b1bbb4c4..93cce128 100644 Binary files a/android/app/src/main/res/mipmap-ldpi/ic_launcher_foreground.png and b/android/app/src/main/res/mipmap-ldpi/ic_launcher_foreground.png differ diff --git a/android/app/src/main/res/mipmap-ldpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-ldpi/ic_launcher_round.png index ce672657..3c8fc6b6 100644 Binary files a/android/app/src/main/res/mipmap-ldpi/ic_launcher_round.png and b/android/app/src/main/res/mipmap-ldpi/ic_launcher_round.png differ diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png index 7a0a0b2b..a8c5e11d 100644 Binary files a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher_background.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher_background.png index 5b990d7b..562e541c 100644 Binary files a/android/app/src/main/res/mipmap-mdpi/ic_launcher_background.png and b/android/app/src/main/res/mipmap-mdpi/ic_launcher_background.png differ diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png index 78143d86..11b3a485 100644 Binary files a/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png and b/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png differ diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png index 4eed28f2..198c8844 100644 Binary files a/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png and b/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png index 050a8de9..c465d012 100644 Binary files a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_background.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_background.png index adf06478..117f3721 100644 Binary files a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_background.png and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_background.png differ diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png index 41ffbed3..7c772f6a 100644 Binary files a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png differ diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png index 54688b08..bdd85aaf 100644 Binary files a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png index fcc48e16..66d13505 100644 Binary files a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_background.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_background.png index 5da73954..0735875a 100644 Binary files a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_background.png and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_background.png differ diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png index d2cb299b..a9028041 100644 Binary files a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png differ diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png index 5b48ba70..442438aa 100644 Binary files a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png index 251ddd75..58233d51 100644 Binary files a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png index 62d0494e..3b14e419 100644 Binary files a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png differ diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png index 69eee656..595f2470 100644 Binary files a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png differ diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png index 343e42f4..93aa1ba5 100644 Binary files a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ diff --git a/android/capacitor.settings.gradle b/android/capacitor.settings.gradle index 9a5fa872..c736879f 100644 --- a/android/capacitor.settings.gradle +++ b/android/capacitor.settings.gradle @@ -1,3 +1,6 @@ // DO NOT EDIT THIS FILE! IT IS GENERATED EACH TIME "capacitor update" IS RUN include ':capacitor-android' project(':capacitor-android').projectDir = new File('../node_modules/@capacitor/android/capacitor') + +include ':capacitor-status-bar' +project(':capacitor-status-bar').projectDir = new File('../node_modules/@capacitor/status-bar/android') diff --git a/assets/icon-background.svg b/assets/icon-background.svg new file mode 100644 index 00000000..c4508df0 --- /dev/null +++ b/assets/icon-background.svg @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/assets/icon-foreground.svg b/assets/icon-foreground.svg index c990d34f..67d85bf5 100644 --- a/assets/icon-foreground.svg +++ b/assets/icon-foreground.svg @@ -1,16 +1,26 @@ - + - - - - + + + + + - - o - - - o - - + + + + MN + + + + + + + + \ No newline at end of file diff --git a/assets/icon-only.svg b/assets/icon-only.svg new file mode 100644 index 00000000..196e1296 --- /dev/null +++ b/assets/icon-only.svg @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + MN + + + + + + + + \ No newline at end of file diff --git a/assets/icon.svg b/assets/icon.svg index c990d34f..d70db7a4 100644 --- a/assets/icon.svg +++ b/assets/icon.svg @@ -1,16 +1,29 @@ - - - - - - - - - o - - - o - - + + + + + + + + + + + + + + + MN + + + + + + + + \ No newline at end of file diff --git a/assets/splash.svg b/assets/splash.svg index c990d34f..196e1296 100644 --- a/assets/splash.svg +++ b/assets/splash.svg @@ -1,16 +1,29 @@ - + - - - - + + + + + + + + - - o - - - o - - + + + + MN + + + + + + + + \ No newline at end of file diff --git a/capacitor.config.json b/capacitor.config.json index dc7701b5..0ad66cc3 100644 --- a/capacitor.config.json +++ b/capacitor.config.json @@ -1,5 +1,13 @@ { "appId": "olcxja.miarven", "appName": "Miarven", - "webDir": "webroot" + "webDir": "webroot", + "plugins": { + "SystemBars": { + "insetsHandling": "css", + "style": "DARK", + "hidden": false, + "animation": "FADE" + } + } } diff --git a/icons/icon-128.webp b/icons/icon-128.webp index 059a59e4..7336b657 100644 Binary files a/icons/icon-128.webp and b/icons/icon-128.webp differ diff --git a/icons/icon-192.webp b/icons/icon-192.webp index 70a8f559..e9bb2720 100644 Binary files a/icons/icon-192.webp and b/icons/icon-192.webp differ diff --git a/icons/icon-256.webp b/icons/icon-256.webp index 9c1fb76d..1376b53d 100644 Binary files a/icons/icon-256.webp and b/icons/icon-256.webp differ diff --git a/icons/icon-48.webp b/icons/icon-48.webp index 0a7be3b2..e3065f62 100644 Binary files a/icons/icon-48.webp and b/icons/icon-48.webp differ diff --git a/icons/icon-512.webp b/icons/icon-512.webp index 0ccc5c4f..3ceaf1f7 100644 Binary files a/icons/icon-512.webp and b/icons/icon-512.webp differ diff --git a/icons/icon-72.webp b/icons/icon-72.webp index 1fa91890..52466c7f 100644 Binary files a/icons/icon-72.webp and b/icons/icon-72.webp differ diff --git a/icons/icon-96.webp b/icons/icon-96.webp index 08f4107f..e42d4f8e 100644 Binary files a/icons/icon-96.webp and b/icons/icon-96.webp differ diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index 993a0ce4..465b4521 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -516,14 +516,23 @@ } }, "node_modules/@capacitor/core": { - "version": "8.3.1", - "resolved": "https://registry.npmjs.org/@capacitor/core/-/core-8.3.1.tgz", - "integrity": "sha512-UF8ItlHguU1Z6GXfPTeT2gakf+ctNI8pAS1kwSBQlsJMlfD4OPoto/SmKnOxKCQvnF4WRcdWeg6C0zREUNaAQg==", + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/@capacitor/core/-/core-8.3.2.tgz", + "integrity": "sha512-6Y0ksciqhkH4Bm2K5RxSFnuyRkeX3+vy+aLprRR5gzJnv85YYd52eIH4hjVhFAv/mFbPz5E4256yZ5ti0dh7Uw==", "license": "MIT", "dependencies": { "tslib": "^2.1.0" } }, + "node_modules/@capacitor/status-bar": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@capacitor/status-bar/-/status-bar-8.0.2.tgz", + "integrity": "sha512-WXs8YB8B9eEaPZz+bcdY6t2nForF1FLoj/JU0Dl9RRgQnddnS98FEEyDooQhaY7wivr000j4+SC1FyeJkrFO7A==", + "license": "MIT", + "peerDependencies": { + "@capacitor/core": ">=8.0.0" + } + }, "node_modules/@cspotcode/source-map-support": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", diff --git a/node_modules/@capacitor/android/capacitor/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/layout_capacitor_bridge_layout_main.xml.flat b/node_modules/@capacitor/android/capacitor/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/layout_capacitor_bridge_layout_main.xml.flat index d77a3c90..edc8e16a 100644 Binary files a/node_modules/@capacitor/android/capacitor/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/layout_capacitor_bridge_layout_main.xml.flat and b/node_modules/@capacitor/android/capacitor/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/layout_capacitor_bridge_layout_main.xml.flat differ diff --git a/node_modules/@capacitor/android/capacitor/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/layout_no_webview.xml.flat b/node_modules/@capacitor/android/capacitor/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/layout_no_webview.xml.flat index bbb56a68..f0b521c9 100644 Binary files a/node_modules/@capacitor/android/capacitor/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/layout_no_webview.xml.flat and b/node_modules/@capacitor/android/capacitor/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/layout_no_webview.xml.flat differ diff --git a/node_modules/@capacitor/android/capacitor/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties b/node_modules/@capacitor/android/capacitor/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties index 06a45a60..5ce2b77d 100644 --- a/node_modules/@capacitor/android/capacitor/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +++ b/node_modules/@capacitor/android/capacitor/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties @@ -1,3 +1,3 @@ -#Sun May 03 16:46:47 CEST 2026 -com.getcapacitor.android.capacitor-android-main-6\:/layout/capacitor_bridge_layout_main.xml=/mnt/53f2216a-7b07-4701-84a7-17840ebdf186/backup/project/html/test/node_modules/@capacitor/android/capacitor/build/intermediates/packaged_res/debug/packageDebugResources/layout/capacitor_bridge_layout_main.xml -com.getcapacitor.android.capacitor-android-main-6\:/layout/no_webview.xml=/mnt/53f2216a-7b07-4701-84a7-17840ebdf186/backup/project/html/test/node_modules/@capacitor/android/capacitor/build/intermediates/packaged_res/debug/packageDebugResources/layout/no_webview.xml +#Fri May 08 14:50:17 CEST 2026 +com.getcapacitor.android.capacitor-android-main-6\:/layout/capacitor_bridge_layout_main.xml=/mnt/53f2216a-7b07-4701-84a7-17840ebdf186/backup/project/html/LarpixClient/node_modules/@capacitor/android/capacitor/build/intermediates/packaged_res/debug/packageDebugResources/layout/capacitor_bridge_layout_main.xml +com.getcapacitor.android.capacitor-android-main-6\:/layout/no_webview.xml=/mnt/53f2216a-7b07-4701-84a7-17840ebdf186/backup/project/html/LarpixClient/node_modules/@capacitor/android/capacitor/build/intermediates/packaged_res/debug/packageDebugResources/layout/no_webview.xml diff --git a/node_modules/@capacitor/android/capacitor/build/intermediates/incremental/debug/packageDebugResources/merger.xml b/node_modules/@capacitor/android/capacitor/build/intermediates/incremental/debug/packageDebugResources/merger.xml index f87bdbed..ac0b2138 100644 --- a/node_modules/@capacitor/android/capacitor/build/intermediates/incremental/debug/packageDebugResources/merger.xml +++ b/node_modules/@capacitor/android/capacitor/build/intermediates/incremental/debug/packageDebugResources/merger.xml @@ -1,5 +1,5 @@ -This app requires a WebView to work#3F51B5#303F9F#FF4081 \ No newline at end of file + \ No newline at end of file diff --git a/node_modules/@capacitor/android/capacitor/build/intermediates/incremental/mergeDebugAssets/merger.xml b/node_modules/@capacitor/android/capacitor/build/intermediates/incremental/mergeDebugAssets/merger.xml index 0d89173a..43a2e06c 100644 --- a/node_modules/@capacitor/android/capacitor/build/intermediates/incremental/mergeDebugAssets/merger.xml +++ b/node_modules/@capacitor/android/capacitor/build/intermediates/incremental/mergeDebugAssets/merger.xml @@ -1,2 +1,2 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/node_modules/@capacitor/android/capacitor/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml b/node_modules/@capacitor/android/capacitor/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml index e1ab0c7c..da5836c6 100644 --- a/node_modules/@capacitor/android/capacitor/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +++ b/node_modules/@capacitor/android/capacitor/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml @@ -1,2 +1,2 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/node_modules/@capacitor/android/capacitor/build/intermediates/incremental/mergeDebugShaders/merger.xml b/node_modules/@capacitor/android/capacitor/build/intermediates/incremental/mergeDebugShaders/merger.xml index 11895afe..59424e0b 100644 --- a/node_modules/@capacitor/android/capacitor/build/intermediates/incremental/mergeDebugShaders/merger.xml +++ b/node_modules/@capacitor/android/capacitor/build/intermediates/incremental/mergeDebugShaders/merger.xml @@ -1,2 +1,2 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/node_modules/@capacitor/android/capacitor/build/outputs/logs/manifest-merger-debug-report.txt b/node_modules/@capacitor/android/capacitor/build/outputs/logs/manifest-merger-debug-report.txt index 2c9a6af6..55b66680 100644 --- a/node_modules/@capacitor/android/capacitor/build/outputs/logs/manifest-merger-debug-report.txt +++ b/node_modules/@capacitor/android/capacitor/build/outputs/logs/manifest-merger-debug-report.txt @@ -1,16 +1,16 @@ -- Merging decision tree log --- manifest -ADDED from /mnt/53f2216a-7b07-4701-84a7-17840ebdf186/backup/project/html/test/node_modules/@capacitor/android/capacitor/src/main/AndroidManifest.xml:2:1-3:12 -INJECTED from /mnt/53f2216a-7b07-4701-84a7-17840ebdf186/backup/project/html/test/node_modules/@capacitor/android/capacitor/src/main/AndroidManifest.xml:2:1-3:12 +ADDED from /mnt/53f2216a-7b07-4701-84a7-17840ebdf186/backup/project/html/LarpixClient/node_modules/@capacitor/android/capacitor/src/main/AndroidManifest.xml:2:1-3:12 +INJECTED from /mnt/53f2216a-7b07-4701-84a7-17840ebdf186/backup/project/html/LarpixClient/node_modules/@capacitor/android/capacitor/src/main/AndroidManifest.xml:2:1-3:12 package - INJECTED from /mnt/53f2216a-7b07-4701-84a7-17840ebdf186/backup/project/html/test/node_modules/@capacitor/android/capacitor/src/main/AndroidManifest.xml + INJECTED from /mnt/53f2216a-7b07-4701-84a7-17840ebdf186/backup/project/html/LarpixClient/node_modules/@capacitor/android/capacitor/src/main/AndroidManifest.xml xmlns:android - ADDED from /mnt/53f2216a-7b07-4701-84a7-17840ebdf186/backup/project/html/test/node_modules/@capacitor/android/capacitor/src/main/AndroidManifest.xml:2:11-69 + ADDED from /mnt/53f2216a-7b07-4701-84a7-17840ebdf186/backup/project/html/LarpixClient/node_modules/@capacitor/android/capacitor/src/main/AndroidManifest.xml:2:11-69 uses-sdk -INJECTED from /mnt/53f2216a-7b07-4701-84a7-17840ebdf186/backup/project/html/test/node_modules/@capacitor/android/capacitor/src/main/AndroidManifest.xml reason: use-sdk injection requested -INJECTED from /mnt/53f2216a-7b07-4701-84a7-17840ebdf186/backup/project/html/test/node_modules/@capacitor/android/capacitor/src/main/AndroidManifest.xml -INJECTED from /mnt/53f2216a-7b07-4701-84a7-17840ebdf186/backup/project/html/test/node_modules/@capacitor/android/capacitor/src/main/AndroidManifest.xml +INJECTED from /mnt/53f2216a-7b07-4701-84a7-17840ebdf186/backup/project/html/LarpixClient/node_modules/@capacitor/android/capacitor/src/main/AndroidManifest.xml reason: use-sdk injection requested +INJECTED from /mnt/53f2216a-7b07-4701-84a7-17840ebdf186/backup/project/html/LarpixClient/node_modules/@capacitor/android/capacitor/src/main/AndroidManifest.xml +INJECTED from /mnt/53f2216a-7b07-4701-84a7-17840ebdf186/backup/project/html/LarpixClient/node_modules/@capacitor/android/capacitor/src/main/AndroidManifest.xml android:targetSdkVersion - INJECTED from /mnt/53f2216a-7b07-4701-84a7-17840ebdf186/backup/project/html/test/node_modules/@capacitor/android/capacitor/src/main/AndroidManifest.xml + INJECTED from /mnt/53f2216a-7b07-4701-84a7-17840ebdf186/backup/project/html/LarpixClient/node_modules/@capacitor/android/capacitor/src/main/AndroidManifest.xml android:minSdkVersion - INJECTED from /mnt/53f2216a-7b07-4701-84a7-17840ebdf186/backup/project/html/test/node_modules/@capacitor/android/capacitor/src/main/AndroidManifest.xml + INJECTED from /mnt/53f2216a-7b07-4701-84a7-17840ebdf186/backup/project/html/LarpixClient/node_modules/@capacitor/android/capacitor/src/main/AndroidManifest.xml diff --git a/node_modules/@capacitor/android/capacitor/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin b/node_modules/@capacitor/android/capacitor/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin index e7ae84f0..f92e6e7b 100644 Binary files a/node_modules/@capacitor/android/capacitor/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin and b/node_modules/@capacitor/android/capacitor/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin differ diff --git a/node_modules/@capacitor/core/package.json b/node_modules/@capacitor/core/package.json index 54e8c711..bc3bebc0 100644 --- a/node_modules/@capacitor/core/package.json +++ b/node_modules/@capacitor/core/package.json @@ -1,6 +1,6 @@ { "name": "@capacitor/core", - "version": "8.3.1", + "version": "8.3.2", "description": "Capacitor: Cross-platform apps with JavaScript and the web", "homepage": "https://capacitorjs.com", "author": "Ionic Team (https://ionic.io)", diff --git a/package-lock.json b/package-lock.json index 31e387fe..9db82239 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,8 @@ "@capacitor-community/electron": "^5.0.1", "@capacitor/android": "^8.3.1", "@capacitor/cli": "^8.3.1", - "@capacitor/core": "^8.3.1" + "@capacitor/core": "^8.3.2", + "@capacitor/status-bar": "^8.0.2" }, "devDependencies": { "@capacitor/assets": "^3.0.5" @@ -530,14 +531,23 @@ } }, "node_modules/@capacitor/core": { - "version": "8.3.1", - "resolved": "https://registry.npmjs.org/@capacitor/core/-/core-8.3.1.tgz", - "integrity": "sha512-UF8ItlHguU1Z6GXfPTeT2gakf+ctNI8pAS1kwSBQlsJMlfD4OPoto/SmKnOxKCQvnF4WRcdWeg6C0zREUNaAQg==", + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/@capacitor/core/-/core-8.3.2.tgz", + "integrity": "sha512-6Y0ksciqhkH4Bm2K5RxSFnuyRkeX3+vy+aLprRR5gzJnv85YYd52eIH4hjVhFAv/mFbPz5E4256yZ5ti0dh7Uw==", "license": "MIT", "dependencies": { "tslib": "^2.1.0" } }, + "node_modules/@capacitor/status-bar": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@capacitor/status-bar/-/status-bar-8.0.2.tgz", + "integrity": "sha512-WXs8YB8B9eEaPZz+bcdY6t2nForF1FLoj/JU0Dl9RRgQnddnS98FEEyDooQhaY7wivr000j4+SC1FyeJkrFO7A==", + "license": "MIT", + "peerDependencies": { + "@capacitor/core": ">=8.0.0" + } + }, "node_modules/@cspotcode/source-map-support": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", diff --git a/package.json b/package.json index d9e30272..693d5d5b 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,8 @@ "@capacitor-community/electron": "^5.0.1", "@capacitor/android": "^8.3.1", "@capacitor/cli": "^8.3.1", - "@capacitor/core": "^8.3.1" + "@capacitor/core": "^8.3.2", + "@capacitor/status-bar": "^8.0.2" }, "devDependencies": { "@capacitor/assets": "^3.0.5" diff --git a/sync-project.sh b/sync-project.sh index 36beaed1..23ada1c2 100755 --- a/sync-project.sh +++ b/sync-project.sh @@ -1,6 +1,9 @@ #update plugins npx cap sync #update assets -npx capacitor-assets generate +#npx capacitor-assets generate +#for some reason icon is broken without this +npx capacitor-assets generate --pwa +npx capacitor-assets generate --android #update webroot npx cap copy \ No newline at end of file diff --git a/webroot/favicon.svg b/webroot/favicon.svg new file mode 100644 index 00000000..d70db7a4 --- /dev/null +++ b/webroot/favicon.svg @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + MN + + + + + + + + \ No newline at end of file diff --git a/webroot/index.html b/webroot/index.html index 9298315f..3760e181 100644 --- a/webroot/index.html +++ b/webroot/index.html @@ -1,109 +1,139 @@ - + - + Larpix Client - - - - - - -
- - - - - -
-
- - - + + + + + + +
+ + + + + +
+
- -
+ + + Home + + + + + + + + + Splash + + +
+ + Welcome to Miarven +

First Larpix client. v1.0

+
+
+
+ - - - - - \ No newline at end of file diff --git a/webroot/login/index.html b/webroot/login/index.html index 1cc1fdbe..9a34169e 100644 --- a/webroot/login/index.html +++ b/webroot/login/index.html @@ -2,7 +2,7 @@ - + Larpix - Authentication @@ -249,7 +249,7 @@

Prove you are a human.

- Captcha + Captcha
@@ -342,7 +342,7 @@ } catch (error) { console.log(error); - showNotification("Something went wrong...", "error", 3500); + showNotification("Something went wrong... (probably wrong password)", "error", 3500); container.className = 'auth-container'; } }); diff --git a/webroot/main.js b/webroot/main.js index 0bcc2dd3..efc5d22a 100644 --- a/webroot/main.js +++ b/webroot/main.js @@ -6,6 +6,9 @@ var params = new URLSearchParams(window.location.search); const collapseDmsBtn = document.getElementById("collapse-dms"); const collapseGroupsBtn = document.getElementById("collapse-groups"); +const addDmBtn = document.getElementById("add-dm-btn"); +const addGroupBtn = document.getElementById("add-group-btn"); + const sidebarHome = document.getElementById("sidebar-home"); const sidebarHomeButton = sidebarHome.children.item(1); const sidebarHomeIndicator = sidebarHome.children.item(0); @@ -14,6 +17,15 @@ const sidebarAdd = document.getElementById("sidebar-add"); const sidebarAddButton = sidebarAdd.children.item(1); const sidebarAddIndicator = sidebarAdd.children.item(0); +const roomDetailsBar = document.getElementById("roomdetailsbar"); +const roomContent = document.getElementsByTagName("roomcontent")[0]; +const roomsBar = document.getElementById("roomsbar"); +const sideBar = document.getElementsByTagName("sidebar")[0]; + +const roomContentMain = document.getElementsByTagName("roomcontent2")[0]; + +const roomContentBar = roomContent.children[0]; + function delay(time) { @@ -256,6 +268,7 @@ async function getServerInfo(host){ } async function Auth(username, password) { + let passwordHash = await hashSHA3_512(password); let response = await fetch(`${url}/auth?u=${username}`, { @@ -268,11 +281,13 @@ async function Auth(username, password) { let data = await response.text(); return data; + } async function fetchEncrypted(request, body) { + let nonce = await getNonce(username, passwordHash); let response = await fetch(`${url}/encryptedrequest?u=${username}`, { @@ -413,6 +428,22 @@ collapseGroupsBtn.addEventListener("click", () => { collapseGroupsBtn.classList.toggle("collapsed"); }); +addDmBtn.addEventListener("click", () => { + roomContentMain.innerHTML = + ` +
+ + Add Chat +

Add a private, encrypted chat by entering a username

+
+ ` +}); +addGroupBtn.addEventListener("click", () => { + +}); + + + sidebarHomeButton.addEventListener("mouseenter", () => { sidebarHomeIndicator.classList.add("hover"); }); diff --git a/webroot/style.css b/webroot/style.css index 2e7d628d..15f1613f 100644 --- a/webroot/style.css +++ b/webroot/style.css @@ -27,10 +27,14 @@ font-size: 80%; padding: 0 0.5rem; } +.aqua { + color: rgb(0 139 200); +} html { font-size: max(16px, calc(100vw / 120)); } body { + padding-top: env(safe-area-inset-top); background-color: var(--main-bg-color); display: flex; height: 100dvh; @@ -128,9 +132,18 @@ roomcontent { flex-direction: column; height: 100dvh; - width: calc(100vw - (var(--icon-button-height) + (var(--button-margin) * 2) + var(--border-width)) - 22rem); + width: calc(100vw - (var(--icon-button-height) + (var(--button-margin) * 2) + var(--border-width)) - 17rem); border-right: var(--border-width) solid var(--light-border-color); } +roomcontent2 { + display: flex; + flex-direction: column; + + height: calc(100dvh - (var(--button-height) * 1.5)); + width: 100%; +} + + sidebar { display: flex; flex-direction: column; @@ -140,7 +153,9 @@ sidebar { border-right: var(--border-width) solid var(--light-border-color); } sidebar.second { - width: 20rem; + width: 17rem; + min-width: 17rem; + max-width: 17rem; } .sidebar-section-header { display: flex; @@ -199,6 +214,7 @@ hr { #notification-container { + padding-top: env(safe-area-inset-top); position: fixed; top: 1.5rem; left: 50%; @@ -250,4 +266,35 @@ hr { .notification.success { border-color: var(--big-green); +} + +roomtopbar { + height: calc(var(--button-height) * 1.5); + + display: flex; + flex-direction: row; + + width: 100%; + border-bottom: var(--border-width) solid var(--light-border-color); + + line-height: calc(var(--button-height) * 1.5); + font-weight: bold; + padding-left: calc(var(--button-margin) * 3); + font-size: 1.5rem; +} +sidebar.second#roomdetailsbar { + height: calc(var(--button-height) * 1.5); + + display: flex; + flex-direction: row; + + border-bottom: var(--border-width) solid var(--light-border-color); +} +fullcontainer { + width: 100%; + height: 100%; +} +herotitle { + font-weight: bold; + font-size: 1.6rem; } \ No newline at end of file