diff --git a/components/ActionBar/DesktopNavigation.tsx b/components/ActionBar/DesktopNavigation.tsx index 3e502d79..8306543f 100644 --- a/components/ActionBar/DesktopNavigation.tsx +++ b/components/ActionBar/DesktopNavigation.tsx @@ -17,6 +17,14 @@ import { TabsSmall } from "components/Icons/TabsSmall"; import { SpeedyLink } from "components/SpeedyLink"; import { GoToArrow } from "components/Icons/GoToArrow"; import { GoToArrowLined } from "components/Icons/GoToArrowLined"; +import { HelpSmall } from "components/Icons/HelpSmall"; +import { Popover } from "components/Popover"; +import { useIsMobile } from "src/hooks/isMobile"; +import { BlueskyTiny } from "components/Icons/BlueskyTiny"; +import { BlueskySmall } from "components/Icons/BlueskySmall"; +import { Separator } from "components/Layout"; +import { LeafletTiny } from "components/Icons/LeafletTiny"; +import { ButtonPrimary } from "components/Buttons"; type NavigationProps = { pageTitle: React.ReactNode; @@ -70,20 +78,15 @@ export const NavigationContent = (props: NavigationProps) => { return ( <> - {props.pageTitle} - + {props.pageTitle}
{props.actions && ( <> -
-
{props.actions}
+ {props.tabs &&
} )} - {props.tabs && ( <> -
- {Object.entries(props.tabs).map(([name, { href, icon }]) => ( { ))} )} - {onWriterPage && }
- { } /> {identity?.atp_did && } - {identity ? ( - <> -
- - - ) : ( - } - label="Log In/Sign Up" +
+ {identity ? ( + <> +
+
+ +
+ + ) : ( +
+ } + label="Log In/Sign Up" + /> + } /> - } - /> - )} +
+ )} + +
); }; +const HelpPopover = () => { + let isMobile = useIsMobile(); + return ( + + + + } + > +
+

Welcome to Leaflet!

+
+ An expressive tool for publishing blogs and newsletters +
+ +
+
+ + Terms + + {/* + THIS SHOULD GO TO THE LANDING PAGE + + Learn More + + */} + + Contact + +
+
+
+ ); +}; + export const PageTitle = (props: { pageTitle: string; showBackButton?: boolean; diff --git a/components/ActionBar/NavigationButtons.tsx b/components/ActionBar/NavigationButtons.tsx index 52613dbf..27d31e9a 100644 --- a/components/ActionBar/NavigationButtons.tsx +++ b/components/ActionBar/NavigationButtons.tsx @@ -99,7 +99,6 @@ export function NotificationButton() { type="button" onClick={handleClick} labelOnMobile={false} - className="w-full!" icon={ unreads ? ( diff --git a/components/Icons/LeafletTiny.tsx b/components/Icons/LeafletTiny.tsx new file mode 100644 index 00000000..e6018425 --- /dev/null +++ b/components/Icons/LeafletTiny.tsx @@ -0,0 +1,19 @@ +import { Props } from "./Props"; + +export const LeafletTiny = (props: Props) => { + return ( + + + + ); +}; diff --git a/components/SpeedyLink.tsx b/components/SpeedyLink.tsx index 4848ffbb..ac900828 100644 --- a/components/SpeedyLink.tsx +++ b/components/SpeedyLink.tsx @@ -7,6 +7,7 @@ export function SpeedyLink(props: { className?: string; style?: React.CSSProperties; children?: React.ReactNode; + target?: string; }) { let [prefetch, setPrefetch] = useState(false); return ( @@ -16,6 +17,7 @@ export function SpeedyLink(props: { style={props.style} prefetch={prefetch} href={props.href} + target={props.target} className={props.className} > {props.children}