Skip to content

Commit

Permalink
updated docs banner
Browse files Browse the repository at this point in the history
  • Loading branch information
brendan-defi committed Aug 21, 2024
1 parent ea9add3 commit e118573
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/base-docs/src/components/Banner/Banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type BannerProps = {
};

export default function Banner({ href, text, bannerName }: BannerProps) {
const [isBannerVisible, setIsBannerVisible] = useLocalStorage(`${bannerName}Visible'`, true);
const [isBannerVisible, setIsBannerVisible] = useLocalStorage(`${bannerName}Visible`, true);

const linkClick = useCallback(() => {
logEvent(
Expand Down
6 changes: 3 additions & 3 deletions apps/base-docs/src/theme/Navbar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ export default function Navbar() {
return (
<>
<Banner
bannerName="onchainKitBanner"
href="https://onchainkit.xyz/?utm_source=basedocs&utm_medium=banner"
text="Build on Base in minutes with OnchainKit!"
bannerName="basenamesLaunchDocsBanner"
href="https://base.org/names?utm_source=docs&utm_medium=banner"
text="Claim Your Basename Today!"
/>
<NavbarLayout>
<NavbarContent />
Expand Down

0 comments on commit e118573

Please sign in to comment.