How tahmidyouthlink/youthlink-tech works
Project type and purpose
• This is a full‐stack web application built with Next.js on the front end and Firebase for authentication and data storage. It provides a public‐facing marketing site (About Us, Our Work, Services, Contact Us) alongside an authenticated admin dashboard (CRUD interfaces for blogs, careers, work items, users, etc.).
File structure
• Top‐level: configuration files (.env, next.config.mjs, Tailwind, ESLint, Prettier) and package.json for dependency management.
• public/: all static assets (images, videos, Lottie animations, JSON metadata).
• src/app/: Next.js “app” directory containing routing folders. Under (withLayout) live public pages; under dashboard live protected admin pages.
• src/components/: reusable React components (layout, navigation, forms, tables, loading spinners).
• src/hooks/: custom React hooks for data‐fetching and state (useBlogs, useJobs, useAuth, etc.).
• src/utils/Provider/: context providers and route‐guards (AuthProvider, AdminRoute, PrivateRoute, ReactTanstackProvider).
• src/Firebase/: Firebase configuration file.
README for additional insights
• Bootstrapped via create-next-app, deployed on Vercel.
• Uses next/font for optimization and Tailwind for styling.
• No custom API routes—data calls go directly from the client (via custom hooks) to Firebase’s SDK.