diff --git a/web/components/header.tsx b/web/components/header.tsx index 23a6dca0..b3921000 100644 --- a/web/components/header.tsx +++ b/web/components/header.tsx @@ -53,7 +53,7 @@ function SignedInHeaders(props: { user: User; themeClasses?: string }) { @@ -133,7 +137,12 @@ export function Header(props: { darkBackground?: boolean; children?: any }) { - + {children} {user ? ( diff --git a/web/components/user-page.tsx b/web/components/user-page.tsx index 87ba0189..ed861e27 100644 --- a/web/components/user-page.tsx +++ b/web/components/user-page.tsx @@ -29,7 +29,7 @@ export function UserLink(props: { username: string; className?: string }) { function UserCard(props: { user: User; showPrivateInfo?: boolean }) { const { user, showPrivateInfo } = props return ( - +
{user?.avatarUrl && ( : + return user ? ( + + ) : ( +
+
+ +
+ ) } diff --git a/web/pages/landing-page.tsx b/web/pages/landing-page.tsx index 19559a9a..3f158b33 100644 --- a/web/pages/landing-page.tsx +++ b/web/pages/landing-page.tsx @@ -32,17 +32,18 @@ function Hero() { return (
-
-
- About -
-
-
+
+
+
+ About +
+
+
diff --git a/web/pages/tag/[tag].tsx b/web/pages/tag/[tag].tsx index 638e4e55..67e3d314 100644 --- a/web/pages/tag/[tag].tsx +++ b/web/pages/tag/[tag].tsx @@ -18,12 +18,10 @@ export default function TagPage() { } return ( -
+
-
- - <SearchableGrid contracts={contracts === 'loading' ? [] : contracts} /> - </div> + <Title text={`#${tag}`} /> + <SearchableGrid contracts={contracts === 'loading' ? [] : contracts} /> </div> ) }