This package contains everything you need to generate a complete, production-ready MVP of MentoLoop using Google Gemini. The prompt has been meticulously crafted with exact logos, color palettes, and architectural guidelines from your existing codebase.
When you run the Gemini prompt, it will generate:
- Landing Page (
app/page.tsx) - Hero, features, social proof, CTA - Student Intake Wizard (
app/student-intake/page.tsx) - 8+ steps with MentorFit assessment - Preceptor Intake Wizard (
app/preceptor-intake/page.tsx) - 8+ steps with matching questions - Institution Lead Form (
app/institutions/page.tsx) - School/enterprise intake - Role-Based Dashboards - Student, Preceptor, School, Admin views
- Logo Component (
components/logo.tsx) - Main, Icon, Stroke variants with gradients - Glass Card (
components/ui/glass-card.tsx) - Reusable glassmorphism component - Navigation - Navbar with auth integration points
- Footer - Links, social, contact
- Form Components - Input, select, radio, checkbox with styling
- Tailwind Config (
tailwind.config.ts) - Complete color palette with MentoLoop extensions - Global CSS (
app/globals.css) - CSS variables, animations, glassmorphism utilities - Dark/Light Mode - Full theme support with CSS custom properties
- SQL migrations for Supabase with:
- Users table
- Profiles (Student, Preceptor, School)
- Intakes (Responses to MentorFit questions)
- Matches (AI matching results)
- Audit logs
- Complete, copy-paste ready prompt for Gemini
- Includes all exact SVG paths for logos
- All CSS color variables
- MentorFit assessment questions (15 for students, 18 for preceptors)
- Architectural requirements
- Logo usage guidelines and SVG inline code
- Complete color palette (dark & light modes)
- Semantic color tokens
- Typography guidelines
- Shadow system
- Animation utilities
- Glassmorphism effects
- Color swatches with hex, RGB, HSL values
- Dark mode theme colors
- Light mode theme colors
- Chart colors
- Component-specific colors
- Accessibility contrast ratios
- Implementation examples
- Overview and setup instructions
- File descriptions
- Step-by-step usage guide
- Go to Google Gemini
- Sign in with your Google account
- Start a new conversation
- Open
GEMINI_MVP_PROMPT.md - Copy everything from "You are an expert Senior Full-Stack Engineer..." to "END OF PROMPT"
- Make sure you copy the complete prompt (all sections)
- In the Gemini chat box, paste the entire prompt
- Click Send
- Gemini will process the request
- Gemini will generate code files
- Download each file as it's provided
- Follow the folder structure provided in the output
# Example structure:
MentoLoop/
├── app/
│ ├── page.tsx (landing page)
│ ├── student-intake/page.tsx
│ ├── preceptor-intake/page.tsx
│ ├── institutions/page.tsx
│ ├── dashboard/
│ │ ├── page.tsx (redirect)
│ │ ├── student/page.tsx
│ │ ├── preceptor/page.tsx
│ │ ├── school/page.tsx
│ │ └── admin/page.tsx
│ └── globals.css (update)
├── components/
│ ├── logo.tsx (new/update)
│ ├── ui/
│ │ └── glass-card.tsx (new)
│ └── ...
├── tailwind.config.ts (update)
└── next.config.ts# Install any new dependencies
npm install
# Run development server
npm run dev
# Type check
npm run type-check
# Lint
npm run lint- Main logo with gradient (78x18 viewBox)
- Icon-only variant (18x18)
- Stroke variant for special uses
- All inline SVG paths included
- Dark mode (default) with 20+ semantic colors
- Light mode support
- WCAG AA accessibility compliance
- Gradient definitions
- Chart color system
- 15 student compatibility questions
- 18 preceptor teaching style questions
- Structured for AI matching algorithms
- Enum-based implementation for consistency
- TypeScript throughout
- Error boundaries
- Loading states
- Form validation (Zod)
- Accessibility best practices
- Dark mode by default
- Responsive mobile-first
.glassclass (basic blur effect).glass-strongclass (enhanced).glass-navbarfor headers- Professional, modern aesthetic
- Enterprise-grade appearance
In GEMINI_MVP_PROMPT.md, look for the color palette section:
--primary: 214 100% 60%; /* Change this HSL value */In the prompt, find the "MentorFit Assessment" section and edit question text and options directly.
In the dashboard deliverables section, specify which tabs/sections you want.
Modify the "Deliverables" section to change the number of steps or reorder them.
The prompt mentions Clerk auth. You'll need to:
- Set up Clerk project
- Add API keys to
.env.local - The generated code will have placeholder integration points
Similar to Clerk:
- Create Stripe account
- Set publishable and secret keys in environment
- Generated code will have payment integration placeholders
The prompt includes SQL schema generation:
- Review the generated SQL
- Test it in your Supabase project
- Adjust RLS policies as needed for your security requirements
The generated code assumes these are installed:
{
"dependencies": {
"react": "^19.0.0",
"next": "^15.5.4",
"tailwindcss": "^3.4.0",
"framer-motion": "^12.23.0",
"@clerk/nextjs": "^6.24.0",
"stripe": "^18.4.0",
"zod": "^3.25.76"
}
}After generation:
- Run
npm run type-checkto find TypeScript issues - Run
npm run lintfor ESLint errors - Test forms with various inputs
- Test responsive design at mobile breakpoints
- Try splitting the prompt into smaller sections
- Or use multiple conversations (Phase 1, Phase 2, etc.)
- Ensure you copy the entire CSS variables section
- Check that
app/globals.cssis imported in your layout - Verify Tailwind config is correctly updated
- Make sure the SVG
<defs>section is included - Check that gradient IDs match between
<defs>and<path> - Verify
fill="url(#logo-gradient)"is correct
- Install Zod:
npm install zod - Check that Zod schemas are created
- Verify form component props match
- Existing Logo:
components/logo.tsx(lines 1-120) - Color Variables:
app/globals.css(lines 6-85) - Tailwind Config:
tailwind.config.ts(lines 29-115) - Student Intake Example:
app/student-intake/components/mentorfit-assessment-step.tsx - Preceptor Intake Example:
app/preceptor-intake/components/mentoring-style-step.tsx
# Development
npm run dev # Start dev server
npm run build # Build for production
npm start # Start production server
# Testing & Validation
npm run lint # Run ESLint
npm run type-check # TypeScript check
npm run validate # Run all checks
npm run test:unit # Run unit tests
npm run test:all # Run all tests
# Deployment
netlify deploy # Deploy to NetlifyMentoLoop MVP Architecture
├── Frontend (Next.js 14+ App Router)
│ ├── Pages (Landing, Intake, Dashboards)
│ ├── Components (Reusable UI + glassmorphism)
│ ├── Styling (Tailwind + CSS variables)
│ └── State (React Hooks + Context)
├── Backend (Next.js API Routes)
│ ├── Clerk Auth integration
│ ├── Stripe payment handling
│ ├── SendGrid email
│ ├── Twilio SMS
│ └── Supabase queries
├── Database (PostgreSQL via Supabase)
│ ├── Users & Profiles
│ ├── Intake responses
│ ├── MentorFit matches
│ └── Audit logs
└── Infrastructure
├── Netlify (hosting)
├── Upstash (Redis caching)
└── Third-party services
-
Review Generated Code
- Check for any placeholder values
- Verify all imports are correct
- Ensure folder structure matches expectations
-
Update Environment Variables
# .env.local NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=... CLERK_SECRET_KEY=... STRIPE_PUBLIC_KEY=... STRIPE_SECRET_KEY=... NEXT_PUBLIC_SUPABASE_URL=... SUPABASE_SERVICE_ROLE_KEY=... SENDGRID_API_KEY=... TWILIO_ACCOUNT_SID=... -
Set Up Services
- Create Clerk application
- Set up Stripe Connect account
- Configure Supabase project
- Set up SendGrid templates
- Configure Twilio account
-
Test Locally
npm run dev # Visit http://localhost:3000 -
Deploy to Staging
- Test all forms
- Verify payments flow
- Check auth integration
- Test email/SMS
-
Deploy to Production
- Run full test suite
- Deploy to Netlify
- Monitor for errors
- Gather user feedback
If the generated code doesn't meet your needs:
- Refine the prompt in
GEMINI_MVP_PROMPT.md - Run Gemini again with updated requirements
- Manually adjust specific sections as needed
- Combine generated code with your existing patterns
Example refinement:
# If you want different colors:
Change the color palette section in GEMINI_MVP_PROMPT.md
# If you want more form steps:
Modify the "Deliverables" section to include additional steps
# If you want different dashboard layouts:
Update the dashboard requirements in the prompt| File | Purpose | Size |
|---|---|---|
GEMINI_MVP_PROMPT.md |
Main prompt for Gemini | ~10KB |
DESIGN_SYSTEM_AND_BRANDING.md |
Design reference guide | ~15KB |
COLOR_PALETTE_QUICK_REFERENCE.md |
Color lookup table | ~8KB |
GEMINI_PROMPT_README.md |
This file | ~12KB |
Total Documentation: ~45KB of comprehensive, organized guidance
- Created: 2025
- MentoLoop Version: 0.9.7+
- Next.js: 15.5.4+
- Tailwind CSS: 3.4.0+
- TypeScript: 5.9.2+
All code generated from this prompt should follow your project's existing license (if any).
The color palette, logos, and design system are specific to MentoLoop and derived from your existing codebase.
Ready to generate? Start with GEMINI_MVP_PROMPT.md →