Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dark theme and light theme feature #2

Open
silkie261001 opened this issue Oct 7, 2023 · 14 comments
Open

Add dark theme and light theme feature #2

silkie261001 opened this issue Oct 7, 2023 · 14 comments

Comments

@silkie261001
Copy link
Collaborator

There should be one button or slider to turn light theme or dark theme

@theDevSoham
Copy link

Hey @silkie261001 can I give a go to this issue? If so please assign me

@theDevSoham
Copy link

@silkie261001 I'm getting error on Mongoose connect. Could you please help me out. I checked that the code is using process.env.MONGO_URI at backend/server.js on line number 118. Currently, the repo doesn't have any .env.example which I can convert to .env

Screenshot from 2023-10-07 13-07-44

@rituraj12797
Copy link

please assign issue to me

@sharmavasant
Copy link

can u assign me this issue

@ujjwal13818
Copy link

Hi @silkie261001 sir, a simple if-else statement in javascript with some CSS properties will do the work. Please assign this to me.

@shikhartheone
Copy link

Maam/Sir,
I have been tasked with addressing the current issue on ContriHub. However, I kindly request an extension of the deadline, as I am currently halfway through the resolution process. Please consider reassigning this issue to me, allowing for the necessary additional time to ensure its successful completion. The original time allocated for this assignment is expected to expire at approximately 3:40 PM in ContriHub.
I kindly request that this issue be reassigned to me to allow for the necessary time extension to ensure a thorough and successful resolution.

@silkie261001
Copy link
Collaborator Author

silkie261001 commented Oct 9, 2023 via email

@harshit1142
Copy link

harshit1142 commented Oct 9, 2023

I am facing issue while registration "Error : try again "

{ username: 'user1233', email: '[email protected]', password: '123456' }
user register request came
register fail => MongoServerError: E11000 duplicate key error collection: playTopia.users index: email_1 dup key: { email: "[email protected]" }
at C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\operations\insert.js:53:33
at C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\cmap\connection_pool.js:333:25
at C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\sdam\server.js:210:17
at handleOperationResult (C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\sdam\server.js:326:20)
at Connection.onMessage (C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\cmap\connection.js:243:9)
at MessageStream. (C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\cmap\connection.js:61:60)
at MessageStream.emit (node:events:514:28)
at processIncomingData (C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\cmap\message_stream.js:125:16)
at MessageStream._write (C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\cmap\message_stream.js:33:9)
at writeOrBuffer (node:internal/streams/writable:392:12) {
index: 0,
code: 11000,
keyPattern: { email: 1 },
keyValue: { email: '[email protected]' },
[Symbol(errorLabels)]: Set(0) {}
}

@silkie261001
Copy link
Collaborator Author

have you connected db

@harshit1142
Copy link

have you connected db

Yes Ma'am

@silkie261001
Copy link
Collaborator Author

do you have .env file

@harshit1142
Copy link

harshit1142 commented Oct 9, 2023

do you have .env file

No , it is hidden by .gitignore file

Error:
{ username: 'user1233', email: '[email protected]', password: '123456' }
user register request came
register fail => MongoServerError: E11000 duplicate key error collection: playTopia.users index: email_1 dup key: { email: "[email protected]" }
at C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\operations\insert.js:53:33
at C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\cmap\connection_pool.js:333:25
at C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\sdam\server.js:210:17
at handleOperationResult (C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\sdam\server.js:326:20)
at Connection.onMessage (C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\cmap\connection.js:243:9)
at MessageStream. (C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\cmap\connection.js:61:60)
at MessageStream.emit (node:events:514:28)
at processIncomingData (C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\cmap\message_stream.js:125:16)
at MessageStream._write (C:\Users\91830\Desktop\PlayTopia\backend\node_modules\mongodb\lib\cmap\message_stream.js:33:9)
at writeOrBuffer (node:internal/streams/writable:392:12) {
index: 0,
code: 11000,
keyPattern: { email: 1 },
keyValue: { email: '[email protected]' },
[Symbol(errorLabels)]: Set(0) {}
}

@silkie261001
Copy link
Collaborator Author

send your email id i will give .env file then try

@harshit1142
Copy link

send your email id i will give .env file then try

[email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants