diff --git a/app/components/github-project-link.tsx b/app/components/github-project-link.tsx new file mode 100644 index 00000000..e65f038f --- /dev/null +++ b/app/components/github-project-link.tsx @@ -0,0 +1,14 @@ +import { Icon } from './ui/icon' + +export const GithubProjectLink = () => { + return ( + + + GitHub Project + + + ) +} diff --git a/app/components/layout/page-header.tsx b/app/components/layout/page-header.tsx index 24fa3f85..3d3f4ff1 100644 --- a/app/components/layout/page-header.tsx +++ b/app/components/layout/page-header.tsx @@ -1,5 +1,6 @@ import { Link } from '@remix-run/react' import { useOptionalUser } from '#app/utils/user' +import { GithubProjectLink } from '../github-project-link' import Logo from '../logo' import { ThemeSwitch } from '../theme-switch' import { Button } from '../ui/button' @@ -13,7 +14,14 @@ const PageHeader = () => { diff --git a/app/routes/_marketing+/components/content.tsx b/app/routes/_marketing+/components/content.tsx index e08dfaf2..2f8f332a 100644 --- a/app/routes/_marketing+/components/content.tsx +++ b/app/routes/_marketing+/components/content.tsx @@ -5,11 +5,9 @@ import { } from '#app/components/layout/marketing' import { Icon } from '#app/components/ui/icon' -export const ContentHeader = () => { +export const ContentHeader = ({ username }: { username: string }) => { return ( - - PPPAAATTT - + {username.toUpperCase()} ) } diff --git a/app/routes/_marketing+/components/user-details.tsx b/app/routes/_marketing+/components/user-details.tsx index 826a290d..f4e96fea 100644 --- a/app/routes/_marketing+/components/user-details.tsx +++ b/app/routes/_marketing+/components/user-details.tsx @@ -1,7 +1,6 @@ import { MarketingDetailsSection, MarketingLogoImage, - MarketingLogoLink, } from '#app/components/layout/marketing' import { getUserImgSrc } from '#app/utils/misc' import { type IUserMarketing } from '..' @@ -10,17 +9,11 @@ import { ContentBody, ContentContact, ContentHeader } from './content' export const UserDetails = ({ user }: { user: IUserMarketing }) => { return ( - - - - + +