Proxy Settings for Default Frontend
How to configure system to load a blank homepage
Create custom component SimpleDApp.tsx
This component uses these components:
Connect button
Social logins
Main banner
TitleCollection (replaced mint button to Main banner)
Remove Connect button from Header
Changed logic in
useConnectUser
hook andTitleCollection
componentImproving styles
Adding specific conditions to display the Connect Button or Main banner
In
App.tsx
component I changed main url'/'
. In RairDapp it usesSimpleDApp.tsx
now. And because of this we see another main componentIn order for authorization using social logins to work, you need to add the following variables to the env file:
VITE_BASE_MAINNET_ALCHEMY_KEY
VITE_BASE_MAINNET_GAS_POLICY
In our case, this is the Base blockchain:
VITE_BASE_MAINNET_ALCHEMY_KEY=xxx
VITE_BASE_MAINNET_GAS_POLICY=xxx
Last updated