Spaces:
Running
The "Sheikh" Project: Full Implementation Plan - Gemini-Powered Zero-Code Full-Stack Builder
Browse filesThis document outlines a comprehensive plan for building the "Sheikh" project β a zero-code full-stack application builder driven by the lrompt.md specification and powered by the Gemini API and Firebase. This is a substantial undertaking, broken down into phases with estimated timelines and resource requirements.
I. Project Overview
Goal: To create a platform where users can define a full-stack application by filling out a structured lrompt.md file, and the system automatically generates and deploys the application.
Target Users: Non-technical users, entrepreneurs, small business owners, and anyone who wants to build a web application without coding.
Technology Stack:
Frontend: React (with TypeScript)
Backend: Firebase Functions (Node.js with TypeScript)
Database: Firestore
API: Gemini API (via Google AI Studio)
Markdown Parsing: markdown library (Python) β used within the backend.
Schema Validation: JSON Schema
Deployment: Firebase Hosting & Firebase Functions
Version Control: Git (GitHub)
II. Phase 1: Core Infrastructure & lrompt.md Parsing (8 Weeks)
Goal: Establish the foundational infrastructure and build the core engine for parsing and validating the lrompt.md file.
Tasks:
Project Setup (1 Week): Initialize Git repository, set up Firebase project, configure Firebase Hosting and Functions.
lrompt.md Schema Definition (2 Weeks): Develop a comprehensive JSON Schema to define the structure of the lrompt.md file. This is critical for validation and parsing. (See Appendix A for a detailed schema example).
Backend Development β lrompt.md Parser (3 Weeks): Develop the Python script (hosted as a Firebase Function) to:
Receive the lrompt.md file.
Parse the Markdown content.
Validate the parsed data against the JSON Schema.
Return validation errors to the frontend.
Frontend Development β lrompt.md Editor (2 Weeks): Create a basic React component with a text editor (e.g., Monaco Editor) for editing the lrompt.md file. Implement basic validation feedback.
Deliverables:
Functional lrompt.md parser and validator.
Basic frontend editor with validation feedback.
JSON Schema definition.
Resources: 1-2 Full-Stack Developers
III. Phase 2: Gemini API Integration & Code Generation (12 Weeks)
Goal: Integrate the Gemini API to generate code based on the parsed lrompt.md data.
Tasks:
Gemini API Key Setup (1 Week): Obtain and securely store the Gemini API key.
Code Generation Logic (6 Weeks): Develop the logic within the backend to:
Translate the parsed lrompt.md data into prompts for the Gemini API. This is the most challenging part β crafting effective prompts to generate the desired code.
Call the Gemini API to generate code for:
Firestore schema definitions.
Firebase Functions (backend logic).
React components (frontend UI).
Handle API errors and rate limits.
Frontend Integration β Code Preview (3 Weeks): Display the generated code in the frontend for review.
Basic Workflow Implementation (2 Weeks): Implement the core workflow: Parse lrompt.md -> Generate Code -> Display Code.
Deliverables:
Functional Gemini API integration.
Code generation for Firestore schema, Firebase Functions, and React components.
Code preview in the frontend.
Resources: 2-3 Full-Stack Developers, 1 Prompt Engineer
IV. Phase 3: Full-Stack Application Deployment & User Interface (8 Weeks)
Goal: Automate the deployment of the generated application and enhance the user interface.
Tasks:
Automated Deployment (4 Weeks): Develop the logic to:
Deploy the generated Firestore schema.
Deploy the generated Firebase Functions.
Deploy the generated React application to Firebase Hosting.
Configure Firebase Authentication.
UI/UX Enhancement (4 Weeks):
Improve the lrompt.md editor with features like auto-completion and syntax highlighting.
Add a progress indicator during application creation.
Implement a preview mode to test the deployed application.
Deliverables:
Fully automated application deployment.
Enhanced user interface with improved usability.
Resources: 2 Full-Stack Developers, 1 UI/UX Designer
V. Phase 4: Testing, Refinement & Expansion (Ongoing)
Goal: Ensure the stability and scalability of the platform and add new features.
Tasks:
Thorough Testing: Conduct comprehensive testing to identify and fix bugs.
Performance Optimization: Optimize the performance of the application.
Feature Expansion: Add support for more complex features, such as:
Integration with other APIs.
Customizable themes.
Advanced workflow logic.
Resources: Ongoing maintenance and development team.
Appendix A: Example lrompt.md Schema (JSON Schema)
code
JSON
download
content_copy
expand_less
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Application Specification",
"description": "Defines the structure of the lrompt.md file.",
"type": "object",
"properties": {
"projectName": {
"type": "string",
"description": "The name of the application."
},
"corePurpose": {
"type": "string",
"description": "A brief description of the application's purpose."
},
"models": {
"type": "array",
"items": {
"type": "object",
"properties": {
"modelName": { "type": "string" },
"fields": {
"type": "array",
"items": {
"type": "object",
"properties": {
"fieldName": { "type": "string" },
"fieldType": { "type": "string", "enum": ["Text", "Email", "Number", "Boolean", "Date"] },
"required": { "type": "boolean" },
"unique": { "type": "boolean" }
}
}
}
}
}
},
// ... (More properties for authentication, UI, workflows, etc.)
},
"required": ["projectName", "corePurpose", "models"]
}
Resource Allocation Summary:
Total Estimated Time: 36 Weeks + Ongoing Maintenance
Team:
Full-Stack Developers (3-4)
UI/UX Designer (1)
Prompt Engineer (1)
Success Metrics:
Number of applications created using the platform.
User satisfaction (measured through surveys and feedback).
Platform stability and scalability.
This detailed plan provides a roadmap for building the "Sheikh" project. It's a challenging undertaking, but the potential to democratize application development is immense. Let's begin. - Initial Deployment
- README.md +5 -3
- index.html +533 -18
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: purple
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: sheikh-ai
|
| 3 |
+
emoji: π³
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: purple
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
@@ -1,19 +1,534 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Sheikh - Zero-Code Full-Stack Builder</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
|
| 9 |
+
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
|
| 10 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 11 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 12 |
+
<script src="https://cdn.jsdelivr.net/npm/animejs/lib/anime.iife.min.js"></script>
|
| 13 |
+
<style>
|
| 14 |
+
.gradient-text {
|
| 15 |
+
background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
|
| 16 |
+
-webkit-background-clip: text;
|
| 17 |
+
background-clip: text;
|
| 18 |
+
color: transparent;
|
| 19 |
+
}
|
| 20 |
+
.hero-gradient {
|
| 21 |
+
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
|
| 22 |
+
}
|
| 23 |
+
.feature-card:hover {
|
| 24 |
+
transform: translateY(-5px);
|
| 25 |
+
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
| 26 |
+
}
|
| 27 |
+
.smooth-scroll {
|
| 28 |
+
scroll-behavior: smooth;
|
| 29 |
+
}
|
| 30 |
+
</style>
|
| 31 |
+
</head>
|
| 32 |
+
<body class="smooth-scroll font-sans antialiased text-gray-800">
|
| 33 |
+
<!-- Navigation -->
|
| 34 |
+
<nav class="fixed w-full bg-white shadow-sm z-50">
|
| 35 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 36 |
+
<div class="flex justify-between h-16">
|
| 37 |
+
<div class="flex items-center">
|
| 38 |
+
<div class="flex-shrink-0 flex items-center">
|
| 39 |
+
<i data-feather="code" class="h-8 w-8 text-indigo-600"></i>
|
| 40 |
+
<span class="ml-2 text-xl font-bold text-gray-900">Sheikh</span>
|
| 41 |
+
</div>
|
| 42 |
+
</div>
|
| 43 |
+
<div class="hidden md:ml-6 md:flex md:items-center md:space-x-8">
|
| 44 |
+
<a href="#features" class="text-gray-500 hover:text-gray-900 px-3 py-2 text-sm font-medium">Features</a>
|
| 45 |
+
<a href="#how-it-works" class="text-gray-500 hover:text-gray-900 px-3 py-2 text-sm font-medium">How It Works</a>
|
| 46 |
+
<a href="#pricing" class="text-gray-500 hover:text-gray-900 px-3 py-2 text-sm font-medium">Pricing</a>
|
| 47 |
+
<a href="#contact" class="text-gray-500 hover:text-gray-900 px-3 py-2 text-sm font-medium">Contact</a>
|
| 48 |
+
</div>
|
| 49 |
+
<div class="flex items-center">
|
| 50 |
+
<a href="#get-started" class="ml-4 inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
|
| 51 |
+
Get Started
|
| 52 |
+
</a>
|
| 53 |
+
</div>
|
| 54 |
+
<div class="md:hidden flex items-center">
|
| 55 |
+
<button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500" aria-controls="mobile-menu" aria-expanded="false">
|
| 56 |
+
<i data-feather="menu" class="h-6 w-6"></i>
|
| 57 |
+
</button>
|
| 58 |
+
</div>
|
| 59 |
+
</div>
|
| 60 |
+
</div>
|
| 61 |
+
</nav>
|
| 62 |
+
|
| 63 |
+
<!-- Hero Section -->
|
| 64 |
+
<section class="hero-gradient pt-32 pb-20 px-4 sm:px-6 lg:px-8">
|
| 65 |
+
<div class="max-w-7xl mx-auto">
|
| 66 |
+
<div class="lg:grid lg:grid-cols-12 lg:gap-8">
|
| 67 |
+
<div class="px-4 sm:px-6 sm:text-center md:max-w-2xl md:mx-auto lg:col-span-6 lg:text-left lg:flex lg:items-center" data-aos="fade-right">
|
| 68 |
+
<div>
|
| 69 |
+
<h1 class="mt-4 text-4xl tracking-tight font-extrabold text-gray-900 sm:mt-5 sm:leading-none lg:mt-6 lg:text-5xl xl:text-6xl">
|
| 70 |
+
<span class="gradient-text">Build Full-Stack Apps</span><br>
|
| 71 |
+
Without Writing Code
|
| 72 |
+
</h1>
|
| 73 |
+
<p class="mt-3 text-base text-gray-500 sm:mt-5 sm:text-lg sm:max-w-xl sm:mx-auto md:mt-5 md:text-xl lg:mx-0">
|
| 74 |
+
Sheikh transforms your ideas into production-ready applications using just a simple markdown file. Powered by Gemini AI and Firebase.
|
| 75 |
+
</p>
|
| 76 |
+
<div class="mt-10 sm:flex sm:justify-center lg:justify-start">
|
| 77 |
+
<div class="rounded-md shadow">
|
| 78 |
+
<a href="#get-started" class="w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700 md:py-4 md:text-lg md:px-10">
|
| 79 |
+
Start Building
|
| 80 |
+
</a>
|
| 81 |
+
</div>
|
| 82 |
+
<div class="mt-3 rounded-md shadow sm:mt-0 sm:ml-3">
|
| 83 |
+
<a href="#how-it-works" class="w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-indigo-600 bg-white hover:bg-gray-50 md:py-4 md:text-lg md:px-10">
|
| 84 |
+
Learn More
|
| 85 |
+
</a>
|
| 86 |
+
</div>
|
| 87 |
+
</div>
|
| 88 |
+
</div>
|
| 89 |
+
</div>
|
| 90 |
+
<div class="mt-12 relative sm:max-w-lg sm:mx-auto lg:mt-0 lg:max-w-none lg:mx-0 lg:col-span-6 lg:flex lg:items-center" data-aos="fade-left">
|
| 91 |
+
<div class="relative mx-auto w-full rounded-lg shadow-lg lg:max-w-md">
|
| 92 |
+
<div class="relative block w-full bg-white rounded-lg overflow-hidden">
|
| 93 |
+
<div class="h-0 pb-2/3"></div>
|
| 94 |
+
<div class="absolute inset-0 flex items-center justify-center p-8">
|
| 95 |
+
<div class="w-full bg-gray-100 rounded-lg p-6">
|
| 96 |
+
<div class="flex items-center mb-4">
|
| 97 |
+
<div class="h-3 w-3 rounded-full bg-red-500 mr-2"></div>
|
| 98 |
+
<div class="h-3 w-3 rounded-full bg-yellow-500 mr-2"></div>
|
| 99 |
+
<div class="h-3 w-3 rounded-full bg-green-500"></div>
|
| 100 |
+
</div>
|
| 101 |
+
<pre class="text-xs text-gray-800 font-mono overflow-x-auto"><code># Sheikh Application Specification
|
| 102 |
+
|
| 103 |
+
projectName: "E-Commerce Store"
|
| 104 |
+
corePurpose: "An online store for selling handmade crafts"
|
| 105 |
+
|
| 106 |
+
models:
|
| 107 |
+
- modelName: "Product"
|
| 108 |
+
fields:
|
| 109 |
+
- fieldName: "name"
|
| 110 |
+
fieldType: "Text"
|
| 111 |
+
required: true
|
| 112 |
+
- fieldName: "price"
|
| 113 |
+
fieldType: "Number"
|
| 114 |
+
required: true
|
| 115 |
+
- fieldName: "description"
|
| 116 |
+
fieldType: "Text"
|
| 117 |
+
- fieldName: "image"
|
| 118 |
+
fieldType: "Text"
|
| 119 |
+
|
| 120 |
+
# ... more configuration</code></pre>
|
| 121 |
+
</div>
|
| 122 |
+
</div>
|
| 123 |
+
</div>
|
| 124 |
+
</div>
|
| 125 |
+
</div>
|
| 126 |
+
</div>
|
| 127 |
+
</div>
|
| 128 |
+
</section>
|
| 129 |
+
|
| 130 |
+
<!-- Features Section -->
|
| 131 |
+
<section id="features" class="py-20 bg-white">
|
| 132 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 133 |
+
<div class="lg:text-center" data-aos="fade-up">
|
| 134 |
+
<h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase">Features</h2>
|
| 135 |
+
<p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">
|
| 136 |
+
Everything you need to build your app
|
| 137 |
+
</p>
|
| 138 |
+
<p class="mt-4 max-w-2xl text-xl text-gray-500 lg:mx-auto">
|
| 139 |
+
Sheikh handles the complex parts so you can focus on your idea.
|
| 140 |
+
</p>
|
| 141 |
+
</div>
|
| 142 |
+
|
| 143 |
+
<div class="mt-20">
|
| 144 |
+
<div class="grid grid-cols-1 gap-12 md:grid-cols-2 lg:grid-cols-3">
|
| 145 |
+
<div class="feature-card transition-all duration-300 ease-in-out rounded-lg bg-white p-8 shadow-md" data-aos="fade-up" data-aos-delay="100">
|
| 146 |
+
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
|
| 147 |
+
<i data-feather="file-text"></i>
|
| 148 |
+
</div>
|
| 149 |
+
<div class="mt-5">
|
| 150 |
+
<h3 class="text-lg font-medium text-gray-900">Simple Markdown Specification</h3>
|
| 151 |
+
<p class="mt-2 text-base text-gray-500">
|
| 152 |
+
Define your entire application using our intuitive lrompt.md format. No complex configuration needed.
|
| 153 |
+
</p>
|
| 154 |
+
</div>
|
| 155 |
+
</div>
|
| 156 |
+
|
| 157 |
+
<div class="feature-card transition-all duration-300 ease-in-out rounded-lg bg-white p-8 shadow-md" data-aos="fade-up" data-aos-delay="200">
|
| 158 |
+
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-purple-500 text-white">
|
| 159 |
+
<i data-feather="cpu"></i>
|
| 160 |
+
</div>
|
| 161 |
+
<div class="mt-5">
|
| 162 |
+
<h3 class="text-lg font-medium text-gray-900">AI-Powered Code Generation</h3>
|
| 163 |
+
<p class="mt-2 text-base text-gray-500">
|
| 164 |
+
Our Gemini AI engine translates your specification into production-ready React and Firebase code.
|
| 165 |
+
</p>
|
| 166 |
+
</div>
|
| 167 |
+
</div>
|
| 168 |
+
|
| 169 |
+
<div class="feature-card transition-all duration-300 ease-in-out rounded-lg bg-white p-8 shadow-md" data-aos="fade-up" data-aos-delay="300">
|
| 170 |
+
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-pink-500 text-white">
|
| 171 |
+
<i data-feather="cloud"></i>
|
| 172 |
+
</div>
|
| 173 |
+
<div class="mt-5">
|
| 174 |
+
<h3 class="text-lg font-medium text-gray-900">Automatic Deployment</h3>
|
| 175 |
+
<p class="mt-2 text-base text-gray-500">
|
| 176 |
+
One-click deployment to Firebase Hosting with automatic database and function setup.
|
| 177 |
+
</p>
|
| 178 |
+
</div>
|
| 179 |
+
</div>
|
| 180 |
+
|
| 181 |
+
<div class="feature-card transition-all duration-300 ease-in-out rounded-lg bg-white p-8 shadow-md" data-aos="fade-up" data-aos-delay="100">
|
| 182 |
+
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-blue-500 text-white">
|
| 183 |
+
<i data-feather="database"></i>
|
| 184 |
+
</div>
|
| 185 |
+
<div class="mt-5">
|
| 186 |
+
<h3 class="text-lg font-medium text-gray-900">Database Schema</h3>
|
| 187 |
+
<p class="mt-2 text-base text-gray-500">
|
| 188 |
+
Automatic Firestore schema generation with proper indexing and security rules.
|
| 189 |
+
</p>
|
| 190 |
+
</div>
|
| 191 |
+
</div>
|
| 192 |
+
|
| 193 |
+
<div class="feature-card transition-all duration-300 ease-in-out rounded-lg bg-white p-8 shadow-md" data-aos="fade-up" data-aos-delay="200">
|
| 194 |
+
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-green-500 text-white">
|
| 195 |
+
<i data-feather="users"></i>
|
| 196 |
+
</div>
|
| 197 |
+
<div class="mt-5">
|
| 198 |
+
<h3 class="text-lg font-medium text-gray-900">Authentication</h3>
|
| 199 |
+
<p class="mt-2 text-base text-gray-500">
|
| 200 |
+
Built-in Firebase Authentication with email/password, Google, and Facebook login.
|
| 201 |
+
</p>
|
| 202 |
+
</div>
|
| 203 |
+
</div>
|
| 204 |
+
|
| 205 |
+
<div class="feature-card transition-all duration-300 ease-in-out rounded-lg bg-white p-8 shadow-md" data-aos="fade-up" data-aos-delay="300">
|
| 206 |
+
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-yellow-500 text-white">
|
| 207 |
+
<i data-feather="refresh-cw"></i>
|
| 208 |
+
</div>
|
| 209 |
+
<div class="mt-5">
|
| 210 |
+
<h3 class="text-lg font-medium text-gray-900">Continuous Updates</h3>
|
| 211 |
+
<p class="mt-2 text-base text-gray-500">
|
| 212 |
+
Edit your lrompt.md file and redeploy - we'll handle all the code changes automatically.
|
| 213 |
+
</p>
|
| 214 |
+
</div>
|
| 215 |
+
</div>
|
| 216 |
+
</div>
|
| 217 |
+
</div>
|
| 218 |
+
</div>
|
| 219 |
+
</section>
|
| 220 |
+
|
| 221 |
+
<!-- How It Works Section -->
|
| 222 |
+
<section id="how-it-works" class="py-20 bg-gray-50">
|
| 223 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 224 |
+
<div class="lg:text-center" data-aos="fade-up">
|
| 225 |
+
<h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase">Process</h2>
|
| 226 |
+
<p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">
|
| 227 |
+
How Sheikh Works
|
| 228 |
+
</p>
|
| 229 |
+
<p class="mt-4 max-w-2xl text-xl text-gray-500 lg:mx-auto">
|
| 230 |
+
From idea to production in four simple steps
|
| 231 |
+
</p>
|
| 232 |
+
</div>
|
| 233 |
+
|
| 234 |
+
<div class="mt-20">
|
| 235 |
+
<div class="relative">
|
| 236 |
+
<div class="hidden lg:block absolute top-0 left-1/2 transform -translate-x-1/2 h-full w-0.5 bg-gray-200"></div>
|
| 237 |
+
|
| 238 |
+
<div class="relative mb-12 lg:mb-0">
|
| 239 |
+
<div class="lg:flex items-center">
|
| 240 |
+
<div class="lg:w-1/2 lg:pr-8" data-aos="fade-right">
|
| 241 |
+
<div class="bg-white p-8 rounded-lg shadow-md">
|
| 242 |
+
<div class="flex items-center">
|
| 243 |
+
<div class="flex items-center justify-center h-10 w-10 rounded-full bg-indigo-500 text-white font-bold">1</div>
|
| 244 |
+
<h3 class="ml-4 text-lg font-medium text-gray-900">Define Your App</h3>
|
| 245 |
+
</div>
|
| 246 |
+
<p class="mt-4 text-gray-600">
|
| 247 |
+
Write your application specification in our simple lrompt.md format. Describe your data models, user flows, and UI requirements.
|
| 248 |
+
</p>
|
| 249 |
+
</div>
|
| 250 |
+
</div>
|
| 251 |
+
<div class="lg:w-1/2 lg:pl-8 mt-8 lg:mt-0" data-aos="fade-left">
|
| 252 |
+
<div class="bg-gray-100 p-6 rounded-lg">
|
| 253 |
+
<pre class="text-xs text-gray-800 font-mono"><code># Sheikh Application Specification
|
| 254 |
+
|
| 255 |
+
projectName: "Task Manager"
|
| 256 |
+
corePurpose: "A simple task management app"
|
| 257 |
+
|
| 258 |
+
models:
|
| 259 |
+
- modelName: "Task"
|
| 260 |
+
fields:
|
| 261 |
+
- fieldName: "title"
|
| 262 |
+
fieldType: "Text"
|
| 263 |
+
required: true
|
| 264 |
+
- fieldName: "completed"
|
| 265 |
+
fieldType: "Boolean"
|
| 266 |
+
default: false</code></pre>
|
| 267 |
+
</div>
|
| 268 |
+
</div>
|
| 269 |
+
</div>
|
| 270 |
+
</div>
|
| 271 |
+
|
| 272 |
+
<div class="relative mb-12 lg:mb-0">
|
| 273 |
+
<div class="lg:flex items-center">
|
| 274 |
+
<div class="lg:w-1/2 lg:pr-8 order-last" data-aos="fade-left">
|
| 275 |
+
<div class="bg-white p-8 rounded-lg shadow-md">
|
| 276 |
+
<div class="flex items-center">
|
| 277 |
+
<div class="flex items-center justify-center h-10 w-10 rounded-full bg-purple-500 text-white font-bold">2</div>
|
| 278 |
+
<h3 class="ml-4 text-lg font-medium text-gray-900">AI Code Generation</h3>
|
| 279 |
+
</div>
|
| 280 |
+
<p class="mt-4 text-gray-600">
|
| 281 |
+
Our system uses Gemini AI to analyze your specification and generate all the necessary code - frontend, backend, and database.
|
| 282 |
+
</p>
|
| 283 |
+
</div>
|
| 284 |
+
</div>
|
| 285 |
+
<div class="lg:w-1/2 lg:pl-8 mt-8 lg:mt-0 order-first" data-aos="fade-right">
|
| 286 |
+
<div class="bg-gray-100 p-6 rounded-lg">
|
| 287 |
+
<img src="https://via.placeholder.com/600x400?text=AI+Code+Generation" alt="AI Code Generation" class="rounded-lg">
|
| 288 |
+
</div>
|
| 289 |
+
</div>
|
| 290 |
+
</div>
|
| 291 |
+
</div>
|
| 292 |
+
|
| 293 |
+
<div class="relative mb-12 lg:mb-0">
|
| 294 |
+
<div class="lg:flex items-center">
|
| 295 |
+
<div class="lg:w-1/2 lg:pr-8" data-aos="fade-right">
|
| 296 |
+
<div class="bg-white p-8 rounded-lg shadow-md">
|
| 297 |
+
<div class="flex items-center">
|
| 298 |
+
<div class="flex items-center justify-center h-10 w-10 rounded-full bg-pink-500 text-white font-bold">3</div>
|
| 299 |
+
<h3 class="ml-4 text-lg font-medium text-gray-900">Review & Customize</h3>
|
| 300 |
+
</div>
|
| 301 |
+
<p class="mt-4 text-gray-600">
|
| 302 |
+
Preview the generated application and make any adjustments to the specification. The system will regenerate the code as needed.
|
| 303 |
+
</p>
|
| 304 |
+
</div>
|
| 305 |
+
</div>
|
| 306 |
+
<div class="lg:w-1/2 lg:pl-8 mt-8 lg:mt-0" data-aos="fade-left">
|
| 307 |
+
<div class="bg-gray-100 p-6 rounded-lg">
|
| 308 |
+
<img src="https://via.placeholder.com/600x400?text=App+Preview" alt="App Preview" class="rounded-lg">
|
| 309 |
+
</div>
|
| 310 |
+
</div>
|
| 311 |
+
</div>
|
| 312 |
+
</div>
|
| 313 |
+
|
| 314 |
+
<div class="relative">
|
| 315 |
+
<div class="lg:flex items-center">
|
| 316 |
+
<div class="lg:w-1/2 lg:pr-8 order-last" data-aos="fade-left">
|
| 317 |
+
<div class="bg-white p-8 rounded-lg shadow-md">
|
| 318 |
+
<div class="flex items-center">
|
| 319 |
+
<div class="flex items-center justify-center h-10 w-10 rounded-full bg-green-500 text-white font-bold">4</div>
|
| 320 |
+
<h3 class="ml-4 text-lg font-medium text-gray-900">Deploy & Share</h3>
|
| 321 |
+
</div>
|
| 322 |
+
<p class="mt-4 text-gray-600">
|
| 323 |
+
With one click, deploy your application to Firebase Hosting with automatic database setup. Share your live app with users immediately.
|
| 324 |
+
</p>
|
| 325 |
+
</div>
|
| 326 |
+
</div>
|
| 327 |
+
<div class="lg:w-1/2 lg:pl-8 mt-8 lg:mt-0 order-first" data-aos="fade-right">
|
| 328 |
+
<div class="bg-gray-100 p-6 rounded-lg">
|
| 329 |
+
<img src="https://via.placeholder.com/600x400?text=Deployment+Dashboard" alt="Deployment Dashboard" class="rounded-lg">
|
| 330 |
+
</div>
|
| 331 |
+
</div>
|
| 332 |
+
</div>
|
| 333 |
+
</div>
|
| 334 |
+
</div>
|
| 335 |
+
</div>
|
| 336 |
+
</div>
|
| 337 |
+
</section>
|
| 338 |
+
|
| 339 |
+
<!-- Get Started Section -->
|
| 340 |
+
<section id="get-started" class="py-20 bg-indigo-700 text-white">
|
| 341 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 342 |
+
<div class="lg:text-center" data-aos="fade-up">
|
| 343 |
+
<h2 class="text-base text-indigo-200 font-semibold tracking-wide uppercase">Ready to Build?</h2>
|
| 344 |
+
<p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight sm:text-4xl">
|
| 345 |
+
Start creating your app today
|
| 346 |
+
</p>
|
| 347 |
+
<p class="mt-4 max-w-2xl text-xl text-indigo-100 lg:mx-auto">
|
| 348 |
+
Join our beta program and be among the first to experience zero-code full-stack development.
|
| 349 |
+
</p>
|
| 350 |
+
</div>
|
| 351 |
+
|
| 352 |
+
<div class="mt-12 max-w-lg mx-auto lg:mt-20">
|
| 353 |
+
<div class="bg-white rounded-lg shadow-xl overflow-hidden" data-aos="zoom-in">
|
| 354 |
+
<div class="px-6 py-8 sm:p-10 sm:pb-6">
|
| 355 |
+
<div class="flex items-center">
|
| 356 |
+
<i data-feather="zap" class="h-8 w-8 text-indigo-600"></i>
|
| 357 |
+
<h3 class="ml-3 text-2xl font-extrabold text-gray-900 sm:text-3xl">
|
| 358 |
+
Beta Access
|
| 359 |
+
</h3>
|
| 360 |
+
</div>
|
| 361 |
+
<p class="mt-6 text-base text-gray-500">
|
| 362 |
+
Get early access to Sheikh with all features included. Limited spots available.
|
| 363 |
+
</p>
|
| 364 |
+
<div class="mt-8">
|
| 365 |
+
<div class="flex items-center">
|
| 366 |
+
<h4 class="flex-shrink-0 pr-4 text-sm font-semibold text-indigo-600 uppercase tracking-wider">
|
| 367 |
+
What's included
|
| 368 |
+
</h4>
|
| 369 |
+
<div class="flex-1 border-t-2 border-gray-200"></div>
|
| 370 |
+
</div>
|
| 371 |
+
<ul class="mt-8 space-y-5">
|
| 372 |
+
<li class="flex items-start">
|
| 373 |
+
<div class="flex-shrink-0">
|
| 374 |
+
<i data-feather="check" class="h-5 w-5 text-green-500"></i>
|
| 375 |
+
</div>
|
| 376 |
+
<p class="ml-3 text-sm text-gray-700">
|
| 377 |
+
Unlimited application generations
|
| 378 |
+
</p>
|
| 379 |
+
</li>
|
| 380 |
+
<li class="flex items-start">
|
| 381 |
+
<div class="flex-shrink-0">
|
| 382 |
+
<i data-feather="check" class="h-5 w-5 text-green-500"></i>
|
| 383 |
+
</div>
|
| 384 |
+
<p class="ml-3 text-sm text-gray-700">
|
| 385 |
+
Priority support and feedback
|
| 386 |
+
</p>
|
| 387 |
+
</li>
|
| 388 |
+
<li class="flex items-start">
|
| 389 |
+
<div class="flex-shrink-0">
|
| 390 |
+
<i data-feather="check" class="h-5 w-5 text-green-500"></i>
|
| 391 |
+
</div>
|
| 392 |
+
<p class="ml-3 text-sm text-gray-700">
|
| 393 |
+
Early access to new features
|
| 394 |
+
</p>
|
| 395 |
+
</li>
|
| 396 |
+
<li class="flex items-start">
|
| 397 |
+
<div class="flex-shrink-0">
|
| 398 |
+
<i data-feather="check" class="h-5 w-5 text-green-500"></i>
|
| 399 |
+
</div>
|
| 400 |
+
<p class="ml-3 text-sm text-gray-700">
|
| 401 |
+
Influence on product roadmap
|
| 402 |
+
</p>
|
| 403 |
+
</li>
|
| 404 |
+
</ul>
|
| 405 |
+
</div>
|
| 406 |
+
</div>
|
| 407 |
+
<div class="px-6 pt-6 pb-8 bg-gray-50 sm:p-10 sm:pt-6">
|
| 408 |
+
<form class="space-y-6">
|
| 409 |
+
<div>
|
| 410 |
+
<label for="email" class="block text-sm font-medium text-gray-700">Email address</label>
|
| 411 |
+
<div class="mt-1">
|
| 412 |
+
<input id="email" name="email" type="email" autocomplete="email" required class="appearance-none block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm placeholder-gray-400 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm">
|
| 413 |
+
</div>
|
| 414 |
+
</div>
|
| 415 |
+
<div>
|
| 416 |
+
<button type="submit" class="w-full flex justify-center py-3 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
|
| 417 |
+
Join Beta Program
|
| 418 |
+
</button>
|
| 419 |
+
</div>
|
| 420 |
+
</form>
|
| 421 |
+
</div>
|
| 422 |
+
</div>
|
| 423 |
+
</div>
|
| 424 |
+
</div>
|
| 425 |
+
</section>
|
| 426 |
+
|
| 427 |
+
<!-- Footer -->
|
| 428 |
+
<footer id="contact" class="bg-gray-900 text-white">
|
| 429 |
+
<div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8">
|
| 430 |
+
<div class="grid grid-cols-2 md:grid-cols-4 gap-8">
|
| 431 |
+
<div>
|
| 432 |
+
<h3 class="text-sm font-semibold text-gray-400 tracking-wider uppercase">Product</h3>
|
| 433 |
+
<ul class="mt-4 space-y-4">
|
| 434 |
+
<li><a href="#features" class="text-base text-gray-300 hover:text-white">Features</a></li>
|
| 435 |
+
<li><a href="#how-it-works" class="text-base text-gray-300 hover:text-white">How It Works</a></li>
|
| 436 |
+
<li><a href="#pricing" class="text-base text-gray-300 hover:text-white">Pricing</a></li>
|
| 437 |
+
</ul>
|
| 438 |
+
</div>
|
| 439 |
+
<div>
|
| 440 |
+
<h3 class="text-sm font-semibold text-gray-400 tracking-wider uppercase">Resources</h3>
|
| 441 |
+
<ul class="mt-4 space-y-4">
|
| 442 |
+
<li><a href="#" class="text-base text-gray-300 hover:text-white">Documentation</a></li>
|
| 443 |
+
<li><a href="#" class="text-base text-gray-300 hover:text-white">Tutorials</a></li>
|
| 444 |
+
<li><a href="#" class="text-base text-gray-300 hover:text-white">Examples</a></li>
|
| 445 |
+
</ul>
|
| 446 |
+
</div>
|
| 447 |
+
<div>
|
| 448 |
+
<h3 class="text-sm font-semibold text-gray-400 tracking-wider uppercase">Company</h3>
|
| 449 |
+
<ul class="mt-4 space-y-4">
|
| 450 |
+
<li><a href="#" class="text-base text-gray-300 hover:text-white">About</a></li>
|
| 451 |
+
<li><a href="#" class="text-base text-gray-300 hover:text-white">Blog</a></li>
|
| 452 |
+
<li><a href="#" class="text-base text-gray-300 hover:text-white">Careers</a></li>
|
| 453 |
+
</ul>
|
| 454 |
+
</div>
|
| 455 |
+
<div>
|
| 456 |
+
<h3 class="text-sm font-semibold text-gray-400 tracking-wider uppercase">Connect</h3>
|
| 457 |
+
<ul class="mt-4 space-y-4">
|
| 458 |
+
<li><a href="#" class="text-base text-gray-300 hover:text-white">Twitter</a></li>
|
| 459 |
+
<li><a href="#" class="text-base text-gray-300 hover:text-white">GitHub</a></li>
|
| 460 |
+
<li><a href="#" class="text-base text-gray-300 hover:text-white">Contact Us</a></li>
|
| 461 |
+
</ul>
|
| 462 |
+
</div>
|
| 463 |
+
</div>
|
| 464 |
+
<div class="mt-12 border-t border-gray-800 pt-8 flex flex-col md:flex-row justify-between">
|
| 465 |
+
<p class="text-base text-gray-400">
|
| 466 |
+
© 2023 Sheikh. All rights reserved.
|
| 467 |
+
</p>
|
| 468 |
+
<div class="mt-4 md:mt-0 flex space-x-6">
|
| 469 |
+
<a href="#" class="text-gray-400 hover:text-gray-300">
|
| 470 |
+
<i data-feather="twitter" class="h-6 w-6"></i>
|
| 471 |
+
</a>
|
| 472 |
+
<a href="#" class="text-gray-400 hover:text-gray-300">
|
| 473 |
+
<i data-feather="github" class="h-6 w-6"></i>
|
| 474 |
+
</a>
|
| 475 |
+
<a href="#" class="text-gray-400 hover:text-gray-300">
|
| 476 |
+
<i data-feather="linkedin" class="h-6 w-6"></i>
|
| 477 |
+
</a>
|
| 478 |
+
</div>
|
| 479 |
+
</div>
|
| 480 |
+
</div>
|
| 481 |
+
</footer>
|
| 482 |
+
|
| 483 |
+
<script>
|
| 484 |
+
AOS.init({
|
| 485 |
+
duration: 800,
|
| 486 |
+
easing: 'ease-in-out',
|
| 487 |
+
once: true
|
| 488 |
+
});
|
| 489 |
+
|
| 490 |
+
feather.replace();
|
| 491 |
+
|
| 492 |
+
// Smooth scrolling for anchor links
|
| 493 |
+
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
| 494 |
+
anchor.addEventListener('click', function (e) {
|
| 495 |
+
e.preventDefault();
|
| 496 |
+
|
| 497 |
+
const targetId = this.getAttribute('href');
|
| 498 |
+
if (targetId === '#') return;
|
| 499 |
+
|
| 500 |
+
const targetElement = document.querySelector(targetId);
|
| 501 |
+
if (targetElement) {
|
| 502 |
+
targetElement.scrollIntoView({
|
| 503 |
+
behavior: 'smooth'
|
| 504 |
+
});
|
| 505 |
+
}
|
| 506 |
+
});
|
| 507 |
+
});
|
| 508 |
+
|
| 509 |
+
// Mobile menu toggle
|
| 510 |
+
const mobileMenuButton = document.querySelector('button[aria-controls="mobile-menu"]');
|
| 511 |
+
if (mobileMenuButton) {
|
| 512 |
+
mobileMenuButton.addEventListener('click', function() {
|
| 513 |
+
const menu = document.getElementById('mobile-menu');
|
| 514 |
+
if (menu) {
|
| 515 |
+
const isExpanded = this.getAttribute('aria-expanded') === 'true';
|
| 516 |
+
this.setAttribute('aria-expanded', !isExpanded);
|
| 517 |
+
menu.classList.toggle('hidden');
|
| 518 |
+
|
| 519 |
+
// Change icon
|
| 520 |
+
const icon = this.querySelector('i');
|
| 521 |
+
if (icon) {
|
| 522 |
+
if (isExpanded) {
|
| 523 |
+
icon.setAttribute('data-feather', 'menu');
|
| 524 |
+
} else {
|
| 525 |
+
icon.setAttribute('data-feather', 'x');
|
| 526 |
+
}
|
| 527 |
+
feather.replace();
|
| 528 |
+
}
|
| 529 |
+
}
|
| 530 |
+
});
|
| 531 |
+
}
|
| 532 |
+
</script>
|
| 533 |
+
</body>
|
| 534 |
</html>
|