diff --git a/android/app/src/main/res/drawable-hdpi/bootsplash_logo.png b/android/app/src/main/res/drawable-hdpi/bootsplash_logo.png index bf00da0..3bbf0d8 100644 Binary files a/android/app/src/main/res/drawable-hdpi/bootsplash_logo.png and b/android/app/src/main/res/drawable-hdpi/bootsplash_logo.png differ diff --git a/android/app/src/main/res/drawable-mdpi/bootsplash_logo.png b/android/app/src/main/res/drawable-mdpi/bootsplash_logo.png index 12aadfd..776e2e0 100644 Binary files a/android/app/src/main/res/drawable-mdpi/bootsplash_logo.png and b/android/app/src/main/res/drawable-mdpi/bootsplash_logo.png differ diff --git a/android/app/src/main/res/drawable-xhdpi/bootsplash_logo.png b/android/app/src/main/res/drawable-xhdpi/bootsplash_logo.png index b3d6c7b..04ae6f7 100644 Binary files a/android/app/src/main/res/drawable-xhdpi/bootsplash_logo.png and b/android/app/src/main/res/drawable-xhdpi/bootsplash_logo.png differ diff --git a/android/app/src/main/res/drawable-xxhdpi/bootsplash_logo.png b/android/app/src/main/res/drawable-xxhdpi/bootsplash_logo.png index 1bc00af..197ddb4 100644 Binary files a/android/app/src/main/res/drawable-xxhdpi/bootsplash_logo.png and b/android/app/src/main/res/drawable-xxhdpi/bootsplash_logo.png differ diff --git a/android/app/src/main/res/drawable-xxxhdpi/bootsplash_logo.png b/android/app/src/main/res/drawable-xxxhdpi/bootsplash_logo.png index 88ffe8f..bcb0885 100644 Binary files a/android/app/src/main/res/drawable-xxxhdpi/bootsplash_logo.png and b/android/app/src/main/res/drawable-xxxhdpi/bootsplash_logo.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 a2f5908..55c39f3 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_round.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png index 1b52399..7820b20 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-mdpi/ic_launcher.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png index ff10afd..b911f16 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_round.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png index 115a4c7..6aaf20d 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 dcd3cd8..9e372f2 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_round.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png index 459ca60..1556c60 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 8ca12fe..934320c 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_round.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png index 8e19b41..4285ec7 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 b824ebd..0e8434d 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_round.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png index 4c19a13..2a9da99 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/app/src/main/res/playstore-icon.png b/android/app/src/main/res/playstore-icon.png new file mode 100644 index 0000000..72d98e3 Binary files /dev/null and b/android/app/src/main/res/playstore-icon.png differ diff --git a/android/app/src/main/res/values/colors.xml b/android/app/src/main/res/values/colors.xml index 26ae8a1..61fb946 100644 --- a/android/app/src/main/res/values/colors.xml +++ b/android/app/src/main/res/values/colors.xml @@ -1,3 +1,3 @@ - #F5FCFF + #26262B diff --git a/app-logo.svg b/app-logo.svg new file mode 100644 index 0000000..8427e14 --- /dev/null +++ b/app-logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/bootsplash_logo.png b/assets/bootsplash_logo.png new file mode 100644 index 0000000..7ae98a5 Binary files /dev/null and b/assets/bootsplash_logo.png differ diff --git a/assets/bootsplash_logo@1,5x.png b/assets/bootsplash_logo@1,5x.png new file mode 100644 index 0000000..83a6154 Binary files /dev/null and b/assets/bootsplash_logo@1,5x.png differ diff --git a/assets/bootsplash_logo@2x.png b/assets/bootsplash_logo@2x.png new file mode 100644 index 0000000..8d3d9a9 Binary files /dev/null and b/assets/bootsplash_logo@2x.png differ diff --git a/assets/bootsplash_logo@3x.png b/assets/bootsplash_logo@3x.png new file mode 100644 index 0000000..ad064a5 Binary files /dev/null and b/assets/bootsplash_logo@3x.png differ diff --git a/assets/bootsplash_logo@4x.png b/assets/bootsplash_logo@4x.png new file mode 100644 index 0000000..9a9c46f Binary files /dev/null and b/assets/bootsplash_logo@4x.png differ diff --git a/assets/bootsplash_manifest.json b/assets/bootsplash_manifest.json new file mode 100644 index 0000000..712ef1e --- /dev/null +++ b/assets/bootsplash_manifest.json @@ -0,0 +1,7 @@ +{ + "background": "#26262B", + "logo": { + "width": 100, + "height": 100 + } +} diff --git a/ios/WildlifeWatcher/BootSplash.storyboard b/ios/WildlifeWatcher/BootSplash.storyboard index 2be5322..ec7973e 100644 --- a/ios/WildlifeWatcher/BootSplash.storyboard +++ b/ios/WildlifeWatcher/BootSplash.storyboard @@ -24,7 +24,7 @@ - + diff --git a/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/100.png b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/100.png new file mode 100644 index 0000000..68476fe Binary files /dev/null and b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/100.png differ diff --git a/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/1024.png b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/1024.png new file mode 100644 index 0000000..f2a250d Binary files /dev/null and b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/1024.png differ diff --git a/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/114.png b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/114.png new file mode 100644 index 0000000..b5a7d84 Binary files /dev/null and b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/114.png differ diff --git a/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/120.png b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/120.png new file mode 100644 index 0000000..1b72792 Binary files /dev/null and b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/120.png differ diff --git a/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/144.png b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/144.png new file mode 100644 index 0000000..d01c485 Binary files /dev/null and b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/144.png differ diff --git a/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/152.png b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/152.png new file mode 100644 index 0000000..5d4cea4 Binary files /dev/null and b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/152.png differ diff --git a/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/167.png b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/167.png new file mode 100644 index 0000000..91b4683 Binary files /dev/null and b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/167.png differ diff --git a/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/180.png b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/180.png new file mode 100644 index 0000000..00329e8 Binary files /dev/null and b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/180.png differ diff --git a/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/20.png b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/20.png new file mode 100644 index 0000000..4a65a30 Binary files /dev/null and b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/20.png differ diff --git a/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/29.png b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/29.png new file mode 100644 index 0000000..4451670 Binary files /dev/null and b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/29.png differ diff --git a/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/40.png b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/40.png new file mode 100644 index 0000000..7b93bd0 Binary files /dev/null and b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/40.png differ diff --git a/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/50.png b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/50.png new file mode 100644 index 0000000..16e7f80 Binary files /dev/null and b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/50.png differ diff --git a/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/57.png b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/57.png new file mode 100644 index 0000000..70ad2f8 Binary files /dev/null and b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/57.png differ diff --git a/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/58.png b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/58.png new file mode 100644 index 0000000..8aac7cf Binary files /dev/null and b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/58.png differ diff --git a/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/60.png b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/60.png new file mode 100644 index 0000000..be8c107 Binary files /dev/null and b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/60.png differ diff --git a/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/72.png b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/72.png new file mode 100644 index 0000000..3ecfc70 Binary files /dev/null and b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/72.png differ diff --git a/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/76.png b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/76.png new file mode 100644 index 0000000..3c64303 Binary files /dev/null and b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/76.png differ diff --git a/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/80.png b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/80.png new file mode 100644 index 0000000..72bb92c Binary files /dev/null and b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/80.png differ diff --git a/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/87.png b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/87.png new file mode 100644 index 0000000..5527f49 Binary files /dev/null and b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/87.png differ diff --git a/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/Contents.json b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/Contents.json index 8121323..65b74d7 100644 --- a/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/Contents.json +++ b/ios/WildlifeWatcher/Images.xcassets/AppIcon.appiconset/Contents.json @@ -1,53 +1 @@ -{ - "images" : [ - { - "idiom" : "iphone", - "scale" : "2x", - "size" : "20x20" - }, - { - "idiom" : "iphone", - "scale" : "3x", - "size" : "20x20" - }, - { - "idiom" : "iphone", - "scale" : "2x", - "size" : "29x29" - }, - { - "idiom" : "iphone", - "scale" : "3x", - "size" : "29x29" - }, - { - "idiom" : "iphone", - "scale" : "2x", - "size" : "40x40" - }, - { - "idiom" : "iphone", - "scale" : "3x", - "size" : "40x40" - }, - { - "idiom" : "iphone", - "scale" : "2x", - "size" : "60x60" - }, - { - "idiom" : "iphone", - "scale" : "3x", - "size" : "60x60" - }, - { - "idiom" : "ios-marketing", - "scale" : "1x", - "size" : "1024x1024" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} +{"images":[{"size":"60x60","expected-size":"180","filename":"180.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"40x40","expected-size":"80","filename":"80.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"40x40","expected-size":"120","filename":"120.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"60x60","expected-size":"120","filename":"120.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"57x57","expected-size":"57","filename":"57.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"1x"},{"size":"29x29","expected-size":"58","filename":"58.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"29x29","expected-size":"29","filename":"29.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"1x"},{"size":"29x29","expected-size":"87","filename":"87.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"57x57","expected-size":"114","filename":"114.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"20x20","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"20x20","expected-size":"60","filename":"60.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"1024x1024","filename":"1024.png","expected-size":"1024","idiom":"ios-marketing","folder":"Assets.xcassets/AppIcon.appiconset/","scale":"1x"},{"size":"40x40","expected-size":"80","filename":"80.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"72x72","expected-size":"72","filename":"72.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"76x76","expected-size":"152","filename":"152.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"50x50","expected-size":"100","filename":"100.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"29x29","expected-size":"58","filename":"58.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"76x76","expected-size":"76","filename":"76.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"29x29","expected-size":"29","filename":"29.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"50x50","expected-size":"50","filename":"50.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"72x72","expected-size":"144","filename":"144.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"40x40","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"83.5x83.5","expected-size":"167","filename":"167.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"},{"size":"20x20","expected-size":"20","filename":"20.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"1x"},{"size":"20x20","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"ipad","scale":"2x"}]} \ No newline at end of file diff --git a/ios/WildlifeWatcher/Images.xcassets/BootSplashLogo.imageset/Contents.json b/ios/WildlifeWatcher/Images.xcassets/BootSplashLogo.imageset/Contents.json index c65d081..54b9c77 100644 --- a/ios/WildlifeWatcher/Images.xcassets/BootSplashLogo.imageset/Contents.json +++ b/ios/WildlifeWatcher/Images.xcassets/BootSplashLogo.imageset/Contents.json @@ -2,17 +2,17 @@ "images": [ { "idiom": "universal", - "filename": "bootsplash_logo-1bdc3fr.png", + "filename": "bootsplash_logo-fgbov1.png", "scale": "1x" }, { "idiom": "universal", - "filename": "bootsplash_logo-1bdc3fr@2x.png", + "filename": "bootsplash_logo-fgbov1@2x.png", "scale": "2x" }, { "idiom": "universal", - "filename": "bootsplash_logo-1bdc3fr@3x.png", + "filename": "bootsplash_logo-fgbov1@3x.png", "scale": "3x" } ], diff --git a/ios/WildlifeWatcher/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo-1bdc3fr.png b/ios/WildlifeWatcher/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo-1bdc3fr.png deleted file mode 100644 index a1a2cfb..0000000 Binary files a/ios/WildlifeWatcher/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo-1bdc3fr.png and /dev/null differ diff --git a/ios/WildlifeWatcher/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo-1bdc3fr@2x.png b/ios/WildlifeWatcher/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo-1bdc3fr@2x.png deleted file mode 100644 index 82a79ac..0000000 Binary files a/ios/WildlifeWatcher/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo-1bdc3fr@2x.png and /dev/null differ diff --git a/ios/WildlifeWatcher/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo-1bdc3fr@3x.png b/ios/WildlifeWatcher/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo-1bdc3fr@3x.png deleted file mode 100644 index 111a112..0000000 Binary files a/ios/WildlifeWatcher/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo-1bdc3fr@3x.png and /dev/null differ diff --git a/ios/WildlifeWatcher/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo-fgbov1.png b/ios/WildlifeWatcher/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo-fgbov1.png new file mode 100644 index 0000000..7ae98a5 Binary files /dev/null and b/ios/WildlifeWatcher/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo-fgbov1.png differ diff --git a/ios/WildlifeWatcher/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo-fgbov1@2x.png b/ios/WildlifeWatcher/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo-fgbov1@2x.png new file mode 100644 index 0000000..8d3d9a9 Binary files /dev/null and b/ios/WildlifeWatcher/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo-fgbov1@2x.png differ diff --git a/ios/WildlifeWatcher/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo-fgbov1@3x.png b/ios/WildlifeWatcher/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo-fgbov1@3x.png new file mode 100644 index 0000000..ad064a5 Binary files /dev/null and b/ios/WildlifeWatcher/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo-fgbov1@3x.png differ diff --git a/src/providers/AuthProvider.tsx b/src/providers/AuthProvider.tsx index 5afd140..74dc629 100644 --- a/src/providers/AuthProvider.tsx +++ b/src/providers/AuthProvider.tsx @@ -1,4 +1,10 @@ -import { PropsWithChildren, createContext, useContext, useState } from "react" +import { + PropsWithChildren, + createContext, + useContext, + useEffect, + useState, +} from "react" type AuthContextType = { isLoggedIn: boolean | undefined @@ -12,6 +18,17 @@ export const useAuth = () => useContext(AuthContext) export const AuthProvider = ({ children }: PropsWithChildren) => { const [isLoggedIn, setIsLoggedIn] = useState() + // Mock + useEffect(() => { + const t = setTimeout(() => { + setIsLoggedIn(false) + }, 2000) + + return () => { + clearTimeout(t) + } + }, []) + return ( {children} diff --git a/src/theme.ts b/src/theme.ts index 2bee743..af8940e 100644 --- a/src/theme.ts +++ b/src/theme.ts @@ -53,7 +53,7 @@ export const CombinedDefaultTheme = merge( onError: "rgb(255, 255, 255)", errorContainer: "rgb(255, 218, 214)", onErrorContainer: "rgb(65, 0, 2)", - background: "rgb(38, 38, 43)", + background: "rgb(38, 38, 43)", // #26262b onBackground: "rgb(255, 255, 255)", surface: "rgb(38, 38, 43)", onSurface: "rgb(255, 255, 255)", diff --git a/wildlife_watcher_logo.jpg b/wildlife_watcher_logo.jpg deleted file mode 100644 index 9b67e88..0000000 Binary files a/wildlife_watcher_logo.jpg and /dev/null differ