login page

This commit is contained in:
hamid zarghami
2025-07-09 11:20:31 +03:30
parent 9d0a1703fe
commit 72a6eaa156
60 changed files with 953 additions and 3530 deletions
+5
View File
@@ -64,3 +64,8 @@ export const convertToGB = (bytes: number): string => {
const GB = bytes / (1024 * 1024 * 1024);
return GB.toFixed(2);
};
export const getRedirectUrl = () => {
const urlParams = new URLSearchParams(window.location.search);
return urlParams.get("redirect");
};