A beautiful, modern landing page showcasing two powerful React packages for GeeksforGeeks profile integration.
This landing page presents two NPM packages designed to seamlessly integrate GeeksforGeeks (GFG) profiles into React applications:
- react-gfg - Pre-styled, production-ready component with beautiful defaults
- use-react-gfg - Custom React hook providing raw profile data for complete design freedom
- Dark Developer-Focused Design - Modern black theme with gradient accents
- Interactive Animations - Mouse-following glows, hover effects, and smooth transitions
- Aceternity UI Inspired - Premium components with glassmorphism and gradient effects
- Fully Responsive - Optimized for all screen sizes from mobile to desktop
- Performance Optimized - Fast loading with minimal bundle size
- SEO Ready - Complete meta tags for social sharing
The landing page clearly presents both packages with:
- Detailed feature lists
- Installation instructions with copy-to-clipboard
- Code examples with syntax highlighting
- Side-by-side comparison table
- Direct links to NPM, GitHub, and documentation
- Framework: React 18.3.1 with TypeScript
- Build Tool: Vite 5.4.2
- Styling: Tailwind CSS 3.4.1
- Icons: Lucide React 0.344.0
- Animations: Custom CSS animations with Tailwind
- Node.js 18+
- npm or yarn
# Clone the repository
git clone https://github.com/BamaCharanChhandogi/react-gfg.git
# Navigate to the project
cd react-gfg-landing
# Install dependencies
npm install
# Start development server
npm run devThe site will be available at http://localhost:5173
# Create optimized production build
npm run build
# Preview production build
npm run preview.
├── src/
│ ├── App.tsx # Main landing page component
│ ├── main.tsx # Application entry point
│ └── index.css # Global styles & Tailwind imports
├── public/ # Static assets
├── index.html # HTML template with meta tags
└── package.json # Dependencies & scripts
Edit src/App.tsx to update:
- Package versions
- Feature lists
- Links to documentation
- Code examples
The design uses Tailwind CSS. Modify colors and spacing in:
tailwind.config.js- Theme configurationsrc/App.tsx- Component-specific styles
Update SEO and social sharing information in index.html
This site can be deployed to any static hosting service:
npm install -g vercel
vercelnpm run build
# Drag and drop the 'dist' folder to Netlifynpm run build
# Deploy the 'dist' folder to gh-pages branchBeautiful, pre-styled component for quick integration.
npm install react-gfgimport { GFGProfile } from "react-gfg";
function App() {
return <GFGProfile username="bamacharan" />;
}Best for: Portfolios, landing pages, quick projects
Custom hook providing raw data for complete design control.
npm install use-react-gfgimport { useGFG } from "use-react-gfg";
function Profile() {
const { profile, loading, error } = useGFG("bamacharan");
return <div>{profile.info.userName}</div>;
}Best for: Custom designs, complex UIs, advanced projects
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
- First Contentful Paint: < 1s
- Time to Interactive: < 2s
- Lighthouse Score: 95+
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Bama Charan Chhandogi
- GitHub: @BamaCharanChhandogi
- NPM: @bamacharan
- Website: Portfolio
- Design inspiration from Aceternity UI
- Icons by Lucide
- Built with Vite and React
If you find these packages helpful, please consider:
- Giving a star on GitHub
- Sharing with other developers
- Contributing to the projects
Made with ❤️ by Bama Charan Chhandogi