Dashboard shell, breadcrumb navigation, sidebar redesign & integration pages SEO overhaul #73

Merged
uz1mani merged 20 commits from staging into main 2026-03-28 23:30:29 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 07546576c1 - Show all commits

View File

@@ -105,7 +105,7 @@ export default function PricingSection() {
const searchParams = useSearchParams() const searchParams = useSearchParams()
const router = useRouter() const router = useRouter()
const [isYearly, setIsYearly] = useState(false) const [isYearly, setIsYearly] = useState(false)
const [sliderIndex, setSliderIndex] = useState(2) // Default to 100k (index 2) const [sliderIndex, setSliderIndex] = useState(0) // Default to 10k (index 0)
const [loadingPlan, setLoadingPlan] = useState<string | null>(null) const [loadingPlan, setLoadingPlan] = useState<string | null>(null)
const { user } = useAuth() const { user } = useAuth()

View File

@@ -33,11 +33,11 @@ export const TRAFFIC_TIERS = [
export function getTierIndexForLimit(limit: number): number { export function getTierIndexForLimit(limit: number): number {
const idx = TRAFFIC_TIERS.findIndex((t) => t.value === limit) const idx = TRAFFIC_TIERS.findIndex((t) => t.value === limit)
return idx >= 0 ? idx : 2 return idx >= 0 ? idx : 0
} }
export function getLimitForTierIndex(index: number): number { export function getLimitForTierIndex(index: number): number {
if (index < 0 || index >= TRAFFIC_TIERS.length) return 100000 if (index < 0 || index >= TRAFFIC_TIERS.length) return 10000
return TRAFFIC_TIERS[index].value return TRAFFIC_TIERS[index].value
} }