Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
"typecheck": "tsc"
},
"dependencies": {
"@docusaurus/core": "^3.8.1",
"@docusaurus/plugin-content-docs": "3.8.1",
"@docusaurus/plugin-google-analytics": "^3.8.1",
"@docusaurus/plugin-ideal-image": "3.8.1",
"@docusaurus/preset-classic": "^3.8.1",
"@docusaurus/theme-classic": "^3.8.1",
"@docusaurus/theme-mermaid": "3.8.1",
"@docusaurus/theme-search-algolia": "3.8.1",
"@docusaurus/core": "3.9.1",
"@docusaurus/plugin-content-docs": "3.9.1",
"@docusaurus/plugin-google-analytics": "3.9.1",
"@docusaurus/plugin-ideal-image": "3.9.1",
"@docusaurus/preset-classic": "3.9.1",
"@docusaurus/theme-classic": "3.9.1",
"@docusaurus/theme-mermaid": "3.9.1",
"@docusaurus/theme-search-algolia": "3.9.1",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert this changes.

"@floating-ui/react": "^0.27.8",
"@giscus/react": "^3.1.0",
"@mdx-js/react": "^3.0.0",
Expand Down Expand Up @@ -57,9 +57,9 @@
"vanilla-tilt": "^1.8.1"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^3.8.1",
"@docusaurus/tsconfig": "^3.8.1",
"@docusaurus/types": "^3.8.1",
"@docusaurus/module-type-aliases": "3.9.1",
"@docusaurus/tsconfig": "3.9.1",
"@docusaurus/types": "3.9.1",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above.

"@tailwindcss/postcss": "^4.1.4",
"@types/canvas-confetti": "^1.9.0",
"@types/react": "^19.1.9",
Expand Down
153 changes: 122 additions & 31 deletions src/components/blogCarousel/blogCarousel.css
Original file line number Diff line number Diff line change
Expand Up @@ -207,53 +207,144 @@

.card-author {
display: flex;
align-items: center;
flex-direction: column;
align-items: flex-start;
justify-content: center;
gap: 8px;
flex: 1;
min-width: 0;
max-width: 300px;
position: relative;
padding: 12px;
text-align: left;
transition: all 0.3s ease;
}

[data-theme='dark'] .card-author {
background: linear-gradient(135deg,
rgba(15, 23, 42, 0.4) 0%,
rgba(30, 41, 59, 0.3) 100%);
border: 1px solid rgba(99, 102, 241, 0.2);
backdrop-filter: blur(8px);
}

[data-theme='dark'] .card-author:hover {
background: linear-gradient(135deg,
rgba(15, 23, 42, 0.6) 0%,
rgba(30, 41, 59, 0.5) 100%);
border-color: rgba(99, 102, 241, 0.4);
transform: translateY(-2px);
box-shadow: 0 4px 16px rgba(79, 70, 229, 0.2);
}

.card-author {
background: linear-gradient(135deg,
rgba(255, 255, 255, 0.9) 0%,
rgba(248, 250, 252, 0.8) 100%);
border: 1px solid rgba(99, 102, 241, 0.15);
}

.card-author:hover {
background: linear-gradient(135deg,
rgba(255, 255, 255, 0.95) 0%,
rgba(248, 250, 252, 0.9) 100%);
border-color: rgba(99, 102, 241, 0.3);
transform: translateY(-2px);
box-shadow: 0 4px 16px rgba(99, 102, 241, 0.15);
}

/* 🎯 Horizontal Author Layout for Blog Carousel */
.author-avatar {
width: 28px;
height: 28px;
border-radius: 50%;
background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
color: white;
font-weight: 600;
box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
flex-shrink: 0;
transition: all 0.3s ease;
display: flex !important;
flex-direction: row !important;
align-items: flex-start !important;
width: auto !important;
height: auto !important;
border-radius: 16px !important;
background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
border: 2px solid #e2e8f0 !important;
padding: 16px !important;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
text-align: left !important;
transition: all 0.3s ease !important;
max-width: 280px !important;
}

[data-theme='dark'] .author-avatar {
background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
border-color: #374151 !important;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

.author-avatar img {
width: 50px !important;
height: 50px !important;
border-radius: 50% !important;
border: 3px solid #6366f1 !important;
object-fit: cover !important;
margin: 0 12px 0 0 !important;
flex-shrink: 0 !important;
}

[data-theme='dark'] .author-avatar img {
border-color: #8b5cf6 !important;
}

/* Professional glow effect for blog carousel avatars */
.author-avatar::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
transform: rotate(45deg);
transition: all 0.6s ease;
opacity: 0;
}

.author-avatar:hover {
transform: scale(1.1);
box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
.author-avatar:hover::before {
opacity: 1;
animation: shimmer 1.2s ease-in-out;
}

.author-name {
font-size: 12px;
color: #475569;
font-weight: 600;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
transition: color 0.2s ease;
[data-theme='dark'] .author-avatar {
background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
box-shadow:
0 6px 20px rgba(79, 70, 229, 0.4),
0 3px 10px rgba(124, 58, 237, 0.3);
border: 2px solid rgba(99, 102, 241, 0.3);
Comment on lines +313 to +317
Copy link

Copilot AI Oct 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This dark theme styling for .author-avatar conflicts with the earlier dark theme rule at lines 273-277 which has different background and border styles. This creates inconsistent styling behavior.

Suggested change
background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
box-shadow:
0 6px 20px rgba(79, 70, 229, 0.4),
0 3px 10px rgba(124, 58, 237, 0.3);
border: 2px solid rgba(99, 102, 241, 0.3);
/* Consolidated dark theme styles for consistency */
background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
box-shadow:
0 6px 20px rgba(79, 70, 229, 0.4),
0 3px 10px rgba(124, 58, 237, 0.3);
border: 3px solid #8b5cf6;

Copilot uses AI. Check for mistakes.
}

.author-name:hover {
color: #6366f1;
.author-avatar:hover {
transform: scale(1.15) translateY(-2px);
box-shadow:
0 8px 25px rgba(99, 102, 241, 0.5),
0 4px 15px rgba(139, 92, 246, 0.4);
}

[data-theme='dark'] .author-name {
color: #cbd5e1;
/* 🎯 Author Name Beside Avatar */
.author-name {
color: #1e293b !important;
font-weight: 700 !important;
font-size: 14px !important;
text-align: left !important;
margin: 0 !important;
line-height: 1.3 !important;
flex: 1 !important;
letter-spacing: 0.3px !important;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8) !important;
-webkit-text-fill-color: #1e293b !important;
background: none !important;
visibility: visible !important;
opacity: 1 !important;
}

[data-theme='dark'] .author-name:hover {
color: #a78bfa;
[data-theme='dark'] .author-name {
color: #ffffff !important;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7) !important;
-webkit-text-fill-color: #ffffff !important;
}

.card-read-time {
Expand Down
Loading
Loading