-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpage.tsx
36 lines (29 loc) · 1.05 KB
/
page.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
"use server";
import Image from 'next/image'
import styles from './page.module.css'
import { Center } from '@chakra-ui/react';
import { ChakraProvider } from '@chakra-ui/react'
import starknetjsImg from "../../public/Images/StarkNet-JS_logo.png";
import { DisplayConnected } from './components/client/DisplayConnected';
import LowerBanner from './components/client/LowerBanner';
export default async function Page() {
return (
<ChakraProvider>
<div>
<p className={styles.bgText}>
Test get-starknet v4.0.3 with starknet.js v6.21.0
</p>
<Center>
<Image src={starknetjsImg} alt='starknet.js' width={150} />
</Center>
<p className={styles.bgText}>
Please connect to Sepolia Testnet network
</p>
<div>
<DisplayConnected></DisplayConnected>
</div>
<LowerBanner></LowerBanner>
</div >
</ChakraProvider>
)
}