|
| 1 | +--- |
| 2 | +import { GRADIENT_ORB_DELAYS } from '../../data/landingContent'; |
| 3 | +import { getTotalLibraryCount } from '../../utils/landingData'; |
| 4 | +
|
| 5 | +// Features - Rules Builder |
| 6 | +const RULES_BUILDER_FEATURES = [ |
| 7 | + { |
| 8 | + icon: '🎨', |
| 9 | + title: 'Visual Rule Builder', |
| 10 | + description: 'Intuitive drag-and-drop interface for creating AI rules without writing code', |
| 11 | + }, |
| 12 | + { |
| 13 | + icon: '📚', |
| 14 | + title: `${getTotalLibraryCount()}+ Frameworks & Libraries`, |
| 15 | + description: |
| 16 | + 'Comprehensive coverage across 6 technology layers: frontend, backend, database, DevOps, testing, and coding practices', |
| 17 | + }, |
| 18 | + { |
| 19 | + icon: '📦', |
| 20 | + title: 'Smart Import', |
| 21 | + description: |
| 22 | + 'Automatically detect your tech stack by dropping package.json or requirements.txt files', |
| 23 | + }, |
| 24 | + { |
| 25 | + icon: '💾', |
| 26 | + title: 'Flexible Export', |
| 27 | + description: 'Export as single-file or multi-file markdown optimized for different AI editors', |
| 28 | + }, |
| 29 | + { |
| 30 | + icon: '🗂️', |
| 31 | + title: 'Personal Collections', |
| 32 | + description: 'Save and manage reusable rule sets for different projects and contexts', |
| 33 | + }, |
| 34 | +]; |
| 35 | +
|
| 36 | +// Features - Prompt Library |
| 37 | +const PROMPT_LIBRARY_FEATURES = [ |
| 38 | + { |
| 39 | + icon: '🏢', |
| 40 | + title: 'Organization Management', |
| 41 | + description: |
| 42 | + 'Multi-organization support with role-based access control (RBAC) for admins and members', |
| 43 | + }, |
| 44 | + { |
| 45 | + icon: '✍️', |
| 46 | + title: 'Content Curation', |
| 47 | + description: 'Draft/publish workflow ensures quality and consistency across team prompts', |
| 48 | + }, |
| 49 | + { |
| 50 | + icon: '👥', |
| 51 | + title: 'Member Experience', |
| 52 | + description: "Browse, filter, and copy prompts from your organization's centralized library", |
| 53 | + }, |
| 54 | + { |
| 55 | + icon: '🤝', |
| 56 | + title: 'Collaboration Tools', |
| 57 | + description: 'Centralized repository for team knowledge sharing and prompt standardization', |
| 58 | + }, |
| 59 | +]; |
| 60 | +
|
| 61 | +// Features - Universal |
| 62 | +const UNIVERSAL_FEATURES = [ |
| 63 | + { |
| 64 | + icon: '🔌', |
| 65 | + title: 'MCP Server Integration', |
| 66 | + description: |
| 67 | + 'Programmatic access to both Rules Builder and Prompt Library via Model Context Protocol for AI assistants', |
| 68 | + }, |
| 69 | +]; |
| 70 | +--- |
| 71 | + |
| 72 | +<section id="features" class="relative py-20 px-4"> |
| 73 | + <!-- Gradient mesh background --> |
| 74 | + <div class="absolute inset-0 gradient-mesh pointer-events-none"></div> |
| 75 | + |
| 76 | + <!-- Dots pattern background --> |
| 77 | + <div class="absolute inset-0 bg-dots-pattern opacity-10 pointer-events-none"></div> |
| 78 | + |
| 79 | + <!-- Subtle gradient orbs --> |
| 80 | + <div class="absolute inset-0 overflow-hidden pointer-events-none"> |
| 81 | + <div |
| 82 | + class="gradient-orb gradient-orb-blue w-64 h-64 top-1/4 -left-32" |
| 83 | + style={`animation-delay: ${GRADIENT_ORB_DELAYS.FEATURES_BLUE};`} |
| 84 | + > |
| 85 | + </div> |
| 86 | + <div |
| 87 | + class="gradient-orb gradient-orb-teal w-64 h-64 bottom-1/4 -right-32" |
| 88 | + style={`animation-delay: ${GRADIENT_ORB_DELAYS.FEATURES_TEAL};`} |
| 89 | + > |
| 90 | + </div> |
| 91 | + </div> |
| 92 | + |
| 93 | + <div class="max-w-7xl mx-auto relative z-10"> |
| 94 | + <h2 class="text-4xl md:text-5xl font-bold text-white text-center mb-4"> |
| 95 | + Powerful Features for Everyone |
| 96 | + </h2> |
| 97 | + <p class="text-xl text-gray-400 text-center mb-16 max-w-3xl mx-auto"> |
| 98 | + Build personal AI rules and manage team prompts in one platform |
| 99 | + </p> |
| 100 | + |
| 101 | + <!-- Two Column Comparison --> |
| 102 | + <div class="grid grid-cols-1 lg:grid-cols-2 gap-8 mb-16"> |
| 103 | + <!-- Rules Builder Column --> |
| 104 | + <div |
| 105 | + class="features-column-left bg-gray-950 border-2 border-gray-800 rounded-xl p-8 hover:border-blue-500/50 transition-all duration-300" |
| 106 | + > |
| 107 | + <!-- Column Header --> |
| 108 | + <div class="text-center mb-8"> |
| 109 | + <div class="text-5xl mb-4">🧑💻</div> |
| 110 | + <h3 class="text-2xl font-bold text-white mb-2">Rules Builder</h3> |
| 111 | + <p class="text-gray-400">For individual developers</p> |
| 112 | + </div> |
| 113 | + |
| 114 | + <!-- Features List --> |
| 115 | + <div class="space-y-6"> |
| 116 | + { |
| 117 | + RULES_BUILDER_FEATURES.map((feature) => ( |
| 118 | + <div class="feature-item flex items-start gap-4"> |
| 119 | + <div class="feature-icon text-3xl flex-shrink-0">{feature.icon}</div> |
| 120 | + <div> |
| 121 | + <h4 class="text-lg font-semibold text-white mb-1">{feature.title}</h4> |
| 122 | + <p class="text-gray-400 text-sm leading-relaxed">{feature.description}</p> |
| 123 | + </div> |
| 124 | + </div> |
| 125 | + )) |
| 126 | + } |
| 127 | + </div> |
| 128 | + </div> |
| 129 | + |
| 130 | + <!-- Prompt Library Column --> |
| 131 | + <div |
| 132 | + class="features-column-right bg-gray-950 border-2 border-gray-800 rounded-xl p-8 hover:border-teal-500/50 transition-all duration-300" |
| 133 | + > |
| 134 | + <!-- Column Header --> |
| 135 | + <div class="text-center mb-8"> |
| 136 | + <div class="text-5xl mb-4">👥</div> |
| 137 | + <h3 class="text-2xl font-bold text-white mb-2">Prompt Library</h3> |
| 138 | + <p class="text-gray-400">For development teams</p> |
| 139 | + </div> |
| 140 | + |
| 141 | + <!-- Features List --> |
| 142 | + <div class="space-y-6"> |
| 143 | + { |
| 144 | + PROMPT_LIBRARY_FEATURES.map((feature) => ( |
| 145 | + <div class="feature-item flex items-start gap-4"> |
| 146 | + <div class="feature-icon text-3xl flex-shrink-0">{feature.icon}</div> |
| 147 | + <div> |
| 148 | + <h4 class="text-lg font-semibold text-white mb-1">{feature.title}</h4> |
| 149 | + <p class="text-gray-400 text-sm leading-relaxed">{feature.description}</p> |
| 150 | + </div> |
| 151 | + </div> |
| 152 | + )) |
| 153 | + } |
| 154 | + </div> |
| 155 | + </div> |
| 156 | + </div> |
| 157 | + |
| 158 | + <!-- Universal Feature Banner --> |
| 159 | + { |
| 160 | + UNIVERSAL_FEATURES.map((feature) => ( |
| 161 | + <div class="bg-gradient-to-r from-blue-900/30 via-gray-900/50 to-teal-900/30 border border-gray-800 rounded-xl p-8 max-w-2xl mx-auto"> |
| 162 | + <div class="flex flex-col md:flex-row items-center gap-6 max-w-4xl mx-auto"> |
| 163 | + <div class="text-5xl flex-shrink-0">{feature.icon}</div> |
| 164 | + <div class="text-center md:text-left"> |
| 165 | + <h4 class="text-2xl font-bold text-white mb-2">{feature.title}</h4> |
| 166 | + <p class="text-gray-300 leading-relaxed">{feature.description}</p> |
| 167 | + </div> |
| 168 | + </div> |
| 169 | + </div> |
| 170 | + )) |
| 171 | + } |
| 172 | + </div> |
| 173 | +</section> |
0 commit comments