-
Notifications
You must be signed in to change notification settings - Fork 0
[app] Setup rainbowkit and @/fonts
#7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughAdds RainbowKit/Wagmi and React Query integration with providers and UI components; introduces fonts, address utilities, chain/config exports, global dark styles, Next.js webpack fallback, new landing page, and multiple core repo updates including Solady submodule, deployment scripts, contract adjustments, and documentation. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor User
participant NextApp as NextApp/_app
participant Wagmi as WagmiProvider
participant RK as RainbowKitProvider
participant Nav as NavigationBar
participant Btn as ConnectButton
participant Wallet as Wallet
User->>NextApp: Request page
NextApp->>Wagmi: Initialize with wagmiConfig
NextApp->>RK: Initialize RainbowKit (theme, modal)
NextApp->>Nav: Render NavigationBar
Nav->>Btn: Render ConnectButton
User->>Btn: Click "Connect Wallet"
Btn->>RK: Open connect modal
RK->>Wallet: Prompt and request account
Wallet-->>RK: Account & chain returned
alt Unsupported chain
Btn->>RK: Open chain modal (request switch)
Wallet-->>RK: Chain switched
else Connected
Btn-->>User: Show address / balance / account menu
end
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Poem
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. Comment |
212c185 to
61373c7
Compare
34d91ce to
ddbf968
Compare
| export const OpticianSans = localFont({ | ||
| src: './Optician-Sans.otf', | ||
| display: 'block', | ||
| fallback: ['Optician Sans', 'Inter', 'sans-serif'], | ||
| }); | ||
|
|
||
| export const InstrumentSans = Instrument_Sans({ | ||
| subsets: ['latin'], | ||
| weight: ['400', '500', '600', '700'], | ||
| }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
폰트
- 기본값은 Instrument Sans (
_app에서 설정됨) font-family: ${OpticianSans.style.fontFamily};이런 식으로 변경해 사용할 수 있음
|
@citrusinesis RainbowKit/Wagmi/Viem (지갑 연결 위한 라이브러리) 및 폰트 설정 추가했습니다. |
citrusinesis
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Summary by CodeRabbit
New Features
Style
Chores