forked from chetannada/Namaste-React
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.js
42 lines (33 loc) · 1.38 KB
/
constants.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Image CDN URL for Restaurant card
export const IMG_CDN_URL =
"https://res.cloudinary.com/swiggy/image/upload/fl_lossy,f_auto,q_auto,w_508,h_320,c_fill/";
// Image CDN URL for Restaurant Menu
export const ITEM_IMG_CDN_URL =
"https://res.cloudinary.com/swiggy/image/upload/fl_lossy,f_auto,q_auto,w_208,h_208,c_fit/";
// Swiggy API to get Restaurant data
export const swiggy_api_URL =
"https://www.swiggy.com/dapi/restaurants/list/v5?lat=21.1702401&lng=72.83106070000001&page_type=DESKTOP_WEB_LISTING";
// Swiggy API to get Restaurant Menu data
export const swiggy_menu_api_URL =
"https://www.swiggy.com/dapi/menu/v4/full?lat=21.1702401&lng=72.83106070000001&menuId=";
// shimmer card unit
export const shimmer_card_unit = 8;
// shimmer Menu card unit
export const shimmer_menu_card_unit = 4;
// Github - username
export const Github_UserName = "ChetanNada";
export const Github_Repository_Name = "Namaste-React";
// Github API for User
export const Github_API_User = "https://api.github.com/users/";
// Social Media Links
export const Linkedin_Link = "https://www.linkedin.com/in/chetannada/";
export const Twitter_Link = "https://twitter.com/ChetanNada";
export const Github_Link = "https://github.com/chetannada";
export const Email_Link = "mailto:[email protected]";
// Github Authorization Token
export const options = {
method: "GET",
headers: {
Authorization: "",
},
};