File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed
apps/developer-hub/src/config Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change
1
+ import { Logo } from "@pythnetwork/component-library/Header" ;
1
2
import type { DocsLayoutProps } from "fumadocs-ui/layouts/docs" ;
2
3
import type { BaseLayoutProps } from "fumadocs-ui/layouts/shared" ;
3
4
@@ -7,16 +8,8 @@ export const baseOptions: BaseLayoutProps = {
7
8
nav : {
8
9
enabled : true ,
9
10
title : (
10
- // todo change the logo here
11
11
< >
12
- < svg
13
- width = "24"
14
- height = "24"
15
- xmlns = "http://www.w3.org/2000/svg"
16
- aria-label = "Logo"
17
- >
18
- < circle cx = { 12 } cy = { 12 } r = { 12 } fill = "currentColor" />
19
- </ svg >
12
+ < Logo width = "1em" height = "1em" />
20
13
Developer Hub
21
14
</ >
22
15
) ,
Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ import { Card } from "../Card/index.jsx";
20
20
import { Link } from "../Link/index.jsx" ;
21
21
import type { Link as UnstyledLink } from "../unstyled/Link/index.jsx" ;
22
22
23
+ export { default as Logo } from "./logo.svg" ;
24
+
23
25
type Props = ComponentProps < "header" > & {
24
26
appName : string ;
25
27
mainCta ?:
@@ -239,3 +241,5 @@ export const SupportDrawer = {
239
241
</ >
240
242
) ,
241
243
} ;
244
+
245
+ export { default as HeaderLogo } from "./logo.svg" ;
You can’t perform that action at this time.
0 commit comments