Skip to content
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

adding codec pro font to the landing title #24

Merged
merged 5 commits into from
Apr 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions packages/nextjs/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ export const Header = () => {
className={`lg:static top-0 navbar min-h-0 flex-shrink-0 justify-between z-20 px-0 sm:px-2 bg-base-100 ${pathname !== "/" ? "border-b border-[#1c2d49] bg-base-400" : ""}`}
>
<div className="pl-8 sm:pl-0">
<button onClick={() => (window.location.href = "/")}>
<HeaderLogo />
</button>
{pathname !== "/" && (
<button onClick={() => (window.location.href = "/")}>
<HeaderLogo />
</button>
)}
</div>
<div className="navbar-end flex-grow pr-8 py-[8px] sm:pr-0 leading-7">
<CustomConnectButton />
Expand Down
Binary file added packages/nextjs/font/codec.ttf
Binary file not shown.
1 change: 1 addition & 0 deletions packages/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
},
"dependencies": {
"@heroicons/react": "^2.1.3",
"@next/font": "^14.2.2",
"@radix-ui/react-icons": "1.3.0",
"@radix-ui/themes": "2.0.3",
"@starknet-react/chains": "^0.1.7",
Expand Down
Binary file added packages/nextjs/public/hero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,15 @@ __metadata:
languageName: node
linkType: hard

"@next/font@npm:^14.2.2":
version: 14.2.2
resolution: "@next/font@npm:14.2.2"
peerDependencies:
next: "*"
checksum: 0dc19c1b1d6b406ce60c0ebc25bc02b5414b7d9cc994a864ae1b5d826ed0e07a4e91a50d6070b71b90dd4da1a4c50017e00ff74a6c499cd34130955d5a66255f
languageName: node
linkType: hard

"@next/swc-darwin-arm64@npm:14.1.3":
version: 14.1.3
resolution: "@next/swc-darwin-arm64@npm:14.1.3"
Expand Down Expand Up @@ -1583,6 +1592,7 @@ __metadata:
resolution: "@ss-2/nextjs@workspace:packages/nextjs"
dependencies:
"@heroicons/react": ^2.1.3
"@next/font": ^14.2.2
"@radix-ui/react-icons": 1.3.0
"@radix-ui/themes": 2.0.3
"@starknet-react/chains": ^0.1.7
Expand Down
Loading