-
Notifications
You must be signed in to change notification settings - Fork 0
Implement dashboard page #37
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
base: feat/login
Are you sure you want to change the base?
Conversation
VishakhaSainani-Josh
commented
Jul 28, 2025
- Implement Dashboard Page Layout
- Leaderboard Feature
- Overview feature
- Recent Activities component
- Refactored folder structure
const LoginComponent = () => { | ||
const handleGithubLogin = () => { | ||
window.location.href = GITHUB_AUTH_URL || ""; | ||
localStorage.setItem(ACCESS_TOKEN_KEY, 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VySWQiOjIsIklzQWRtaW4iOmZhbHNlLCJleHAiOjE3NTQxMzI3NTh9.VKEboNEvSeVKYnqLuBrvTyvx9IglhYzEyeE57x7Qzto') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do not commit such tokens in git
{ name: "PR Review", current: 6, total: 8, progress: 75 }, | ||
{ name: "PR Merge", current: 2, total: 2, progress: 100 }, | ||
{ name: "PR Close", current: 1, total: 5, progress: 20 }, | ||
{ name: "PR Close", current: 1, total: 5, progress: 20 }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
repeat entry
</p> | ||
<div className="space-y-6 text-white"> | ||
{goals.map((goal, index) => ( | ||
<div key={index}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
key should not be index
@@ -0,0 +1 @@ | |||
export const ACCESS_TOKEN_KEY = "cc-7db23e66-accessToken"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do not commit token values in git
</div> | ||
|
||
<div className="space-y-6"> | ||
{[ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move this array to contants