+
diff --git a/app/globals.css b/app/globals.css
index a23ac26..1180e59 100644
--- a/app/globals.css
+++ b/app/globals.css
@@ -70,3 +70,36 @@ body {
@apply bg-background text-foreground;
}
}
+
+@layer utilities {
+ /* Mobile-first responsive utilities */
+ .mobile-safe-padding {
+ @apply px-4 sm:px-6 lg:px-8;
+ }
+
+ .mobile-safe-text {
+ @apply text-sm sm:text-base lg:text-lg;
+ }
+
+ .mobile-touch-target {
+ @apply min-h-[44px] min-w-[44px] sm:min-h-[48px] sm:min-w-[48px];
+ }
+
+ .mobile-responsive-grid {
+ @apply grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3 sm:gap-4 lg:gap-6;
+ }
+
+ .mobile-scrollable {
+ @apply overflow-x-auto scrollbar-hide;
+ }
+
+ /* Prevent horizontal scrolling on mobile */
+ .mobile-container {
+ @apply max-w-full overflow-x-hidden;
+ }
+
+ /* Better mobile form inputs */
+ .mobile-input {
+ @apply text-base sm:text-sm; /* Prevents zoom on iOS */
+ }
+}
diff --git a/app/layout.js b/app/layout.js
index b9123a1..684b2a7 100644
--- a/app/layout.js
+++ b/app/layout.js
@@ -5,8 +5,9 @@ import ConvexClientProvider from "./ConvexClientProvider";
export const metadata = {
- title: "Create Next App",
- description: "Generated by create next app",
+ title: "AI Powered Website Builder",
+ description: "Transform your wildest ideas into production-ready code with AI-powered assistance",
+ viewport: "width=device-width, initial-scale=1, maximum-scale=1",
};
export default function RootLayout({ children }) {
diff --git a/components/custom/ChatView.jsx b/components/custom/ChatView.jsx
index 20c5f6b..f0fc90c 100644
--- a/components/custom/ChatView.jsx
+++ b/components/custom/ChatView.jsx
@@ -67,28 +67,30 @@ function ChatView() {
}
return (
-
+
{/* Chat Messages */}
-
-
+
+
{Array.isArray(messages) && messages?.map((msg, index) => (
-
-
+
- {msg.role === 'user' ? 'You' : 'AI'}
+
+ {msg.role === 'user' ? 'You' : 'AI'}
+
-
+
{msg.content}
@@ -96,10 +98,10 @@ function ChatView() {
))}
{loading && (
-
-
-
-
Generating response...
+
+
+
+
Generating response...
)}
@@ -107,27 +109,27 @@ function ChatView() {
{/* Input Section */}
-
+
-
-
+
diff --git a/components/custom/CodeView.jsx b/components/custom/CodeView.jsx
index 943aac7..c44c92f 100644
--- a/components/custom/CodeView.jsx
+++ b/components/custom/CodeView.jsx
@@ -151,28 +151,29 @@ function CodeView() {
return (
-
-
+
+
+ w-full sm:w-[140px] gap-2 sm:gap-3 rounded-full'>
setActiveTab('code')}
- className={`text-sm cursor-pointer
- ${activeTab == 'code' && 'text-blue-500 bg-blue-500 bg-opacity-25 p-1 px-2 rounded-full'}`}>
+ className={`text-xs sm:text-sm cursor-pointer px-2 py-1 rounded-full transition-all
+ ${activeTab == 'code' ? 'text-blue-500 bg-blue-500 bg-opacity-25' : 'hover:bg-gray-700'}`}>
Code
setActiveTab('preview')}
- className={`text-sm cursor-pointer
- ${activeTab == 'preview' && 'text-blue-500 bg-blue-500 bg-opacity-25 p-1 px-2 rounded-full'}`}>
+ className={`text-xs sm:text-sm cursor-pointer px-2 py-1 rounded-full transition-all
+ ${activeTab == 'preview' ? 'text-blue-500 bg-blue-500 bg-opacity-25' : 'hover:bg-gray-700'}`}>
Preview
{/* Download Button */}
@@ -196,9 +197,9 @@ function CodeView() {
{activeTab=='code'?<>
-
+
:
<>
-
-
+
+
{/* Logo and Title */}
-
-
-
+
+
+
-
- AI Powered Website Builder
+
+ AI Powered Website Builder
+ AI Builder
{/* Status Badge */}
-
-
-
AI Ready
+
+
+ AI Ready
+ Ready
diff --git a/components/custom/Hero.jsx b/components/custom/Hero.jsx
index 7ff12fc..69c5af7 100644
--- a/components/custom/Hero.jsx
+++ b/components/custom/Hero.jsx
@@ -55,85 +55,85 @@ function Hero() {
};
return (
-
+
{/* Animated background elements */}
-
-
+
+
{/* Hero Header */}
-
-
-
-
+
+
+
+
NEXT-GEN AI DEVELOPMENT
-
- Code the
Impossible
+
+ Code the
Impossible
-
+
Transform your wildest ideas into production-ready code with Ai-powered assistance
{/* Modified Input Section */}
-
-
-
-
+
+
+
{/* Holographic Suggestions Grid */}
-
-
+
+
{Lookup?.SUGGSTIONS.map((suggestion, index) => (