How shruti-246/shruti-web works
This repository is a personal portfolio website. Visitors enter the React app and browse an introduction, biography, experience, projects, skills, and contact links; a separate /recommend route accepts recommendation submissions. The recommendation form uploads images and inserts records through Supabase, while the recommendations component queries approved records. The main excerpts show the route and component wiring, but README content is absent and the public recommendations view is commented out in App, so it is not shown as part of the active page flow.
Main entry points: App.jsx Route and layout · RecommendationForm.jsx Recommendation form · supabaseClient.js Supabase client · Recommendations.jsx Published recommendations
Components 17
Application shell
- React entry
portfolio/src/main.jsx - Route and layout
portfolio/src/App.jsx
Portfolio content
- Navigation
portfolio/src/components/layout/Navbar.jsx - Introduction
portfolio/src/components/hero/Hero.jsx - Halftone portrait
portfolio/src/components/HalftonePortrait.jsx - Biography and skills
portfolio/src/components/about/About.jsx - Experience
portfolio/src/components/journey/Journey.jsx - Project showcase
portfolio/src/components/projects/Projects.jsx - Skills
portfolio/src/components/skills/Skills.jsx - Achievements
portfolio/src/components/achievements/Achievements.jsx - Section wrapper
portfolio/src/components/layout/SectionWrapper.jsx - Footer
portfolio/src/components/layout/Footer.jsx
Recommendations
- Recommendation form
portfolio/src/components/recommendations/RecommendationForm.jsx - Published recommendations
portfolio/src/components/recommendations/Recommendations.jsx - Supabase client
portfolio/src/lib/supabaseClient.js - Supabase service
Other components
- Site visitor
Connections 17
- Site visitor → React entry: opens site
- React entry → Route and layout: renders
portfolio/src/main.jsx - Route and layout → Navigation: renders
portfolio/src/App.jsx - Route and layout → Introduction: renders
portfolio/src/App.jsx - Route and layout → Biography and skills: renders
portfolio/src/App.jsx - Route and layout → Experience: renders
portfolio/src/App.jsx - Route and layout → Project showcase: renders
portfolio/src/App.jsx - Route and layout → Skills: renders
portfolio/src/App.jsx - Route and layout → Footer: renders
portfolio/src/App.jsx - Route and layout → Recommendation form: routes to
portfolio/src/App.jsx - Introduction → Halftone portrait: renders
portfolio/src/components/hero/Hero.jsx - Achievements → Section wrapper: uses
portfolio/src/components/achievements/Achievements.jsx - Recommendation form → Supabase client: calls
portfolio/src/components/recommendations/RecommendationForm.jsx - Published recommendations → Supabase client: queries
portfolio/src/components/recommendations/Recommendations.jsx - Supabase client → Supabase service: connects to
- Recommendation form → Supabase service: uploads and inserts
portfolio/src/components/recommendations/RecommendationForm.jsx - Published recommendations → Supabase service: reads approved records
portfolio/src/components/recommendations/Recommendations.jsx