How ahamedamansoor/portfolio works
Purpose and runtime
This is a static personal portfolio single-page application, built with React, TypeScript, Vite, Tailwind/PostCSS, and deployed through Firebase Hosting. Its content includes portfolio sections and a downloadable CV at public/Ahamed Mansoor Cv.pdf.
Application entry and build boundary
Vite serves and bundles the application from index.html, which loads the React bootstrap at src/main.tsx. The root React composition is src/App.tsx; production output is committed under dist/index.html and Firebase’s generated hosting snapshot under .firebase/portfolio-mansoor/hosting/index.html.
Root composition and navigation flow
src/App.tsx is the control point for assembling page content, global layout, navigation, and animation-oriented UI. Navigation is implemented as in-page section traversal rather than a router-based page system, with src/components/Navigation.tsx targeting sections rendered by the page modules. src/components/Layout.tsx provides the shared page shell.
Portfolio content stages
The primary content is divided into independently rendered portfolio sections:
• Landing/introduction: src/pages/Home.tsx
• Biography/profile: src/pages/About.tsx
• Skills presentation: src/pages/Skills.tsx
• Work/project portfolio: src/pages/Projects.tsx
• Awards or achievements: src/pages/Recognitions.tsx
• Contact details/action area: src/pages/Contact.tsx
These modules are likely orchestrated by src/App.tsx and wrapped into consistently addressable sections.
Shared section and interaction primitives
src/components/Section.tsx establishes the reusable content-section boundary used by the page modules. Visual and interaction behavior is factored into reusable components: src/components/PageTransition.tsx for staged rendering/animation, src/components/TypewriterText.tsx for animated text, and src/components/CursorFollower.tsx plus src/components/ParticlesBackground.tsx for global decorative pointer/background effects. These are presentation-layer components, not external-service boundaries.
Styling and asset flow
Global styles originate in src/index.css; Tailwind configuration is in tailwind.config.js, with PostCSS processing configured by postcss.config.js. Static public files are served directly from public, while bundled CSS and JavaScript are emitted to dist during Vite builds. The existing Firebase artifact includes bundled assets at .firebase/portfolio-mansoor/hosting/assets/index-DLITUGHL.js and .firebase/portfolio-mansoor/hosting/assets/index-BZnSGysH.css.
Deployment infrastructure
Firebase is the material external platform. firebase.json defines Hosting deployment behavior, .firebaserc selects the Firebase project, and apphosting.yaml indicates Firebase App Hosting configuration may also be present. .env is available for runtime/build environment values, though no backend, API client, database, or authentication implementation appears in the supplied tree.
Main entry points: App.tsx App composition · Section.tsx Section primitive · Contact.tsx Contact · index.html Vite HTML entry
Components 19
React application
- React bootstrap
src/main.tsx - App composition · Assembles layout, navigation, sections, and global effects.
src/App.tsx - Shared layout
src/components/Layout.tsx - Section navigation · Targets addressable portfolio sections without a router.
src/components/Navigation.tsx - Section primitive
src/components/Section.tsx - Animation effects · Transitions, typewriter text, cursor follower, and particle background.
Portfolio sections
- Home
src/pages/Home.tsx - About
src/pages/About.tsx - Skills
src/pages/Skills.tsx - Projects
src/pages/Projects.tsx - Recognitions
src/pages/Recognitions.tsx - Contact
src/pages/Contact.tsx - Downloadable CV
public/Ahamed Mansoor Cv.pdf
Build and styling
- Vite HTML entry
index.html - Global styles
src/index.css - Vite build · Bundles React and processed CSS into static output.
- Production bundle
dist/index.html
Firebase hosting
- Firebase Hosting · Hosts the static portfolio artifact.
firebase.json - Hosting snapshot
.firebase/portfolio-mansoor/hosting/index.html
Connections 24
- Vite HTML entry → React bootstrap: loads
- React bootstrap → App composition: mounts
- App composition → Shared layout: composes
- App composition → Section navigation: renders
- Section navigation → Section primitive: traverses
- App composition → Animation effects: renders
- App composition → Home: renders
- App composition → About: renders
- App composition → Skills: renders
- App composition → Projects: renders
- App composition → Recognitions: renders
- App composition → Contact: renders
- Home → Section primitive: uses
- About → Section primitive: uses
- Skills → Section primitive: uses
- Projects → Section primitive: uses
- Recognitions → Section primitive: uses
- Contact → Section primitive: uses
- Contact → Downloadable CV: offers download
- Vite HTML entry → Vite build: build input
- Global styles → Vite build: processed by
- Vite build → Production bundle: emits
- Production bundle → Firebase Hosting: deployed to
- Firebase Hosting → Hosting snapshot: generates