File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed
Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 11NEXT_PUBLIC_ENVIRONMENT=devnet
22NEXT_PUBLIC_URL=https://devnet-explorer.ratio1.ai
3- NEXT_APP_URL =https://devnet-app.ratio1.ai
3+ NEXT_PUBLIC_APP_URL =https://devnet-app.ratio1.ai
44
55NEXT_PUBLIC_BACKEND_URL=https://devnet-dapp-api.ratio1.ai
66NEXT_PUBLIC_ORACLES_URL=https://devnet-oracle.ratio1.ai
Original file line number Diff line number Diff line change 11NEXT_PUBLIC_ENVIRONMENT=mainnet
22NEXT_PUBLIC_URL=https://explorer.ratio1.ai
3- NEXT_APP_URL =https://app.ratio1.ai
3+ NEXT_PUBLIC_APP_URL =https://app.ratio1.ai
44
55NEXT_PUBLIC_BACKEND_URL=https://dapp-api.ratio1.ai
66NEXT_PUBLIC_ORACLES_URL=https://oracle.ratio1.ai
Original file line number Diff line number Diff line change 11NEXT_PUBLIC_ENVIRONMENT=testnet
22NEXT_PUBLIC_URL=https://testnet-explorer.ratio1.ai
3- NEXT_APP_URL =https://testnet-app.ratio1.ai
3+ NEXT_PUBLIC_APP_URL =https://testnet-app.ratio1.ai
44
55NEXT_PUBLIC_BACKEND_URL=https://testnet-dapp-api.ratio1.ai
66NEXT_PUBLIC_ORACLES_URL=https://testnet-oracle.ratio1.ai
Original file line number Diff line number Diff line change @@ -2,8 +2,10 @@ import { CardRounded } from '@/app/server-components/shared/cards/CardRounded';
22import Navigation from '@/components/Navigation' ;
33import { NetworkSelector } from '@/components/NetworkSelector' ;
44import config from '@/config' ;
5+ import { Button } from '@heroui/button' ;
56import Image from 'next/image' ;
67import Link from 'next/link' ;
8+ import { RiFunctionLine } from 'react-icons/ri' ;
79
810export default async function Header ( ) {
911 return (
@@ -38,18 +40,18 @@ export default async function Header() {
3840 </ div >
3941 </ CardRounded >
4042
41- { /* <Button
43+ < Button
4244 className = "min-h-10 rounded-full lg:min-h-12"
4345 color = "primary"
4446 as = { Link }
45- href={process.env.NEXT_APP_URL }
47+ href = { process . env . NEXT_PUBLIC_APP_URL }
4648 target = "_blank"
4749 >
4850 < div className = "row gap-1.5" >
4951 < RiFunctionLine className = "text-lg" />
5052 < div className = "font-medium" > App</ div >
5153 </ div >
52- </Button> */ }
54+ </ Button >
5355 </ div >
5456
5557 < div className = "flex" >
You can’t perform that action at this time.
0 commit comments