last tickets

This commit is contained in:
Thomas Demirdjian
2025-11-21 21:57:41 +01:00
parent a58b13d09f
commit 471a3177e8
13 changed files with 677 additions and 714 deletions
+11 -4
View File
@@ -1,7 +1,7 @@
import { useState, useEffect, createContext, useRef } from "react";
import { StyleSheet, Text, Animated } from "react-native";
import { Fonts, Palette, Style } from "../styles";
import { isWeb } from "../hooks/useLayoutType";
import { StyleSheet, Animated } from "react-native";
import { Palette, Style } from "../styles";
import { Image } from "expo-image";
export const SplashAnimationContext = createContext();
@@ -39,7 +39,14 @@ const SplashAnimationProvider = ({ children }) => {
opacity: fadeAnim,
}}
>
{isWeb && <Text style={Fonts({ type: "megaTitle" })}>m</Text>}
<Image
source={require("../../assets/splash.png")}
contentFit={"contain"}
style={{
width: 250,
height: 250,
}}
/>
</Animated.View>
)}
</SplashAnimationContext.Provider>