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
useConnectUserhook andTitleCollectioncomponentImproving styles
Adding specific conditions to display the Connect Button or Main banner
In
App.tsxcomponent I changed main url'/'. In RairDapp it usesSimpleDApp.tsxnow. 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_KEYVITE_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
Was this helpful?