Skip to content

fix(site): added stack page#7710

Open
aidankmcalister wants to merge 1 commit intomainfrom
feat/stack-page
Open

fix(site): added stack page#7710
aidankmcalister wants to merge 1 commit intomainfrom
feat/stack-page

Conversation

@aidankmcalister
Copy link
Member

@aidankmcalister aidankmcalister commented Mar 26, 2026

Summary by CodeRabbit

  • New Features
    • Added a new Stack page displaying a curated collection of technologies and tools.
    • Technologies organized into three categories: languages, databases, and frameworks.
    • Each item features an icon and name with direct links for easy access.
    • Select icons include optimized styling for dark mode display.

@vercel
Copy link

vercel bot commented Mar 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
blog Ready Ready Preview, Comment Mar 26, 2026 7:19pm
docs Ready Ready Preview, Comment Mar 26, 2026 7:19pm
eclipse Ready Ready Preview, Comment Mar 26, 2026 7:19pm
site Ready Ready Preview, Comment Mar 26, 2026 7:19pm

Request Review

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 26, 2026

Walkthrough

Two new files introduce a technology stack showcase page. A data module exports type definitions and a predefined array of technology categories with links and metadata. A Next.js page component consumes this data to render a hero section and grid layout displaying categorized technology items with icons, names, and optional dark-mode styling adjustments.

Changes

Cohort / File(s) Summary
Stack Data Module
apps/site/src/app/stack/stack-data.ts
Introduces StackLinkItem and StackCategory types; exports stackCategories constant with three predefined technology categories (languages, databases, frameworks) containing metadata, links, and icon paths.
Stack Page Component
apps/site/src/app/stack/page.tsx
Creates a Next.js page component with static metadata configuration, rendering a hero section with an icon and categorized grid of technology link cards with conditional dark-mode icon inversion.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 1 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Title check ⚠️ Warning The title 'fix(site): added stack page' is misleading—this is a feature addition, not a bug fix. The changeset adds a new Stack page with supporting data structures, which aligns with the source branch 'feat/stack-page' but conflicts with the 'fix' prefix. Change the prefix from 'fix' to 'feat' to accurately reflect that this is a new feature, not a bug fix: 'feat(site): added stack page'.
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (1 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Comment @coderabbitai help to get the list of available commands and usage tips.

@argos-ci
Copy link

argos-ci bot commented Mar 26, 2026

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ✅ No changes detected - Mar 26, 2026, 7:26 PM

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (2)
apps/site/src/app/stack/page.tsx (2)

60-77: Duplicate hover styles and hard-coded color value.

Two things to consider here:

  1. Redundant hover class: The Card component from @prisma/eclipse already includes hover:border-stroke-neutral-strong in its base styles. Adding it again here has no effect but adds noise.

  2. Hard-coded dark mode color: dark:bg-[#0A101D] bypasses design tokens. If the dark theme palette changes, this card won't follow. Consider using an existing background token or coordinating with design to add one if needed.

♻️ Suggested cleanup
                   <Link key={item.id} href={item.href} className="group">
-                    <Card className="flex h-full flex-row items-center gap-3 p-4 transition-colors hover:border-stroke-neutral-strong hover:bg-surface-elevated dark:bg-[`#0A101D`]">
+                    <Card className="flex h-full flex-row items-center gap-3 p-4 transition-colors hover:bg-surface-elevated">

If the dark background override is intentional for this page, consider extracting it to a CSS variable or discussing with design whether a token like bg-card-dark should exist.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@apps/site/src/app/stack/page.tsx` around lines 60 - 77, The Card usage in
page.tsx contains a redundant hover class and a hard-coded dark color: remove
the duplicate hover className "hover:border-stroke-neutral-strong" from the
Card's className (Card already provides it) and replace the hard-coded
"dark:bg-[`#0A101D`]" with a design token or CSS variable (e.g., an existing
background token like bg-surface-elevated or a new token/--var such as
bg-card-dark agreed with design) so the Card (in the map rendering block using
Card and Image) follows theme tokens instead of a literal hex value.

53-60: Type annotations on map callbacks are redundant.

TypeScript infers category as StackCategory and item as StackLinkItem from the typed stackCategories array. Explicit annotations here add verbosity without benefit.

♻️ Simplified iteration
-          {stackCategories.map((category: StackCategory) => (
+          {stackCategories.map((category) => (
             <div key={category.id} className="flex flex-col gap-4">
               ...
-                {category.items.map((item: StackLinkItem) => (
+                {category.items.map((item) => (
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@apps/site/src/app/stack/page.tsx` around lines 53 - 60, Remove the redundant
inline type annotations on the map callbacks: when iterating over
stackCategories with stackCategories.map(...) drop the explicit ":
StackCategory" on the category parameter and drop ": StackLinkItem" on the item
parameter so the callbacks rely on TypeScript's inference; update the map
callbacks in the JSX block that renders category.title/description and
category.items to use plain parameters (category, item) instead.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@apps/site/src/app/stack/page.tsx`:
- Around line 60-77: The Card usage in page.tsx contains a redundant hover class
and a hard-coded dark color: remove the duplicate hover className
"hover:border-stroke-neutral-strong" from the Card's className (Card already
provides it) and replace the hard-coded "dark:bg-[`#0A101D`]" with a design token
or CSS variable (e.g., an existing background token like bg-surface-elevated or
a new token/--var such as bg-card-dark agreed with design) so the Card (in the
map rendering block using Card and Image) follows theme tokens instead of a
literal hex value.
- Around line 53-60: Remove the redundant inline type annotations on the map
callbacks: when iterating over stackCategories with stackCategories.map(...)
drop the explicit ": StackCategory" on the category parameter and drop ":
StackLinkItem" on the item parameter so the callbacks rely on TypeScript's
inference; update the map callbacks in the JSX block that renders
category.title/description and category.items to use plain parameters (category,
item) instead.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 80ecfc58-9a81-4254-af50-c59be51aedd1

📥 Commits

Reviewing files that changed from the base of the PR and between edda9c3 and c7f71f0.

📒 Files selected for processing (2)
  • apps/site/src/app/stack/page.tsx
  • apps/site/src/app/stack/stack-data.ts

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.

1 participant