This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tailwidcss Config | |
/** @type {import('tailwindcss').Config} */ | |
module.exports = { | |
content: [ | |
"./App.{js,jsx,ts,tsx}", | |
"./screens/**/*.{js,jsx,ts,tsx}", | |
"./components/**/*.{js,jsx,ts,tsx}", | |
], | |
theme: { | |
extend: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const fetchQuery = `*[_type == 'products'] | order(_createdAt desc){ | |
_id, | |
title, | |
productType, | |
mainImage { | |
asset -> { | |
url | |
} | |
}, | |
bgImage { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Support Codes | |
import { | |
FaCamera, | |
FaFire, | |
FaHome, | |
FaPaintBrush, | |
FaVideo, | |
} from "react-icons/fa"; | |
import { v4 as uuidv4 } from "uuid"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import axios from "axios"; | |
const baseURL = "http://localhost:4000/"; | |
export const validateUser = async (token) => { | |
try { | |
const res = await axios.get(`${baseURL}api/users/login`, { | |
headers: { | |
Authorization: "Bearer " + token, | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
content: ["./src/**/*.{js,jsx,ts,tsx}"], | |
theme: { | |
extend: { | |
width: { | |
150: "150px", | |
190: "190px", | |
225: "225px", | |
275: "275px", | |
300: "300px", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
content: ["./src/**/*.{js,jsx,ts,tsx}"], | |
theme: { | |
extend: { | |
margin: { | |
320: "320px", | |
}, | |
width: { | |
190: "190px", | |
275: "275px", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
purge: ["./src/**/*.{js,jsx,ts,tsx}", "./public/index.html"], | |
darkMode: false, // or 'media' or 'class' | |
theme: { | |
extend: { | |
margin: { | |
320: "320px", | |
}, | |
width: { | |
190: "190px", |
NewerOlder