price update

This commit is contained in:
rezakarimi
2023-01-04 08:47:19 +03:30
commit 13b00e21cd
190 changed files with 22247 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
import React, {createContext, useState} from 'react';
export const HandleFormReq = createContext({
page: 1,
setPage: () => {},
personData: {},
setpersondata: () => {},
phoneNumber: 0,
setPhoneNumber: () => {},
});
+11
View File
@@ -0,0 +1,11 @@
import React, {createContext, useState} from 'react';
export const HandlePage = createContext({
page: 1,
setPage: () => {},
investment: 0,
setInvestment: () => {},
phoneNumber: 0,
setPhoneNumber: () => {},
});
+24
View File
@@ -0,0 +1,24 @@
export const AppUrl = (query) => {
const serve = 'https://mehrara-api.iran.liara.run';
const local = 'http://127.0.0.1:8000';
return `${serve}/api/${query}`
}
export const VueApi = (query) => {
const serve = 'https://mipstockholder.iran.liara.run';
const local = 'http://127.0.0.1:8000';
return `${local}/api/${query}`
}
export const BackTwo = 'http://127.0.0.1:8000/api'
export const AppFile = (addr) => {
const serve = 'https://mehrara-api.iran.liara.run';
const local = 'http://127.0.0.1:8000';
return `${serve}/${addr}`
}