diff --git a/src/app/auth/signin/page.tsx b/src/app/auth/signin/page.tsx new file mode 100644 index 00000000..fa2b3d24 --- /dev/null +++ b/src/app/auth/signin/page.tsx @@ -0,0 +1,25 @@ +import Link from "next/link"; + +export default function SignInPage() { + return ( +
+
+ +

+ DevTrack +

+ +

+ Track your developer journey, GitHub activity, and coding consistency. +

+ + + Sign in with GitHub + +
+
+ ); +} diff --git a/src/components/PRBreakdownChart.tsx b/src/components/PRBreakdownChart.tsx index af903cce..61dfa8a1 100644 --- a/src/components/PRBreakdownChart.tsx +++ b/src/components/PRBreakdownChart.tsx @@ -114,17 +114,19 @@ export default function PRBreakdownChart() { ))} [ - `${value} (${Math.round((value / total) * 100)}%)`, - ]} - /> + contentStyle={{ + backgroundColor: getCSSVariable('--card'), + border: `1px solid ${getCSSVariable('--border')}`, + borderRadius: "10px", + color: getCSSVariable('--foreground'), + }} + itemStyle={{ + color: getCSSVariable('--foreground'), + }} + labelStyle={{ + color: getCSSVariable('--foreground'), + }} +/>
diff --git a/src/lib/auth.ts b/src/lib/auth.ts index cef9ae25..538919f0 100644 --- a/src/lib/auth.ts +++ b/src/lib/auth.ts @@ -16,6 +16,9 @@ export const authOptions: NextAuthOptions = { }, }), ], + pages: { + signIn: "/auth/signin", +}, session: { strategy: "jwt", maxAge: SESSION_MAX_AGE,