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,
|
ImageBackground,
|
||||||
Animated,
|
Animated,
|
||||||
} from "react-native";
|
} from "react-native";
|
||||||
import { useFonts } from "expo-font";
|
|
||||||
import { useNavigation } from "@react-navigation/native";
|
import { useNavigation } from "@react-navigation/native";
|
||||||
import type { NativeStackNavigationProp } from "@react-navigation/native-stack";
|
import type { NativeStackNavigationProp } from "@react-navigation/native-stack";
|
||||||
import { getAllProducts, getProductsByCategory } from "../../api/api";
|
import { getAllProducts, getProductsByCategory } from "../../api/api";
|
||||||
@@ -53,9 +52,6 @@ type Nav = NativeStackNavigationProp<ClientStackParamList>;
|
|||||||
export default function ProductsScreen() {
|
export default function ProductsScreen() {
|
||||||
const { colors } = useTheme();
|
const { colors } = useTheme();
|
||||||
const navigation = useNavigation<Nav>();
|
const navigation = useNavigation<Nav>();
|
||||||
const [fontsLoaded] = useFonts({
|
|
||||||
"ReachFillOutline": require("../../../assets/fonts/reach-fill-outline.ttf"),
|
|
||||||
});
|
|
||||||
const [products, setProducts] = useState<Product[]>([]);
|
const [products, setProducts] = useState<Product[]>([]);
|
||||||
const [selectedCategory, setSelectedCategory] = useState("tous");
|
const [selectedCategory, setSelectedCategory] = useState("tous");
|
||||||
const [loading, setLoading] = useState(true);
|
const [loading, setLoading] = useState(true);
|
||||||
@@ -175,7 +171,6 @@ export default function ProductsScreen() {
|
|||||||
pointerEvents: "none",
|
pointerEvents: "none",
|
||||||
},
|
},
|
||||||
comingSoonText: {
|
comingSoonText: {
|
||||||
fontFamily: fontsLoaded ? "ReachFillOutline" : undefined,
|
|
||||||
fontSize: 36,
|
fontSize: 36,
|
||||||
color: "#8E8FE8",
|
color: "#8E8FE8",
|
||||||
letterSpacing: 4,
|
letterSpacing: 4,
|
||||||
|
|||||||
Reference in New Issue
Block a user