How thanajayan143/dhananjeyans_portfolio works
Purpose and Runtime
This is a static personal portfolio for Dhananjeyan S, presenting projects, technical interests, career journey, and SaiNex Technologies. It is a TypeScript React single-page application built and served through Vite, with Tailwind/PostCSS styling. No backend, database, authentication, or external API integration is evident from the repository tree.
Core bootstrap paths: index.html, src/main.tsx, vite.config.ts.
Application Composition
src/main.tsx mounts the React application. src/App.tsx is the application shell; it delegates primary page rendering to the page layer. src/App.css and src/index.css establish application/global styling boundaries.
Likely entry/page paths:
• src/main.tsx
• src/App.tsx
• src/pages/Index.tsx
• src/pages/Home.tsx
• src/pages/NotFound.tsx
Page and Navigation Boundary
The site has a primary portfolio/home experience plus a fallback not-found view. Navigation is represented as a reusable layout component rather than separate server routes, consistent with a client-rendered SPA. Navbar links likely drive in-page section navigation or page selection.
Paths:
• src/pages/Home.tsx
• src/pages/NotFound.tsx
• src/components/layout/Navbar.tsx
• src/components/layout/Footer.tsx
Portfolio Content Sections
The portfolio is decomposed into independently renderable feature sections. These encode the main narrative and user flow: initial loading → hero/identity → background and skills → projects and specialties → brand/community/contact.
Representative section paths:
• src/components/features/Preloader.tsx
• src/components/features/Hero.tsx
• src/components/features/About.tsx
• src/components/features/Projects.tsx
• src/components/features/FeaturedProject.tsx
• src/components/features/Skills.tsx
• src/components/features/Connect.tsx
Specialty and timeline content is further separated, allowing cyber, AI, hardware/IoT, hackathon, GitHub, career journey, and SaiNex branding to evolve without restructuring the page:
• src/components/features/Cybersecurity.tsx
• src/components/features/AIInnovation.tsx
• src/components/features/HardwareIoT.tsx
• src/components/features/Journey.tsx
• src/components/features/SaiNex.tsx
Content Data Boundary
Portfolio content is likely centralized as static typed data, separating lists such as projects, technologies, links, and milestones from visual composition. Feature components consume this local data rather than querying a CMS or service.
Paths:
• src/constants/data.ts
• src/components/features/Projects.tsx
• src/components/features/Skills.tsx
Interaction and Responsive Behavior
Scroll-triggered reveal behavior is encapsulated in a custom hook, avoiding animation/control logic leaking across content sections. Mobile viewport behavior is also isolated in a hook. This is the primary client-side interaction boundary beyond normal React state.
Paths:
• src/hooks/useScrollReveal.ts
• src/hooks/use-mobile.tsx
• src/components/features/Hero.tsx
Design System and Build Infrastructure
Reusable UI primitives live under src/components/ui, providing a local component-system layer for buttons, cards, dialogs, navigation, form controls, and notifications. Shared class-composition utilities are in src/lib/utils.ts. Tailwind configuration, PostCSS, and Vite provide the styling/build pipeline; Bun and npm lockfiles indicate either package manager may be used.
Paths:
• src/components/ui/button.tsx
• src/components/ui/card.tsx
• src/lib/utils.ts
• tailwind.config.ts
• postcss.config.js
• package.json
Main entry points: Home.tsx Portfolio home · App.tsx Application shell · vite.config.ts Vite build runtime · data.ts Static portfolio data
Components 20
Runtime & Build
- Vite build runtime · Builds and serves the React SPA.
vite.config.ts - Package manifest
package.json - Tailwind & PostCSS
tailwind.config.ts - HTML entry
index.html
Application Shell
- React bootstrap
src/main.tsx - Application shell
src/App.tsx - Index page
src/pages/Index.tsx - Not-found view
src/pages/NotFound.tsx - Navbar & footer · Provides in-page navigation and site framing.
src/components/layout/Navbar.tsx
Portfolio Experience
- Portfolio home · Composes the portfolio narrative and sections.
src/pages/Home.tsx - Preloader & hero
src/components/features/Hero.tsx - About & journey
src/components/features/Journey.tsx - Projects · Includes project listing and featured work.
src/components/features/Projects.tsx - Technical specialties · Cybersecurity, AI, and hardware/IoT content.
src/components/features/Cybersecurity.tsx - SaiNex & connect
src/components/features/SaiNex.tsx
Shared Client Layers
- Static portfolio data · Supplies projects, technologies, links, and milestones.
src/constants/data.ts - Responsive reveal hooks · Encapsulates scroll reveal and mobile viewport behavior.
src/hooks/useScrollReveal.ts - UI primitives · Reusable buttons, cards, dialogs, and controls.
src/components/ui/button.tsx - Class utilities
src/lib/utils.ts - Global application styles
src/index.css
Connections 23
- Package manifest → Vite build runtime: configures dependencies
- Tailwind & PostCSS → Vite build runtime: feeds CSS processing
- HTML entry → React bootstrap: loads
- Vite build runtime → HTML entry: builds and serves
- React bootstrap → Application shell: mounts
- Application shell → Index page: renders
- Application shell → Not-found view: falls back to
- Index page → Portfolio home: selects primary view
- Portfolio home → Navbar & footer: frames with
- Portfolio home → Preloader & hero: composes
- Portfolio home → About & journey: composes
- Portfolio home → Projects: composes
- Portfolio home → Technical specialties: composes
- Portfolio home → SaiNex & connect: composes
- Navbar & footer → Portfolio home: navigates sections
- Projects → Static portfolio data: reads project data
- About & journey → Static portfolio data: reads milestones
- Technical specialties → Static portfolio data: reads technology data
- Preloader & hero → Responsive reveal hooks: uses reveal behavior
- UI primitives → Class utilities: composes classes with
- Portfolio home → UI primitives: uses primitives
- Application shell → Global application styles: applies global styles
- Tailwind & PostCSS → Global application styles: processes