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
chore: remove font customization settings (#31)
nightcityblade744f6c0e77d2
diff --git a/web/messages/en.json b/web/messages/en.jsonindex 66180bd77..9c2eaa858 100644--- a/web/messages/en.json+++ b/web/messages/en.json@@ -284,8 +284,6 @@"accountDescription": "Your profile and sign-in details.","theme": "Theme","themeDescription": "Choose light or dark mode for the dashboard.",- "font": "Font",- "fontDescription": "Choose a font family for the dashboard.","general": "General","project": "Project","apiKeys": "API Keys",diff --git a/web/src/app/[locale]/(dashboard)/dashboard/settings/page.tsx b/web/src/app/[locale]/(dashboard)/dashboard/settings/page.tsxindex 866b7922e..e4b3d3511 100644--- a/web/src/app/[locale]/(dashboard)/dashboard/settings/page.tsx+++ b/web/src/app/[locale]/(dashboard)/dashboard/settings/page.tsx@@ -11,7 +11,6 @@ import { Label } from "@/components/ui/label";import { Button } from "@/components/ui/button";import { Separator } from "@/components/ui/separator";import { ThemeSwitch } from "@/components/settings/theme-switch";-import { FontSwitch } from "@/components/settings/font-switch";import { cn } from "@/lib/utils";import { usePlanContext } from "@/components/providers/plan-provider";import { BillingSection } from "@/components/settings/billing-section";@@ -140,15 +139,6 @@ export default function SettingsPage() {<ThemeSwitch /></CardContent></Card>- <Card>- <CardHeader>- <CardTitle>{t("font")}</CardTitle>- <CardDescription>{t("fontDescription")}</CardDescription>- </CardHeader>- <CardContent>- <FontSwitch />- </CardContent>- </Card></div>)}diff --git a/web/src/app/layout.tsx b/web/src/app/layout.tsxindex 5883cc345..0d4afdea0 100644--- a/web/src/app/layout.tsx+++ b/web/src/app/layout.tsx@@ -1,7 +1,6 @@import type { Metadata } from "next";import { Geist, Geist_Mono, Inter, Plus_Jakarta_Sans } from "next/font/google";import { Analytics } from "@vercel/analytics/next";-import { FontProvider } from "@/components/providers/font-provider";import { PostHogProvider } from "@/components/providers/posthog-provider";import "./globals.css";@@ -72,7 +71,6 @@ export default function RootLayout({suppressHydrationWarningclassName="font-sans antialiased">- <FontProvider /><PostHogProvider />{children}<Analytics />diff --git a/web/src/components/providers/font-provider.tsx b/web/src/components/providers/font-provider.tsxdeleted file mode 100644index 6673e78dc..000000000--- a/web/src/components/providers/font-provider.tsx+++ /dev/null@@ -1,17 +0,0 @@-"use client";--import { useEffect } from "react";-import { useFontStore, FONT_OPTIONS } from "@/stores/use-font-store";--export function FontProvider() {- const font = useFontStore((s) => s.font);-- useEffect(() => {- const option = FONT_OPTIONS.find((o) => o.key === font);- if (option) {- document.documentElement.style.setProperty("--font-sans", option.family);- }- }, [font]);-- return null;-}diff --git a/web/src/components/settings/font-switch.tsx b/web/src/components/settings/font-switch.tsxdeleted file mode 100644index 2b624e165..000000000--- a/web/src/components/settings/font-switch.tsx+++ /dev/null@@ -1,50 +0,0 @@-"use client";--import { useSyncExternalStore, useCallback } from "react";-import { Button } from "@/components/ui/button";-import { cn } from "@/lib/utils";-import { useFontStore, FONT_OPTIONS } from "@/stores/use-font-store";-import { Type } from "lucide-react";--const emptySubscribe = () => () => {};--export function FontSwitch() {- const { font, setFont } = useFontStore();- const mounted = useSyncExternalStore(- emptySubscribe,- useCallback(() => true, []),- useCallback(() => false, []),- );-- if (!mounted) {- return (- <div className="flex flex-wrap gap-2">- {FONT_OPTIONS.map((opt) => (- <div- key={opt.key}- className="rounded-md bg-muted/50 px-4 py-2 text-sm text-muted-foreground"- >- {opt.label}- </div>- ))}- </div>- );- }-- return (- <div className="flex flex-wrap gap-2">- {FONT_OPTIONS.map((opt) => (- <Button- key={opt.key}- variant={font === opt.key ? "secondary" : "ghost"}- size="sm"- className={cn("gap-2", font === opt.key && "shadow-sm")}- onClick={() => setFont(opt.key)}- >- <Type className="h-4 w-4" />- {opt.label}- </Button>- ))}- </div>- );-}diff --git a/web/src/stores/use-font-store.ts b/web/src/stores/use-font-store.tsdeleted file mode 100644index b4d686d99..000000000--- a/web/src/stores/use-font-store.ts+++ /dev/null@@ -1,27 +0,0 @@-import { create } from "zustand";-import { persist } from "zustand/middleware";--export type FontKey = "geist" | "inter" | "jakarta";--interface FontStore {- font: FontKey;- setFont: (font: FontKey) => void;-}--export const FONT_OPTIONS: { key: FontKey; label: string; family: string }[] = [- { key: "geist", label: "Geist", family: "'Geist', ui-sans-serif, system-ui, sans-serif" },- { key: "inter", label: "Inter", family: "'Inter', ui-sans-serif, system-ui, sans-serif" },- { key: "jakarta", label: "Plus Jakarta Sans", family: "'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif" },-];--export const useFontStore = create<FontStore>()(- persist(- (set) => ({- font: "inter",- setFont: (font) => set({ font }),- }),- {- name: "font-store",- }- )-);