Thanks to visit codestin.com
Credit goes to github.com

Skip to content

hero section#6

Merged
azkriven16 merged 1 commit intomainfrom
restructure
Aug 19, 2025
Merged

hero section#6
azkriven16 merged 1 commit intomainfrom
restructure

Conversation

@azkriven16
Copy link
Owner

@azkriven16 azkriven16 commented Aug 19, 2025

Summary by CodeRabbit

  • New Features

    • Fixed top header with avatar and music play/pause.
    • Bottom dock navigation with tooltips and central theme toggle with animated transition.
    • Scroll progress bar, sparkly name effect, highlighted phrases, and typewriter text on the homepage.
    • Dropdown menus, tooltips, and improved button styles.
  • UI/UX Improvements

    • Revamped two‑column hero layout.
    • Hidden cursor effect on mobile/tablet.
    • Prevented horizontal scrolling site‑wide.
  • Removals

    • Glitch background effect removed.
  • Chores

    • Added UI and theming dependencies to support new components.

@korbit-ai
Copy link

korbit-ai bot commented Aug 19, 2025

You've used up your 5 PR reviews for this month under the Korbit Starter Plan. You'll get 5 more reviews on September 11th, 2025 or you can upgrade to Pro for unlimited PR reviews and enhanced features in your Korbit Console.

@vercel
Copy link

vercel bot commented Aug 19, 2025

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

Project Deployment Preview Comments Updated (UTC)
euger Ready Ready Preview Comment Aug 19, 2025 2:20am

@coderabbitai
Copy link

coderabbitai bot commented Aug 19, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Removes bg-glitch component, restructures app layout to use a new client-only provider wrapper, updates the homepage hero, adds top and bottom navigation, introduces multiple UI primitives (buttons, avatar, dock, dropdowns, tooltips, separators), adds visual/interaction components (mode toggle, sparkles text, highlighter, scroll progress), updates CSS, and adds dependencies.

Changes

Cohort / File(s) Summary of changes
Removal: BgGlitch
app/components/ui/bg-glitch.tsx
Deleted canvas-based BgGlitch component and its default export.
Layout & Page
app/layout.tsx, app/page.tsx
Layout now wraps children in ClientSideProviders; removed font and overlay components. Page replaced with a two-column hero using new UI components.
Client Providers & Shell
components/client-side-providers.tsx, components/top-nav.tsx, components/bottom-nav.tsx
Added client-only providers wrapper rendering ThemeProvider, ambient UI, TopNav, BottomNav. New TopNav with avatar and audio control; BottomNav with docked icons and theme toggle.
Theme & Mode
components/ui/theme-provider.tsx, components/mode-toggle.tsx
Added ThemeProvider wrapper for next-themes. Added ModeToggle with view-transition radial animation and dark class toggle.
UI Primitives
components/ui/button.tsx, components/ui/avatar.tsx, components/ui/dropdown-menu.tsx, components/ui/separator.tsx, components/ui/tooltip.tsx, components/ui/dock.tsx
Introduced Button (cva variants), Avatar wrappers, Dropdown Menu suite, Separator, Tooltip suite, and a cursor-magnified Dock with DockIcon.
Visual/FX Components
components/ui/sparkles-text.tsx, components/ui/highlighter.tsx, components/ui/type-text.tsx, components/ui/scroll-progress.tsx
Added SparklesText, Rough-Notation Highlighter, TextType (typewriter), and ScrollProgress bar.
Ambient/Behavior Tweaks
components/ui/click-spark.tsx, components/ui/noise.tsx, components/ui/target-cursor.tsx
ClickSpark canvas adds mix-blend-difference; Noise import reorder; TargetCursor hides on ≤1224px viewports.
Global Styles
app/globals.css
body now applies overflow-x-hidden; added .heading utility class.
Dependencies
package.json
Added Radix UI packages, next-themes, react-responsive, and rough-notation.

Sequence Diagram(s)

sequenceDiagram
  participant App as App (Next.js)
  participant Layout as RootLayout
  participant CSP as ClientSideProviders
  participant Theme as ThemeProvider
  participant UI as Ambient UI (TopNav/BottomNav/Noise/TargetCursor/ScrollProgress)
  participant Page as Page

  App->>Layout: Render
  Layout->>CSP: Render with children
  CSP-->>CSP: Wait until mounted (useEffect)
  CSP->>Theme: Initialize (attribute="class", defaultTheme="system")
  Theme->>UI: Render chrome (TopNav, BottomNav, etc.)
  Theme->>Page: Render children
Loading
sequenceDiagram
  participant User as User
  participant Btn as ModeToggle Button
  participant Doc as document.documentElement
  participant VT as ViewTransition API

  User->>Btn: Click
  Btn->>Doc: Toggle 'dark' class (startViewTransition)
  Btn->>VT: Animate radial clip-path from button center
  VT-->>Doc: Apply theme transition (700ms)
Loading

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~60 minutes

Possibly related PRs

  • initial commit #1 — Touches the same layout, globals, and UI component files (button, dropdown-menu, separator), indicating overlapping or conflicting changes.

Poem

I thump my paws, the night turns gold,
New docks and stars, a tale retold.
A toggle blooms, the darkness flips,
Typewriter whispers from my lips.
Scroll-bars climb, the headers sing—
With gentle hops, I ship this thing. 🐇✨

Tip

🔌 Remote MCP (Model Context Protocol) integration is now available!

Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats.


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 6a5bb54 and a6e1df5.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (23)
  • app/components/ui/bg-glitch.tsx (0 hunks)
  • app/globals.css (1 hunks)
  • app/layout.tsx (2 hunks)
  • app/page.tsx (1 hunks)
  • components/bottom-nav.tsx (1 hunks)
  • components/client-side-providers.tsx (1 hunks)
  • components/mode-toggle.tsx (1 hunks)
  • components/top-nav.tsx (1 hunks)
  • components/ui/avatar.tsx (1 hunks)
  • components/ui/button.tsx (1 hunks)
  • components/ui/click-spark.tsx (1 hunks)
  • components/ui/dock.tsx (1 hunks)
  • components/ui/dropdown-menu.tsx (1 hunks)
  • components/ui/highlighter.tsx (1 hunks)
  • components/ui/noise.tsx (1 hunks)
  • components/ui/scroll-progress.tsx (1 hunks)
  • components/ui/separator.tsx (1 hunks)
  • components/ui/sparkles-text.tsx (1 hunks)
  • components/ui/target-cursor.tsx (2 hunks)
  • components/ui/theme-provider.tsx (1 hunks)
  • components/ui/tooltip.tsx (1 hunks)
  • components/ui/type-text.tsx (1 hunks)
  • package.json (1 hunks)
✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch restructure

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@azkriven16 azkriven16 merged commit 12b71a8 into main Aug 19, 2025
3 of 4 checks passed
@coderabbitai coderabbitai bot mentioned this pull request Aug 26, 2025
@azkriven16 azkriven16 deleted the restructure branch November 4, 2025 09:57
This was referenced Nov 7, 2025
@coderabbitai coderabbitai bot mentioned this pull request Nov 14, 2025
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