Skip to content
This repository was archived by the owner on Jul 1, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
121 changes: 0 additions & 121 deletions apps/landing/src/app/partners/page.tsx

This file was deleted.

10 changes: 6 additions & 4 deletions apps/landing/src/components/globals/TvlWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import { useMemo } from "react";
import Link from "next/link";
import { useVaults } from "@/hooks/useVaultInfo";
import { useStrategies } from "@/hooks/useStrategies";
import { useTokenPrices } from "@/hooks/useTokenPrices";
import { stroopsToNum, fmtUsd } from "@/utils/vaultFormatters";
import { formatVaultName, getPartnerInfo } from "@/lib/vaultLogos";
Expand Down Expand Up @@ -87,6 +88,7 @@ function Divider() {

export default function TvlWidget() {
const { sortedVaults, isAnyLoading } = useVaults({ vaultIds: VAULT_ADDRESSES });
const { strategies, isLoading: isStrategiesLoading } = useStrategies();
const { prices } = useTokenPrices();

const { totalTvl, partnerCount } = useMemo(() => {
Expand Down Expand Up @@ -159,15 +161,15 @@ export default function TvlWidget() {
/>
<Divider />
<StatItem
label="Vaults"
value={String(VAULT_ADDRESSES.length)}
label="Strategies"
value={isStrategiesLoading ? "—" : String(strategies.length)}
/>
</div>

{/* CTA */}
<div className="hidden lg:block lg:flex-none text-center lg:text-right" style={{ minWidth: 130 }}>
<Link
href="/partners"
href="/strategies"
style={{
display: "inline-flex",
alignItems: "center",
Expand All @@ -188,7 +190,7 @@ export default function TvlWidget() {
"rgba(255,255,255,.7)";
}}
>
View all partners
View all strategies
<svg
width="14"
height="14"
Expand Down
1 change: 0 additions & 1 deletion apps/landing/src/components/globals/navbar/Lists.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const menuItems = [
isInternal: true,
},
{ id: 5, name: "Blog", to: "/blog", external: true, isInternal: true },
{ id: 8, name: "Partners", to: "/partners", external: true, isInternal: true },
{ id: 6, name: "Documentation", to: "https://docs.defindex.io", external: true },
{ id: 7, name: "Dune", to: "https://dune.com/paltalabs/defindex", external: true },
];
Expand Down
2 changes: 1 addition & 1 deletion apps/landing/src/components/vaults/FilterBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default function FilterBar({ onSearch, sort, onSort }: FilterBarProps) {
</svg>
<input
type="search"
placeholder="Search partners or strategies…"
placeholder="Search strategies…"
value={inputValue}
onChange={e => setInputValue(e.target.value)}
style={{
Expand Down