Skip to content

Oct 12025 - #39

Merged
skywalkerSam merged 4 commits into
mainfrom
oct12025
Oct 17, 2025
Merged

Oct 12025#39
skywalkerSam merged 4 commits into
mainfrom
oct12025

Conversation

@skywalkerSam

@skywalkerSamskywalkerSam commented Oct 17, 2025

Copy link
Copy Markdown
Owner
  • Dark theme by default
  • constants.ts
  • Footer enabled but hidden for an immersive viewing experience .)

Summary by CodeRabbit

  • Bug Fixes

    • Footer now renders in the site layout.
  • Style

    • Typography standardized with an explicit Paprika font configuration for consistent appearance.
  • UI

    • Intro animation and its displayed text/emoji continue to work after internal updates.
  • Documentation

    • README content and headings updated, including title and domain section formatting.

@vercel

vercelBot commented Oct 17, 2025

Copy link
Copy Markdown

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

ProjectDeploymentPreviewCommentsUpdated (UTC)
skywalkersam-devReadyReadyPreviewCommentOct 17, 2025 11:05am

@coderabbitai

coderabbitaiBot commented Oct 17, 2025

Copy link
Copy Markdown

Walkthrough

Three exported constants (nameList, doList, emojiList) were removed from _data/constants.ts and re-added in src/lib/constants.ts; animated-intro.tsx now imports them from ~/lib/constants. src/app/layout.tsx restores <Footer />, consolidates fonts to Paprika, and disables automatic system theme handling.

Changes

Cohort / File(s)Summary
Constants removed
\_data/constants.ts``
Removed exported constants nameList, doList, and emojiList.
Constants added / updated
\src/lib/constants.ts``
Added exported nameList, doList, emojiList (arrays of { text: string }); reformatted HOME_OG_IMAGE_URL to a single-line string.
Import update
\src/app/about/_components/animated-intro.tsx``
Updated import path from \_data/constants`to`~/lib/constants`fornameList, doList, emojiList`.
Layout changes
\src/app/layout.tsx``
Restored <Footer /> rendering; enabled Paprika font (subsets: ["latin"], weight: "400", style: "normal"); commented-out enableSystem in ThemeProvider; removed previous Ubuntu/Geist font blocks.
Docs
\README.md``
Title and content rewording, added "🌐 Domains" header, spacing/formatting adjustments and font/source list tweaks.

Sequence Diagram(s)

sequenceDiagram
participant Layout as Layout (src/app/layout.tsx)
participant Animated as AnimatedIntro (src/app/about/_components/animated-intro.tsx)
participant Const as Constants (src/lib/constants.ts)
rect rgb(245,250,255)
Note over Layout,Animated: App render flow (high-level)
end
Layout->>Animated: render AnimatedIntro
Animated->>Const: import nameList/doList/emojiList
Const-->>Animated: arrays of { text }
Layout->>Layout: render <Footer />
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

  • About #32 — Moves the exported lists (nameList, doList, emojiList) and updates imports (direct code-level match).
  • Animated intro #34 — Modifies src/app/about/_components/animated-intro.tsx (animation logic) and may overlap with the import/path changes here.
  • hotfix: NavBar #37 — Changes component imports/layout (including Footer import/path adjustments) that intersect with src/app/layout.tsx edits.

Poem

🐰
I hopped the constants, tucked them neat,
Moved their home to a new-lib street.
Paprika warmed the layout's day,
Footer bounced in — hip hooray! ✨

Pre-merge checks and finishing touches

❌ Failed checks (1 inconclusive)
Check nameStatusExplanationResolution
Title Check❓ InconclusiveThe title "Oct 12025" is a date reference that does not convey meaningful information about the changeset's actual modifications. The PR includes substantial changes such as refactoring constants from _data/constants.ts to src/lib/constants.ts, enabling the Footer component with dark theme by default, consolidating font configuration to Paprika, and updating the README. A teammate scanning the PR history would not understand what these changes accomplish based solely on a date reference, making the title non-descriptive and generic similar to placeholders like "misc updates".
✅ Passed checks (2 passed)
Check nameStatusExplanation
Description Check✅ PassedCheck skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage✅ PassedNo functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch oct12025

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between fb5caf6 and f31b488.

📒 Files selected for processing (1)
  • README.md (2 hunks)
🧰 Additional context used
🪛 LanguageTool
README.md

[grammar] ~11-~11: There might be a mistake here.
Context: ... ## 🌐 Domains [skywalkerSam.dev](https://skywalkersam.d...

(QB_NEW_EN)


[grammar] ~19-~19: There might be a mistake here.
Context: ...-dev.vercel.app/) ## 🔗 Sources - CREATE T3 APP - ...

(QB_NEW_EN)


[grammar] ~21-~21: There might be a mistake here.
Context: ... ## 🔗 Sources - CREATE T3 APP - shadcn/ui - [Bl...

(QB_NEW_EN)


[grammar] ~22-~22: There might be a mistake here.
Context: ...APP](https://create.t3.gg/) - shadcn/ui - [Blog Starter Kit](https://vercel.com/tem...

(QB_NEW_EN)


[grammar] ~23-~23: There might be a mistake here.
Context: ...ps://ui.shadcn.com/) - Blog Starter Kit - tailwindcss - [Flex Docs](https://tailwi...

(QB_NEW_EN)


[grammar] ~24-~24: There might be a mistake here.
Context: ...-starter-kit) - tailwindcss - Flex Docs - Font - [Paprika](https://github.com/etun...

(QB_NEW_EN)

🔇 Additional comments (3)
README.md (3)

5-17: Content and structure align with PR objectives.

The title update and new domains section are clear additions that support the immersive viewing experience. The spacing additions (&nbsp;) contribute to the visual hierarchy.


19-26: Sources section accurately reflects dependency updates.

The addition of Paprika font reference (line 25) correctly documents the font consolidation mentioned in the PR objectives, and the tailwindcss documentation link is appropriately formatted. These entries align with the codebase changes described in the PR.


33-55: Spacing and footer formatting support improved visual hierarchy.

The additional &nbsp; entries and reformatted footer text align with the "immersive viewing experience" objective mentioned in the PR. The heart emoji addition (line 43) adds a personal touch.

Note: The LanguageTool static analysis warnings at lines ~11, ~19, ~21–~24 are false positives. They flag valid Markdown section headers and list syntax that the tool does not properly contextualize.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@coderabbitaicoderabbitaiBot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
src/lib/constants.ts (1)

5-15: Well-structured constants with explicit types.

The three new constants (nameList, doList, emojiList) are properly typed and consistently structured.

Consider making these constants readonly to prevent accidental mutations:

-export const nameList: { text: string }[] = [+export const nameList: readonly { readonly text: string }[] = [
{ text: "Sam" },
{ text: "Skywalker" },
-];+] as const;-export const doList: { text: string }[] = [+export const doList: readonly { readonly text: string }[] = [
{ text: "Write" },
{ text: "Build" },
-];+] as const;-export const emojiList: { text: string }[] = [{ text: "👋" }, { text: "✌️" }];+export const emojiList: readonly { readonly text: string }[] = [+ { text: "👋" },+ { text: "✌️" },+] as const;

This prevents accidental modifications at runtime and provides stronger type safety.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 951dc5a and 7b9ac7b.

📒 Files selected for processing (4)
  • _data/constants.ts (0 hunks)
  • src/app/about/_components/animated-intro.tsx (1 hunks)
  • src/app/layout.tsx (2 hunks)
  • src/lib/constants.ts (1 hunks)
💤 Files with no reviewable changes (1)
  • _data/constants.ts
🧰 Additional context used
🧬 Code graph analysis (1)
src/app/layout.tsx (2)
src/components/NavBar.tsx (1)
  • NavBar (15-68)
src/components/Footer.tsx (1)
  • Footer (6-34)
🔇 Additional comments (5)
src/app/layout.tsx (3)

8-12: LGTM - Font configuration.

The Paprika font configuration is properly set up with appropriate subsets, weight, and style.


42-42: Verify PR objectives before accepting this review.

The review comment claims "PR objectives state the footer should be 'enabled but hidden for an immersive viewing experience,'" but this requirement cannot be verified in the codebase. Searching the repository found no mention of "immersive," footer visibility goals, or hidden footer requirements. The Footer component indeed has no hidden styling or conditional rendering logic, but the issue raised depends entirely on confirming the stated PR objectives are accurate.

Since the GitHub CLI is not configured to check the actual PR description, please manually clarify:

  1. What are the actual PR objectives regarding footer visibility?
  2. Should the footer be hidden or visible?
  3. Is the review comment's assumption about PR objectives correct?

Once confirmed, the reviewer can then either withdraw the issue (if footer should remain visible) or request the appropriate fix (if it should be hidden).


36-36: Review comment is incomplete; users retain manual theme control via footer toggle.

The review correctly identifies that enableSystem is disabled, which removes automatic system preference detection. However, it overlooks that ModeToggle is rendered in the Footer component, providing users with a Light/Dark theme dropdown. Users are not forced exclusively to dark mode—they retain manual override capability.

The valid concern is that:

  • Automatic system preference detection is disabled
  • The "System" theme option is also commented out in the toggle
  • New users will see dark forced by default until they manually switch

The suggestion to remove vs. comment the line is stylistic; both achieve the same functional result. If the intent is to disable system preference entirely (per PR objectives), either approach works.

src/lib/constants.ts (1)

3-3: LGTM - HOME_OG_IMAGE_URL formatting.

The formatting change from multi-line to single-line is a style improvement with no functional impact.

src/app/about/_components/animated-intro.tsx (1)

3-3: Constants migration verified and complete.

All verification checks passed:

  • No remaining imports from the old _data/constants path
  • Old _data directory has been removed
  • New src/lib/constants.ts exists with all required exports (nameList, doList, emojiList) that match the imports in animated-intro.tsx

The import path update is correct and the migration is complete.

@skywalkerSam
skywalkerSam merged commit e0bb071 into mainOct 17, 2025
4 checks passed
Sign up for freeto 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

@skywalkerSam