Skip to content
Merged
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
26 changes: 13 additions & 13 deletions src/components/FloatingContributors/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,13 @@
html_url: string;
};
action:
| "pushed"
| "created"
| "merged"
| "opened"
| "commented"
| "closed"
| "other";
| "pushed"
| "created"
| "merged"
| "opened"
| "commented"
| "closed"
| "other";
message?: string;
timestamp: Date;
timeAgo: string;
Expand Down Expand Up @@ -440,7 +440,7 @@
};

// Get icon for action type
const getActionIcon = (action: ContributorActivity["action"]): string => {

Check warning on line 443 in src/components/FloatingContributors/index.tsx

View workflow job for this annotation

GitHub Actions / lint

'getActionIcon' is assigned a value but never used
switch (action) {
case "pushed":
return "🚀";
Expand Down Expand Up @@ -519,17 +519,17 @@
headerEmbedded
? {}
: {
y: [0, -8, 0],
}
y: [0, -8, 0],
}
}
transition={
headerEmbedded
? {}
: {
duration: 4,
repeat: Infinity,
ease: "easeInOut",
}
duration: 4,
repeat: Infinity,
ease: "easeInOut",
}
}
>
{/* Close button */}
Expand Down
45 changes: 21 additions & 24 deletions src/pages/blogs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,11 @@ export default function Blogs() {
<div className="blog-hero-container">
<div className="hero-content">
<h1 className="blog-main-title">
Welcome to <span className="gradient-text">recode hive</span>{" "}
Blogs
Engineering uptime
</h1>

<p className="blog-main-subtitle">
Discover comprehensive web development articles, tutorials, and
insights covering everything from HTML & CSS fundamentals to
advanced JavaScript, React, Node.js, Data Structures &
Algorithms, and cutting-edge technologies.
blog by recode community
</p>
</div>
</div>
Expand Down Expand Up @@ -182,7 +179,7 @@ export default function Blogs() {
{category === "All"
? blogs.length
: blogs.filter((blog) => blog.category === category)
.length}
.length}
</span>
</button>
))}
Expand Down Expand Up @@ -318,23 +315,23 @@ const BlogCard = ({ blog, index }) => {

{/* Author Names */}
<div className="author-name-group">
{authors.map((author, authorIndex) => (
<span key={author.id} className="author-item">
{authorIndex > 0 && (
<span className="author-separator">&</span>
)}
<Link
href={author.githubUrl}
className="author-name author-link"
target="_blank"
rel="noopener noreferrer"
data-author-tooltip={getAuthorTooltip(author.id)}
aria-label={`Open ${author.name} on GitHub`}
>
{author.name}
</Link>
</span>
))}
{authors.map((author, authorIndex) => (
<span key={author.id} className="author-item">
{authorIndex > 0 && (
<span className="author-separator">&</span>
)}
<Link
href={author.githubUrl}
className="author-name author-link"
target="_blank"
rel="noopener noreferrer"
data-author-tooltip={getAuthorTooltip(author.id)}
aria-label={`Open ${author.name} on GitHub`}
>
{author.name}
</Link>
</span>
))}
</div>
</div>
<span className="card-read-time">5 min read</span>
Expand Down
Loading