Skip to content

Reorganize component structure in apps/main and apps/blog#4

Open
zhsama wants to merge 2 commits into
masterfrom
refactor/reorganize-components-3609630583152871050
Open

Reorganize component structure in apps/main and apps/blog#4
zhsama wants to merge 2 commits into
masterfrom
refactor/reorganize-components-3609630583152871050

Conversation

@zhsama

@zhsama zhsama commented Feb 10, 2026

Copy link
Copy Markdown
Owner

Reorganized the directory structure of both apps/main and apps/blog to be more consistent and follow standard conventions. Specifically, moved React components into src/components/react and UI components into src/components/ui, removing the top-level capitalized React directory in apps/main. Also fixed some existing type errors and unused imports discovered during verification.


PR created automatically by Jules for task 3609630583152871050 started by @zhsama

- Reorganized `apps/main`:
  - Created `src/components/ui` and `src/components/react` directories.
  - Moved files from `src/React/ui/` to `src/components/ui/`.
  - Moved files from `src/React/` to `src/components/react/`.
  - Deleted `src/React` directory.
  - Updated imports in `src/components/Nav.astro`, `src/components/Home.astro`, and `src/components/react/ThemeSwitcher.tsx`.
- Standardized `apps/blog`:
  - Renamed `src/components/React` to `src/components/react`.
  - Moved `src/components/Search.tsx` and `src/components/ThemeSwitcher.tsx` to `src/components/react/`.
  - Updated imports in `src/components/NavBar.astro`.
- Fixed type errors:
  - Updated `apps/main/src/components/react/ThemeSwitcher.tsx` to use correct exports from `themes.ts`.
  - Updated `apps/blog/src/components/react/ThemeSwitcher.tsx` to use correct import path for `DropdownMenu`.
  - Removed unused code in `apps/main/src/components/Footer.astro`.

Co-authored-by: zhsama <33454514+zhsama@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@netlify

netlify Bot commented Feb 10, 2026

Copy link
Copy Markdown

Deploy Preview for comforting-choux-f18496 failed. Why did it fail? →

Name Link
🔨 Latest commit 90bdbbf
🔍 Latest deploy log https://app.netlify.com/projects/comforting-choux-f18496/deploys/698ac92efd55930008738c8b

@netlify

netlify Bot commented Feb 10, 2026

Copy link
Copy Markdown

Deploy Preview for grand-zuccutto-8f35dc ready!

Name Link
🔨 Latest commit 90bdbbf
🔍 Latest deploy log https://app.netlify.com/projects/grand-zuccutto-8f35dc/deploys/698ac92e8cfd160008dfb5c5
😎 Deploy Preview https://deploy-preview-4--grand-zuccutto-8f35dc.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 99
Accessibility: 87
Best Practices: 100
SEO: 100
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

- Moved `lettersAndSymbols` array to a constant `LETTERS_AND_SYMBOLS` outside the component scope in `apps/main/src/components/react/LetterGlitch.tsx`.
- This cleans up the component body and improves readability.
- Fixed `apps/main/src/components/Footer.astro` to remove unused env imports.

Co-authored-by: zhsama <33454514+zhsama@users.noreply.github.com>
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