Updated app

This commit is contained in:
Leon Serfaty G
2025-07-17 10:06:15 +00:00
parent 771048d9f8
commit 4b7d3b2b3d
14 changed files with 376 additions and 64 deletions
+26 -55
View File
@@ -2,79 +2,50 @@
@tailwind components;
@tailwind utilities;
body {
font-family: Arial, Helvetica, sans-serif;
}
@layer base {
:root {
--background: 0 0% 100%;
--foreground: 0 0% 3.9%;
--background: 226 100% 94.1%;
--foreground: 222 84% 4.9%;
--card: 0 0% 100%;
--card-foreground: 0 0% 3.9%;
--card-foreground: 222 84% 4.9%;
--popover: 0 0% 100%;
--popover-foreground: 0 0% 3.9%;
--primary: 0 0% 9%;
--popover-foreground: 222 84% 4.9%;
--primary: 221 100% 58%;
--primary-foreground: 0 0% 98%;
--secondary: 0 0% 96.1%;
--secondary-foreground: 0 0% 9%;
--muted: 0 0% 96.1%;
--muted-foreground: 0 0% 45.1%;
--accent: 0 0% 96.1%;
--accent-foreground: 0 0% 9%;
--secondary: 226 40% 90%;
--secondary-foreground: 222 84% 4.9%;
--muted: 226 40% 90%;
--muted-foreground: 222 20% 46.1%;
--accent: 263 47% 53%;
--accent-foreground: 0 0% 98%;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 0 0% 98%;
--border: 0 0% 89.8%;
--input: 0 0% 89.8%;
--ring: 0 0% 3.9%;
--chart-1: 12 76% 61%;
--chart-2: 173 58% 39%;
--chart-3: 197 37% 24%;
--chart-4: 43 74% 66%;
--chart-5: 27 87% 67%;
--border: 226 30% 85%;
--input: 226 30% 85%;
--ring: 221 100% 58%;
--radius: 0.5rem;
--sidebar-background: 0 0% 98%;
--sidebar-foreground: 240 5.3% 26.1%;
--sidebar-primary: 240 5.9% 10%;
--sidebar-primary-foreground: 0 0% 98%;
--sidebar-accent: 240 4.8% 95.9%;
--sidebar-accent-foreground: 240 5.9% 10%;
--sidebar-border: 220 13% 91%;
--sidebar-ring: 217.2 91.2% 59.8%;
}
.dark {
--background: 0 0% 3.9%;
--background: 222 47% 11%;
--foreground: 0 0% 98%;
--card: 0 0% 3.9%;
--card: 222 47% 11%;
--card-foreground: 0 0% 98%;
--popover: 0 0% 3.9%;
--popover: 222 47% 11%;
--popover-foreground: 0 0% 98%;
--primary: 0 0% 98%;
--primary: 221 100% 58%;
--primary-foreground: 0 0% 9%;
--secondary: 0 0% 14.9%;
--secondary: 222 25% 20%;
--secondary-foreground: 0 0% 98%;
--muted: 0 0% 14.9%;
--muted-foreground: 0 0% 63.9%;
--accent: 0 0% 14.9%;
--muted: 222 25% 20%;
--muted-foreground: 222 10% 63.9%;
--accent: 263 47% 53%;
--accent-foreground: 0 0% 98%;
--destructive: 0 62.8% 30.6%;
--destructive-foreground: 0 0% 98%;
--border: 0 0% 14.9%;
--input: 0 0% 14.9%;
--ring: 0 0% 83.1%;
--chart-1: 220 70% 50%;
--chart-2: 160 60% 45%;
--chart-3: 30 80% 55%;
--chart-4: 280 65% 60%;
--chart-5: 340 75% 55%;
--sidebar-background: 240 5.9% 10%;
--sidebar-foreground: 240 4.8% 95.9%;
--sidebar-primary: 224.3 76.3% 48%;
--sidebar-primary-foreground: 0 0% 100%;
--sidebar-accent: 240 3.7% 15.9%;
--sidebar-accent-foreground: 240 4.8% 95.9%;
--sidebar-border: 240 3.7% 15.9%;
--sidebar-ring: 217.2 91.2% 59.8%;
--border: 222 25% 20%;
--input: 222 25% 20%;
--ring: 221 100% 58%;
}
}
+10 -6
View File
@@ -1,9 +1,10 @@
import type {Metadata} from 'next';
import './globals.css';
import { Toaster } from "@/components/ui/toaster";
export const metadata: Metadata = {
title: 'Firebase Studio App',
description: 'Generated by Firebase Studio',
title: 'EstimateFlow',
description: 'Estimate development costs for your next digital product.',
};
export default function RootLayout({
@@ -14,11 +15,14 @@ export default function RootLayout({
return (
<html lang="en">
<head>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter&display=swap" rel="stylesheet"></link>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="anonymous" />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Space+Grotesk:wght@400;500;700&display=swap" rel="stylesheet" />
</head>
<body className="font-body antialiased">{children}</body>
<body className="font-body antialiased">
{children}
<Toaster />
</body>
</html>
);
}
+15 -1
View File
@@ -1,3 +1,17 @@
import { CostEstimatorForm } from '@/components/cost-estimator/cost-estimator-form';
export default function Home() {
return <></>;
return (
<main className="flex min-h-screen w-full flex-col items-center justify-center bg-background p-4 sm:p-8 md:p-12 lg:p-24">
<div className="w-full max-w-4xl text-center">
<h1 className="font-headline text-4xl font-bold tracking-tighter text-foreground sm:text-5xl md:text-6xl">
EstimateFlow
</h1>
<p className="mx-auto mt-4 max-w-[700px] text-muted-foreground md:text-xl">
Answer a few questions to get a real-time estimate for your digital project. Let's build something amazing together.
</p>
</div>
<CostEstimatorForm />
</main>
);
}