From 1fb930cd6362df86163d414e94547f02f9ba2684 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Mon, 29 Dec 2025 17:29:11 -0800 Subject: [PATCH] New pages for scroll --- .../app/(modern)/scroll/BottomMenuBar.tsx | 13 +- .../app/(modern)/scroll/StaticPage.tsx | 180 ++++++++++++++++++ .../app/(modern)/scroll/about/page.tsx | 67 +++++++ .../app/(modern)/scroll/feedback/page.tsx | 117 ++++++++++++ 4 files changed, 371 insertions(+), 6 deletions(-) create mode 100644 packages/skin-database/app/(modern)/scroll/StaticPage.tsx create mode 100644 packages/skin-database/app/(modern)/scroll/about/page.tsx create mode 100644 packages/skin-database/app/(modern)/scroll/feedback/page.tsx diff --git a/packages/skin-database/app/(modern)/scroll/BottomMenuBar.tsx b/packages/skin-database/app/(modern)/scroll/BottomMenuBar.tsx index 4cab5632..86f753f2 100644 --- a/packages/skin-database/app/(modern)/scroll/BottomMenuBar.tsx +++ b/packages/skin-database/app/(modern)/scroll/BottomMenuBar.tsx @@ -57,7 +57,7 @@ export default function BottomMenuBar() { {isHamburgerOpen && (
} label="About" onClick={() => { @@ -87,13 +89,12 @@ export default function BottomMenuBar() { }} />{" "} } label="Feedback" onClick={() => { setIsHamburgerOpen(false); }} - external /> +
+ {children} +
+
+ ); +} + +// Styled heading components +export function Heading({ children }: { children: ReactNode }) { + return ( +

+ {children} +

+ ); +} + +export function Subheading({ children }: { children: ReactNode }) { + return ( +

+ {children} +

+ ); +} + +// Styled link component +export function Link({ + href, + children, + ...props +}: { + href: string; + children: ReactNode; + target?: string; + rel?: string; +}) { + return ( + + {children} + + ); +} + +// Styled paragraph component +export function Paragraph({ children }: { children: ReactNode }) { + return

{children}

; +} + +// Styled form components +export function Label({ children }: { children: ReactNode }) { + return ( + + ); +} + +export function Input({ + style, + ...props +}: React.InputHTMLAttributes & { style?: CSSProperties }) { + return ( + + ); +} + +export function Textarea({ + style, + ...props +}: React.TextareaHTMLAttributes & { + style?: CSSProperties; +}) { + return ( +