File tree Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 11import { promises as fs } from "fs"
22
3- import { BNToAmount } from "@/utils"
3+ import { BNToAmount , genMeta } from "@/utils"
44
55import Explaination from "./Explaination"
66import Header from "./Header"
77
8+ export const generateMetadata = genMeta ( ( ) => ( {
9+ titleSuffix : "SCR & sSCR" ,
10+ relativeURL : "/SCR-sSCR" ,
11+ description : "Governance token and its LRT" ,
12+ } ) )
13+
814const ScrAndsSCRPage = async ( ) => {
915 const circulatingSupplyStr = await fs . readFile ( process . cwd ( ) + "/public/tokenomics/circulatingSupply.txt" , "utf8" )
1016 const circulatingSupply = + circulatingSupplyStr
Original file line number Diff line number Diff line change 1+ import { genMeta } from "@/utils"
2+
13import Explaination from "./Explaination"
24import Header from "./Header"
35
4- const ScrAndsSCRPage = ( ) => {
6+ export const generateMetadata = genMeta ( ( ) => ( {
7+ titleSuffix : "scrETH" ,
8+ relativeURL : "/scrETH" ,
9+ description : "Scroll's ecosystem native ETH LRT" ,
10+ } ) )
11+
12+ const ScrETHPage = ( ) => {
513 return (
614 < >
715 < Header > </ Header >
@@ -10,4 +18,4 @@ const ScrAndsSCRPage = () => {
1018 )
1119}
1220
13- export default ScrAndsSCRPage
21+ export default ScrETHPage
You can’t perform that action at this time.
0 commit comments