Skip to content

Commit 0d42c9f

Browse files
fix: Adjust blockSize in LeetCodeCalendar and update submission links to use full URL
1 parent 0a7f908 commit 0d42c9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/dashboard/page.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export default function Dashboard() {
148148
{/* Leetcode calendar to show up here */}
149149
<div className="lg:col-span-2">
150150
<LeetCodeCalendar username="yashksaini"
151-
blockSize={12} // Optional: Size of each block in pixels (default: 15)
151+
blockSize={11} // Optional: Size of each block in pixels (default: 15)
152152
blockMargin={3} // Optional: Margin between blocks in pixels (default: 5)
153153
fontSize={11} // Optional: Font size of the text within blocks (default: 16)
154154
theme={exampleTheme} // Optional: A custom theme object to style the calendar
@@ -168,7 +168,7 @@ export default function Dashboard() {
168168
<div className="space-y-2">
169169
{recentSubmissions.map((submission, idx) => (
170170
<Link
171-
href={`/problems/${submission.titleSlug}`}
171+
href={`https://leetcode.com/problems/${submission.titleSlug}`}
172172
key={idx}
173173
className="flex items-center justify-between p-2 hover:bg-gray-50 rounded transition-colors group"
174174
>

0 commit comments

Comments
 (0)