This is a responsive marketing landing page for SoftSell, a platform for selling unused software licenses. Built with Next.js, Tailwind CSS, and Framer Motion.
- ✨ Modern, responsive design with smooth animations
- 🌓 Light/dark mode toggle with system preference detection
- 🤖 AI-powered customer chat widget with example questions
- 📱 Mobile-friendly layout with animated navigation
- 🎨 Custom color scheme with gradient effects
- 📝 Interactive contact form with validation
- Framework: Next.js (App Router)
- Styling: Tailwind CSS
- Animations: Framer Motion
- Form Validation: React Hook Form + Zod
- Icons: Heroicons
First, clone the repository:
git clone https://github.com/Arjunhg/sell-stack.gitSecond, install the dependencies:
npm install
# or
yarn installThen, run the development server:
npm run dev
# or
yarn devOpen http://localhost:3000 with your browser to see the result.
marketing-page/
├── src/
│ ├── app/ # App router pages
│ ├── components/ # React components
│ │ ├── chat/ # Chat widget components
│ │ ├── layout/ # Layout components (Header, Footer)
│ │ ├── providers/ # Context providers
│ │ └── sections/ # Page sections (Hero, Features, etc.)
│ ├── lib/ # Utility functions
│ └── styles/ # Global styles
├── public/ # Static assets
└── ...config files
The site uses a custom color scheme defined in src/styles/globals.css. You can modify the colors by adjusting the CSS variables:
:root {
--primary: #E57373;
--primary-light: #FFCDD2;
--secondary: #FF8A65;
/* other color variables */
}Most of the content can be edited directly in the respective component files:
- Hero section:
src/components/sections/Hero.jsx - Features:
src/components/sections/WhyChooseUs.jsx - Process steps:
src/components/sections/HowItWorks.jsx - Testimonials:
src/components/sections/Testimonials.jsx - Contact form:
src/components/sections/ContactForm.jsx
The AI-powered chat widget uses hardcoded responses based on keywords. To modify these:
- Edit the example questions in
src/components/chat/ChatWidget.jsx - Modify the response logic in the
getAIResponsefunction
To integrate with a real LLM API like Google's Gemini:
- Obtain an API key from Google Cloud Console
- Create a
.env.localfile withNEXT_PUBLIC_GEMINI_API_KEY=your_key_here - Implement the API integration in
src/lib/chat-service.js
The easiest way to deploy this app is using the Vercel Platform.
- Push your code to a GitHub repository
- Import the project in Vercel
- Deploy!
To learn more about the technologies used: