import React from "react"; import { Card } from "@/components/ui/card"; import { FileText, Sparkles, Code, Shield, Download, CreditCard } from "lucide-react"; import ReactMarkdown from "react-markdown";
const readmeContent = `
GKroon CodeWeb is a premium AI-powered code generation platform that creates extremely detailed, production-ready code across multiple technology stacks. Built with cutting-edge AI technology powered by Claude Sonnet 4.5 and ChatGPT 4.0, it delivers professional-grade code with extensive comments, unit tests, documentation, and AI-powered refactoring capabilities.
- Advanced Language Models: Utilizes Claude Sonnet 4.5 and ChatGPT 4.0
- Two Technology Stacks: HTML/CSS/JavaScript and React with Tailwind CSS
- Intelligent Output: Produces clean, well-commented, maintainable code
- Comprehensive Comments: Every code block includes explanatory comments
- JSDoc Documentation: Optional automatic generation of JSDoc comments for functions
- Best Practices: Follows industry standards and modern conventions
- Production-Ready: Code is ready for deployment with minimal modifications
- Error Handling: Includes proper error handling where applicable
- Unit Test Generation: Automatically generate Jest tests for React or native JS tests
- AI Code Refactoring: Improve code quality with AI-powered refactoring tools
- Documentation Generation: Add comprehensive JSDoc comments automatically
- Code Optimization: Request performance improvements and readability enhancements
- Instant Generation: Get your code in seconds
- Secure Preview: Review generated code (copy protection enabled)
- Multiple Payment Gateways: Choose from Stripe, PayPal, or PayFast
- Multi-Currency Support: Pay in USD, ZAR, EUR, or GBP
- Secure Download: Protected download system requiring payment
| Stack | Description | Use Case |
|---|---|---|
| HTML, CSS & JavaScript | Complete web development stack | Building traditional websites with structure, styling, and interactivity |
| React & Tailwind CSS | Modern framework & utility-first styling | Creating component-based applications with rapid styling |
Choose between:
- HTML, CSS & JavaScript - Perfect for traditional web pages and static sites
- React & Tailwind CSS - Ideal for modern, component-based applications
Select additional features:
- ✅ Generate Unit Tests - Comprehensive test coverage
- ✅ Add JSDoc Documentation - Detailed function documentation
Provide a detailed description of what you want to build. The more specific you are, the better the results.
Example Prompts:
- "Create a responsive navigation bar with logo, menu items, and a search bar using HTML, CSS & JavaScript"
- "Build a product card component with image, title, price, and add-to-cart button using React & Tailwind CSS"
- "Design a contact form with name, email, message fields and validation"
Click the "Generate Code" button and watch as the AI creates your custom code in real-time with tests and documentation if selected.
Use the AI refactoring tool to:
- Improve code readability
- Optimize performance
- Add additional features
- Follow specific coding styles
- Click "Download Code" button ($30 USD / R516.05 ZAR)
- Enter your details (Name, Surname, Email)
- Select payment gateway (Stripe, PayPal, or PayFast)
- Choose your currency (USD, ZAR, EUR, GBP)
- Complete payment securely
- Your code downloads automatically
Always Test AI-Generated Code
While our AI produces high-quality code, it's essential to:
- ✅ Test all functionality thoroughly
- ✅ Review security implications
- ✅ Verify compatibility with your project
- ✅ Check for edge cases
- ✅ Have a developer review critical code
AI-generated code may not be 100% correct and should always be reviewed before production deployment.
- USD: $30.00
- ZAR: R516.05 (South African Rand)
- EUR: €27.50
- GBP: £23.50
- Stripe 💳 - International credit/debit cards
- PayPal
🅿️ - PayPal account or cards - PayFast 🇿🇦 - South African payment methods
- ✅ Complete generated code
- ✅ Unit tests (if selected)
- ✅ JSDoc documentation (if selected)
- ✅ Instant download after payment
- ✅ Full usage rights
- Secure Payments: Industry-standard payment processing via trusted gateways
- SSL Encryption: All transactions are encrypted
- Copy Protection: Code preview is protected to ensure fair purchase
- Data Protection: Your information is encrypted and protected
- No Storage: Generated code is not permanently stored on our servers
- Privacy First: We respect your privacy and don't share your data
GKroon CodeWeb features a premium dark theme with:
- Navy Blue: Professional primary color
- Lime Green: High-energy accent color
- Dark Grey & Black: Sophisticated backgrounds
- White: Crystal-clear typography
- Smooth Animations: Buttery transitions throughout
The interface is designed for:
- ✨ Premium feel and aesthetic
- 📱 Full mobile responsiveness
- ⚡ Lightning-fast interactions
- 🎯 Intuitive user experience
Frontend Technologies:
- React 18+ (Modern React with Hooks)
- Tailwind CSS (Utility-first styling)
- Framer Motion (Smooth animations)
- Lucide React (Beautiful icons)
- Base44 Platform (Backend infrastructure)
AI Integration:
- Claude Sonnet 4.5
- ChatGPT 4.0
- Intelligent prompt engineering
- Context-aware code generation
Testing Frameworks:
- Jest + React Testing Library (for React)
- Native JavaScript testing patterns (for vanilla JS)
- Component rendering tests
- User interaction simulations
- Props validation
- State management tests
- Event handler testing
- Mock function integration
- Function behavior verification
- Input validation tests
- Edge case handling
- Error scenario testing
- DOM manipulation tests
Request improvements such as:
- Readability: Make code more understandable
- Performance: Optimize for speed and efficiency
- Style: Follow specific coding conventions
- Features: Add new functionality
- Error Handling: Improve robustness
- Documentation: Enhance comments
- Quickly prototype components
- Generate boilerplate code with tests
- Learn new frameworks
- Speed up development workflow
- Understand code structure
- Learn best practices
- Study commented examples with tests
- Accelerate learning curve
- Deliver projects faster
- Generate client demos
- Create code templates
- Boost productivity with documentation
- Rapid prototyping
- Team collaboration
- Standardized code quality
- Comprehensive testing coverage
- Be Specific: Provide detailed requirements
- Enable Tests: Generate unit tests for quality assurance
- Add Documentation: Include JSDoc for maintainability
- Use Refactoring: Optimize your code after generation
- Test Thoroughly: Validate in your development environment
"Create a responsive React component for a testimonial slider using Tailwind CSS. Include: navigation arrows, auto-play functionality, 3 testimonial cards visible at once on desktop (1 on mobile), smooth transitions, and pause on hover. Generate unit tests and JSDoc documentation."
- Start Simple: Begin with smaller components, then scale up
- Use Tests: Enable unit test generation for production code
- Leverage Refactoring: Improve generated code with AI assistance
- Choose Your Gateway: Select the most convenient payment method
- Save Tests Separately: Keep tests in separate files for organization
Built with ❤️ for developers by developers
GKroon CodeWeb - Transform Ideas into Code `;
export default function README() { return (
<Card className="p-8 md:p-12 bg-gradient-to-br from-[#1E3A5F]/20 to-[#0A1929]/30 border-[#1E3A5F]/30 backdrop-blur-xl shadow-2xl">
<ReactMarkdown
className="prose prose-invert prose-lg max-w-none
prose-headings:text-white prose-headings:font-bold
prose-h1:text-4xl prose-h1:mb-6 prose-h1:bg-gradient-to-r prose-h1:from-[#32CD32] prose-h1:to-[#00FF00] prose-h1:bg-clip-text prose-h1:text-transparent
prose-h2:text-3xl prose-h2:mt-12 prose-h2:mb-4 prose-h2:text-[#32CD32] prose-h2:border-b prose-h2:border-[#1E3A5F]/30 prose-h2:pb-3
prose-h3:text-2xl prose-h3:mt-8 prose-h3:mb-3 prose-h3:text-[#00FF00]
prose-p:text-white/80 prose-p:leading-relaxed prose-p:mb-4
prose-strong:text-[#32CD32] prose-strong:font-bold
prose-ul:text-white/80 prose-ul:my-4
prose-li:my-2 prose-li:text-white/80
prose-code:text-[#32CD32] prose-code:bg-[#0A1929]/50 prose-code:px-2 prose-code:py-1 prose-code:rounded
prose-pre:bg-[#0A1929] prose-pre:border prose-pre:border-[#1E3A5F]/30
prose-blockquote:border-l-[#32CD32] prose-blockquote:text-white/70
prose-table:text-white/80 prose-th:text-[#32CD32] prose-th:font-bold
prose-td:border-[#1E3A5F]/30 prose-th:border-[#1E3A5F]/30
prose-a:text-[#32CD32] prose-a:no-underline hover:prose-a:text-[#00FF00]"
>
{readmeContent}
</ReactMarkdown>
</Card>
{/* Quick Action Cards */}
<div className="grid md:grid-cols-3 gap-6 mt-8">
<Card className="p-6 bg-gradient-to-br from-[#1E3A5F]/20 to-[#0A1929]/30 border-[#1E3A5F]/30 backdrop-blur-sm text-center hover:border-[#32CD32]/50 transition-all duration-300">
<Sparkles className="w-12 h-12 text-[#32CD32] mx-auto mb-4" />
<h3 className="text-white font-bold text-lg mb-2">Start Generating</h3>
<p className="text-white/60 text-sm">Create your first AI-powered code</p>
</Card>
<Card className="p-6 bg-gradient-to-br from-[#1E3A5F]/20 to-[#0A1929]/30 border-[#1E3A5F]/30 backdrop-blur-sm text-center hover:border-[#32CD32]/50 transition-all duration-300">
<Code className="w-12 h-12 text-[#00FF00] mx-auto mb-4" />
<h3 className="text-white font-bold text-lg mb-2">View Examples</h3>
<p className="text-white/60 text-sm">Check out sample generations</p>
</Card>
<Card className="p-6 bg-gradient-to-br from-[#1E3A5F]/20 to-[#0A1929]/30 border-[#1E3A5F]/30 backdrop-blur-sm text-center hover:border-[#32CD32]/50 transition-all duration-300">
<Shield className="w-12 h-12 text-[#DC2626] mx-auto mb-4" />
<h3 className="text-white font-bold text-lg mb-2">Best Practices</h3>
<p className="text-white/60 text-sm">Learn to use the platform effectively</p>
</Card>
</div>
</div>
</div>
); }