-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
8 changed files
with
318 additions
and
276 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
// import { useEffect } from 'react'; | ||
|
||
// const GoogleTranslate = () => { | ||
// useEffect(() => { | ||
// // Google Translate widget settings | ||
// window.gtranslateSettings = { | ||
// default_language: "en", | ||
// detect_browser_language: true, | ||
// wrapper_selector: ".gtranslate_wrapper", | ||
// }; | ||
|
||
// // Add the Google Translate script | ||
// const script = document.createElement("script"); | ||
// script.src = "https://cdn.gtranslate.net/widgets/latest/float.js"; | ||
// script.async = true; | ||
// document.body.appendChild(script); | ||
|
||
// // Clean up script on unmount | ||
// return () => { | ||
// document.body.removeChild(script); | ||
// }; | ||
// }, []); | ||
|
||
// return ( | ||
// <div | ||
// className="gtranslate_wrapper" | ||
// style={{ | ||
// position: "fixed", | ||
// bottom: "10px", | ||
// right: "10px", | ||
// zIndex: 9999, | ||
// width: "120px", | ||
// height: "30px", | ||
// overflow: "hidden", | ||
// }} | ||
// > | ||
// {/* Google Translate dropdown will load here */} | ||
// </div> | ||
// ); | ||
// }; | ||
|
||
// export default GoogleTranslate; |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,16 @@ | ||
## FOR CLIENT | ||
VITE_CLIENT_PORT = "" | ||
# FOR CLIENT | ||
VITE_CLIENT_PORT="" | ||
|
||
# FOR SERVER | ||
VITE_SERVER_PORT = "" | ||
MONGO_URI = "" | ||
|
||
# YOUR_EMAIL | ||
EMAIL_USER = "" | ||
|
||
# To create a passkey on the phone or computer you’re on: | ||
|
||
# 1. Go to https://myaccount.google.com/signinoptions/passkeys. | ||
# 2. Tap Create a passkey and then Continue.(You'll be required to unlock your device.) | ||
# 3. A 16 character passkey is generated which you can use in below. | ||
# 4. You can also use your password instead of passkey. | ||
# 5. If you are using password, you need to enable less secure apps in your google account settings. | ||
# 6. Go to https://myaccount.google.com/lesssecureapps and enable it. | ||
# 7. If you are using passkey, you don't need to enable less secure apps. | ||
# 8. If you are using passkey, you need to use the passkey in the EMAIL_PASS field. | ||
# 9. If you are using password, you need to use the password in the EMAIL_PASS field. | ||
|
||
EMAIL_PASS = "" | ||
GOOGLE_CLIENT_ID = "" | ||
JWT_SECRET = "" | ||
VITE_SERVER_PORT="" | ||
MONGO_URI="" | ||
EMAIL_USER="" | ||
EMAIL_PASS="" | ||
GOOGLE_CLIENT_ID="" | ||
GOOGLE_SECRET="" | ||
ADMIN_EMAIL_ID="" | ||
EMAIL_ID="" | ||
PASS_KEY="" | ||
TWILIO_ACCOUNT_SID="" | ||
TWILIO_AUTH_TOKEN="" | ||
EMAIL_ID= | ||
PASS_KEY= | ||
ADMIN_EMAIL_ID= | ||
JWT_SECRET="" |