Skip to content

feat: update homepage hero#457

Closed
deepen-09 wants to merge 2 commits intocodse:mainfrom
deepen-09:my-feature
Closed

feat: update homepage hero#457
deepen-09 wants to merge 2 commits intocodse:mainfrom
deepen-09:my-feature

Conversation

@deepen-09
Copy link
Copy Markdown

@deepen-09 deepen-09 commented May 1, 2026

Summary by CodeRabbit

  • New Features

    • Added a bordered, highlighted pill badge to the hero section.
  • Style

    • Updated hero headline and subtitle copy to reflect refreshed branding.
    • Applied accent color styling to the key headline word.
  • Documentation

    • Added an "Output & Preview" guide explaining local dev, preview and build output locations and quick checks.

@deepen-09 deepen-09 temporarily deployed to preview-deployment May 1, 2026 03:43 — with GitHub Actions Inactive
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 1, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 3cd184a3-7579-4734-841b-6fa4d8172d76

📥 Commits

Reviewing files that changed from the base of the PR and between 32bb364 and ba16cb9.

📒 Files selected for processing (1)
  • content/docs/output.md
✅ Files skipped from review due to trivial changes (1)
  • content/docs/output.md

📝 Walkthrough

Walkthrough

Landing hero copy and markup updated: subtitle, headline word styling, and a new bordered pill badge were added. package.json now lists Yarn (^1.22.22) as a runtime dependency. A new docs page "Output & Preview" was added describing local dev/build outputs and URLs.

Changes

Landing Page Update

Layer / File(s) Summary
Copy & Markup
app/(main)/_landing/hero-title.tsx
Subtitle changed to "Fresh visual update." Headline text updated to "Copy. Paste. Launch." with the word "Launch." wrapped in a span for accent styling; a bordered inline-flex pill badge "Now with a brighter hero" was added below the headline.

Dependency Manifest

Layer / File(s) Summary
Manifest
package.json
Adds dependencies.yarn with version ^1.22.22 (Yarn declared as a runtime dependency).

Documentation

Layer / File(s) Summary
New Docs Page
content/docs/output.md
Adds "Output & Preview" documentation covering running dev (yarn dev), Storybook/local URLs, build output locations (.next, public/preview), copying component output, and a note about linking from README/docs navigation.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 I hopped to tweak the hero bright,

"Launch" now gleams in accent light,
A pill of pride beneath the line,
Docs and yarn tucked in just fine. ✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
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 (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'feat: update homepage hero' accurately describes the primary change—updating the hero component on the landing page with new copy and visual elements.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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
Review rate limit: 7/8 reviews remaining, refill in 7 minutes and 30 seconds.

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

Copy link
Copy Markdown

@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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@package.json`:
- Line 79: Remove the runtime dependency on Yarn Classic by deleting the "yarn":
"^1.22.22" entry from dependencies in package.json (the conflicting symbol is
the "yarn" dependency) so the project relies on the declared packageManager
("packageManager": "yarn@4.2.2") for tooling; if you need to keep any
tooling-only pins, move them to devDependencies or to an
.sdkman/.tool-versions-like mechanism rather than shipping them as a production
dependency.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 45db6335-8629-4654-9b3f-ceeac8178649

📥 Commits

Reviewing files that changed from the base of the PR and between a5bebcd and 32bb364.

⛔ Files ignored due to path filters (2)
  • package-lock.json is excluded by !**/package-lock.json
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (2)
  • app/(main)/_landing/hero-title.tsx
  • package.json

Comment thread package.json
"unist-builder": "^4.0.0",
"vaul": "^1.1.2",
"velite": "^0.2.3",
"yarn": "^1.22.22",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "Check for actual runtime imports of the 'yarn' package:"
rg -nP --type-add 'code:*.{js,jsx,ts,tsx,mjs,cjs}' --type code \
  '(from\s+["'"'"']yarn["'"'"']|require\(\s*["'"'"']yarn["'"'"']\s*\))' \
  -g '!**/node_modules/**' || true

echo
echo "Show package-manager pin + yarn dependency entry:"
rg -n '"packageManager"|"yarn"\s*:' package.json

echo
echo "Show scripts that hard-call yarn:"
rg -nP '"[^"]+"\s*:\s*"[^"]*\byarn\b[^"]*"' package.json

Repository: codse/animata

Length of output: 340


🏁 Script executed:

sed -n '60,120p' package.json | cat -n

Repository: codse/animata

Length of output: 1943


🏁 Script executed:

sed -n '1,59p' package.json | cat -n

Repository: codse/animata

Length of output: 2758


🏁 Script executed:

# Verify husky postinstall behavior and that the fix is valid
rg -n "postinstall" package.json
echo "---"
# Check if husky is used elsewhere or has specific needs
rg -n "husky" package.json

Repository: codse/animata

Length of output: 152


Avoid shipping Yarn Classic as a runtime dependency

Line 79 adds yarn@^1.22.22 to dependencies, but Line 106 already pins packageManager to Yarn 4.2.2. This creates version ambiguity and adds an unnecessary production dependency for tooling-only behavior.

Proposed fix
--- a/package.json
+++ b/package.json
@@ -14,7 +14,7 @@
     "animata:new": "node ./scripts/create-new.js",
     "registry:build": "node ./scripts/build-registry.js && node ./scripts/build-docs-markdown.js && node ./scripts/build-llms-txt.js",
-    "postinstall": "yarn prepare",
+    "postinstall": "husky",
     "shadcn:add": "npx shadcn-ui@latest add",
     "prepare": "husky"
@@ -77,7 +77,6 @@
     "tw-animate-css": "^1.4.0",
     "unist-builder": "^4.0.0",
     "vaul": "^1.1.2",
     "velite": "^0.2.3",
-    "yarn": "^1.22.22",
     "zod": "^3.24.0"
   },
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@package.json` at line 79, Remove the runtime dependency on Yarn Classic by
deleting the "yarn": "^1.22.22" entry from dependencies in package.json (the
conflicting symbol is the "yarn" dependency) so the project relies on the
declared packageManager ("packageManager": "yarn@4.2.2") for tooling; if you
need to keep any tooling-only pins, move them to devDependencies or to an
.sdkman/.tool-versions-like mechanism rather than shipping them as a production
dependency.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 1, 2026

🚀 Preview deployed to: https://e069994f.animata.pages.dev

@deepen-09 deepen-09 deployed to preview-deployment May 4, 2026 11:37 — with GitHub Actions Active
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 4, 2026

🚀 Preview deployed to: https://0f9969be.animata.pages.dev

@hari
Copy link
Copy Markdown
Contributor

hari commented May 5, 2026

not useful

@hari hari closed this May 5, 2026
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.

2 participants