update authentication with supertokens

This commit is contained in:
2024-07-23 15:29:51 +02:00
parent 69fe58ffaf
commit 02aede01d0
18 changed files with 379 additions and 260 deletions

View File

@@ -102,15 +102,27 @@ class MyTheme {
return Color(_succColor);
}
Image logoImage() {
if (mode == "Dark") {
return Image.asset(
'images/Logo-01.png',
);
} else {
return Image.asset(
'images/Logo-02.png',
);
}
}
Image loadingImage() {
if (mode == "Dark") {
loading = Image.asset(
'images/Logo-loading.gif',
'images/loading2.gif',
width: 100,
);
} else {
loading = Image.asset(
'images/Logo-loading.gif',
'images/loading1.gif',
width: 100,
);
}