feat: Rebrand application from AutoDork to Sanati across all relevant files and update minor formatting in the onboarding page.
This commit is contained in:
@@ -26,7 +26,7 @@ export default function OnboardingPage() {
|
||||
const [progress, setProgress] = useState('')
|
||||
const [error, setError] = useState('')
|
||||
const [showManualInput, setShowManualInput] = useState(false)
|
||||
|
||||
|
||||
// Manual input fields
|
||||
const [manualProductName, setManualProductName] = useState('')
|
||||
const [manualDescription, setManualDescription] = useState('')
|
||||
@@ -58,13 +58,13 @@ export default function OnboardingPage() {
|
||||
}
|
||||
|
||||
setProgress('Analyzing with AI...')
|
||||
|
||||
|
||||
// Store in localStorage for dashboard
|
||||
localStorage.setItem('productAnalysis', JSON.stringify(data.data))
|
||||
localStorage.setItem('analysisStats', JSON.stringify(data.stats))
|
||||
|
||||
setProgress('Redirecting to dashboard...')
|
||||
|
||||
|
||||
// Redirect to dashboard with product name in query
|
||||
const params = new URLSearchParams({ product: data.data.productName })
|
||||
router.push(`/dashboard?${params.toString()}`)
|
||||
@@ -109,7 +109,7 @@ export default function OnboardingPage() {
|
||||
})
|
||||
|
||||
let finalAnalysis = manualAnalysis
|
||||
|
||||
|
||||
if (response.ok) {
|
||||
const data = await response.json()
|
||||
finalAnalysis = data.data
|
||||
@@ -214,7 +214,7 @@ export default function OnboardingPage() {
|
||||
)}
|
||||
|
||||
<div className="flex gap-2">
|
||||
<Button
|
||||
<Button
|
||||
variant="outline"
|
||||
onClick={() => {
|
||||
setShowManualInput(false)
|
||||
@@ -226,7 +226,7 @@ export default function OnboardingPage() {
|
||||
<ArrowLeft className="mr-2 h-4 w-4" />
|
||||
Back
|
||||
</Button>
|
||||
<Button
|
||||
<Button
|
||||
onClick={analyzeManually}
|
||||
disabled={!manualProductName || !manualDescription || loading}
|
||||
className="flex-1 gap-2"
|
||||
@@ -261,7 +261,7 @@ export default function OnboardingPage() {
|
||||
<Sparkles className="h-6 w-6" />
|
||||
</div>
|
||||
</div>
|
||||
<h1 className="text-2xl font-bold text-foreground">Welcome to AutoDork</h1>
|
||||
<h1 className="text-2xl font-bold text-foreground">Welcome to Sanati</h1>
|
||||
<p className="text-muted-foreground">
|
||||
Enter your website URL and we'll analyze your product to find opportunities.
|
||||
</p>
|
||||
@@ -313,8 +313,8 @@ export default function OnboardingPage() {
|
||||
</div>
|
||||
)}
|
||||
|
||||
<Button
|
||||
onClick={analyzeWebsite}
|
||||
<Button
|
||||
onClick={analyzeWebsite}
|
||||
disabled={!url || loading}
|
||||
className="w-full gap-2"
|
||||
>
|
||||
|
||||
@@ -8,7 +8,7 @@ import { ThemeProvider } from "@/components/theme-provider";
|
||||
const inter = Inter({ subsets: ['latin'] })
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'AutoDork - Find Product Opportunities',
|
||||
title: 'Sanati - Find Product Opportunities',
|
||||
description: 'AI-powered product research and opportunity finding',
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ export default function LandingPage() {
|
||||
<div className="flex h-8 w-8 items-center justify-center rounded-lg bg-primary text-primary-foreground">
|
||||
<Search className="h-4 w-4" />
|
||||
</div>
|
||||
<span className="font-semibold text-foreground">AutoDork</span>
|
||||
<span className="font-semibold text-foreground">Sanati</span>
|
||||
</div>
|
||||
<nav className="flex items-center gap-4">
|
||||
<Link href="/dashboard" className="text-sm text-muted-foreground hover:text-foreground">
|
||||
@@ -41,7 +41,7 @@ export default function LandingPage() {
|
||||
</h1>
|
||||
|
||||
<p className="max-w-2xl text-lg text-muted-foreground">
|
||||
AutoDork analyzes your product and finds people on Reddit, Hacker News, and forums
|
||||
Sanati analyzes your product and finds people on Reddit, Hacker News, and forums
|
||||
who are actively expressing needs that your solution solves.
|
||||
</p>
|
||||
|
||||
@@ -112,7 +112,7 @@ export default function LandingPage() {
|
||||
<footer className="border-t border-border">
|
||||
<div className="container mx-auto max-w-6xl px-4 py-8">
|
||||
<p className="text-center text-sm text-muted-foreground">
|
||||
AutoDork — Built for indie hackers and founders
|
||||
Sanati — Built for indie hackers and founders
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
Reference in New Issue
Block a user