chore: add semi&gros page
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 848 KiB |
@@ -16,7 +16,6 @@ import {
|
||||
ImageBackground,
|
||||
Animated,
|
||||
} from "react-native";
|
||||
import { useFonts } from "expo-font";
|
||||
import { useNavigation } from "@react-navigation/native";
|
||||
import type { NativeStackNavigationProp } from "@react-navigation/native-stack";
|
||||
import { getAllProducts, getProductsByCategory } from "../../api/api";
|
||||
@@ -53,9 +52,6 @@ type Nav = NativeStackNavigationProp<ClientStackParamList>;
|
||||
export default function ProductsScreen() {
|
||||
const { colors } = useTheme();
|
||||
const navigation = useNavigation<Nav>();
|
||||
const [fontsLoaded] = useFonts({
|
||||
"ReachFillOutline": require("../../../assets/fonts/reach-fill-outline.ttf"),
|
||||
});
|
||||
const [products, setProducts] = useState<Product[]>([]);
|
||||
const [selectedCategory, setSelectedCategory] = useState("tous");
|
||||
const [loading, setLoading] = useState(true);
|
||||
@@ -175,7 +171,6 @@ export default function ProductsScreen() {
|
||||
pointerEvents: "none",
|
||||
},
|
||||
comingSoonText: {
|
||||
fontFamily: fontsLoaded ? "ReachFillOutline" : undefined,
|
||||
fontSize: 36,
|
||||
color: "#8E8FE8",
|
||||
letterSpacing: 4,
|
||||
|
||||
Reference in New Issue
Block a user