Skip to content

Commit 90488c9

Browse files
murderteethcodex
andcommitted
Add Lifetime Earnings FAQ
Explain the landing-page Lifetime Earnings metric and link to its detailed methodology. Keep the structured FAQ metadata aligned with the visible content. Co-Authored-By: OpenAI Codex <noreply@openai.com>
1 parent 771acd4 commit 90488c9

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

app/page.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,14 @@ const faqJsonLd = {
5555
'@type': 'Answer',
5656
text: 'Yes. Yearn has documentation for developers building on top of the protocol at https://docs.yearn.fi.'
5757
}
58+
},
59+
{
60+
'@type': 'Question',
61+
name: 'What are Yearn Lifetime Earnings?',
62+
acceptedAnswer: {
63+
'@type': 'Answer',
64+
text: 'Lifetime Earnings measures the cumulative gross profit and loss reported by Yearn vault strategies in USD. Learn how it is calculated at https://docs.yearn.fi/developers/data-services/yearn-data/metrics/lifetime-earnings.'
65+
}
5866
}
5967
]
6068
}

src/components/pages/landing/components/sections/FAQs.tsx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,22 @@ const faqData = [
7878
{'to learn more.'}
7979
</p>
8080
)
81+
},
82+
{
83+
title: 'What are Yearn Lifetime Earnings?',
84+
content: (
85+
<p>
86+
{'Lifetime Earnings measures the cumulative gross profit and loss reported by Yearn vault strategies in USD. '}
87+
<a
88+
href={'https://docs.yearn.fi/developers/data-services/yearn-data/metrics/lifetime-earnings'}
89+
target={'_blank'}
90+
rel={'noopener noreferrer'}
91+
className={'text-blue-400 underline'}
92+
>
93+
{'Learn how it is calculated.'}
94+
</a>
95+
</p>
96+
)
8197
}
8298
]
8399

0 commit comments

Comments
 (0)