Open-source agentic AI Search Execution Platform. Track AI visibility, find opportunities, and let agents turn signals into prioritized actions and drafted fixes across ChatGPT, Claude, Gemini, Google AI Overviews, Google AI Mode, Perplexity, Grok, and Microsoft Copilot.
TypeScript aeoai-agentai-searchanswer-engine-optimizationbrand-monitoringchatgptclaudecopilotdockergeminigeogoogle-ai-overviewsgrokmcpnextjsopen-sourceperplexityseosupabasetypescript
fix(auth): point Terms / Privacy links at the marketing site (#8)
Gökhan Geyik6517747410e4
diff --git a/web/src/components/auth/sign-up-form.tsx b/web/src/components/auth/sign-up-form.tsxindex 65f9ed74d..25b2185f4 100644--- a/web/src/components/auth/sign-up-form.tsx+++ b/web/src/components/auth/sign-up-form.tsx@@ -12,6 +12,7 @@ import { toast } from "sonner";import { Loader2 } from "lucide-react";import { OAuthButtons } from "@/components/auth/oauth-buttons";import { Separator } from "@/components/ui/separator";+import { siteConfig } from "@/config/site";export function SignUpForm() {const t = useTranslations("auth");@@ -127,13 +128,23 @@ export function SignUpForm() {<p className="text-center text-xs text-muted-foreground">{t("termsAgreement")}{" "}- <Link href="/terms" className="underline underline-offset-4 hover:text-primary">+ <a+ href={siteConfig.legal.terms}+ target="_blank"+ rel="noopener noreferrer"+ className="underline underline-offset-4 hover:text-primary"+ >{t("termsOfService")}- </Link>{" "}+ </a>{" "}{t("and")}{" "}- <Link href="/privacy" className="underline underline-offset-4 hover:text-primary">+ <a+ href={siteConfig.legal.privacy}+ target="_blank"+ rel="noopener noreferrer"+ className="underline underline-offset-4 hover:text-primary"+ >{t("privacyPolicy")}- </Link>+ </a>.</p></form>diff --git a/web/src/components/marketing/marketing-footer.tsx b/web/src/components/marketing/marketing-footer.tsxindex 4af61e790..573ca6ecb 100644--- a/web/src/components/marketing/marketing-footer.tsx+++ b/web/src/components/marketing/marketing-footer.tsx@@ -1,4 +1,3 @@-import { Link } from "@/i18n/navigation";import { siteConfig } from "@/config/site";export function MarketingFooter() {@@ -9,12 +8,22 @@ export function MarketingFooter() {© {new Date().getFullYear()} {siteConfig.name}. Open source under MIT license.</p><div className="flex items-center gap-4 text-sm text-muted-foreground">- <Link href="/terms" className="hover:text-foreground transition-colors">+ <a+ href={siteConfig.legal.terms}+ target="_blank"+ rel="noopener noreferrer"+ className="hover:text-foreground transition-colors"+ >Terms- </Link>- <Link href="/privacy" className="hover:text-foreground transition-colors">+ </a>+ <a+ href={siteConfig.legal.privacy}+ target="_blank"+ rel="noopener noreferrer"+ className="hover:text-foreground transition-colors"+ >Privacy- </Link>+ </a><ahref={siteConfig.links.github}target="_blank"diff --git a/web/src/config/site.ts b/web/src/config/site.tsindex 7c16c0b56..822d387b5 100644--- a/web/src/config/site.ts+++ b/web/src/config/site.ts@@ -3,11 +3,15 @@ export const siteConfig = {description:"Monitor, analyze, and optimize your brand's visibility in AI-powered search engines like ChatGPT, Perplexity, Gemini, and more.",url: "https://ansvisor.com",- ogImage: "https://ansvisor.com/og.jpg",+ ogImage: "https://app.ansvisor.com/opengraph-image",links: {- github: "https://github.com/your-org/ansvisor",+ github: "https://github.com/aeohub/ansvisor",docs: "https://docs.ansvisor.com",},+ legal: {+ privacy: "https://www.ansvisor.com/privacy-policy",+ terms: "https://www.ansvisor.com/terms-of-service",+ },} as const;export type SiteConfig = typeof siteConfig;