Skip to content

Conversation

@VishakhaSainani-Josh
Copy link
Collaborator

  1. Implement Dashboard Page Layout
  2. Leaderboard Feature
  3. Overview feature
  4. Recent Activities component
  5. Refactored folder structure

const LoginComponent = () => {
const handleGithubLogin = () => {
window.location.href = GITHUB_AUTH_URL || "";
localStorage.setItem(ACCESS_TOKEN_KEY, 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VySWQiOjIsIklzQWRtaW4iOmZhbHNlLCJleHAiOjE3NTQxMzI3NTh9.VKEboNEvSeVKYnqLuBrvTyvx9IglhYzEyeE57x7Qzto')
Copy link
Collaborator

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 },
Copy link
Collaborator

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}>
Copy link
Collaborator

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";
Copy link
Collaborator

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">
{[
Copy link
Collaborator

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

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants