diff --git a/apps/protoform/src/app/credit-cards/review-and-submit/page.tsx b/apps/protoform/src/app/credit-cards/review-and-submit/page.tsx index 8152cc65f..78523cf54 100644 --- a/apps/protoform/src/app/credit-cards/review-and-submit/page.tsx +++ b/apps/protoform/src/app/credit-cards/review-and-submit/page.tsx @@ -86,7 +86,7 @@ export default function Address() { Review and submit -
+

Help protect your application

Before continuing we’ll send you a one-time passcode to your mobile for added security.

diff --git a/apps/protoform/src/app/layout.tsx b/apps/protoform/src/app/layout.tsx index 0e7dd3d32..c73a81ac1 100644 --- a/apps/protoform/src/app/layout.tsx +++ b/apps/protoform/src/app/layout.tsx @@ -8,7 +8,7 @@ import { SidebarContextProvider } from '@/components/sidebar/context'; import { Sidebar } from '@/components/sidebar/sidebar'; export const metadata: Metadata = { - title: 'Create Next App', + title: 'Protoform', description: 'Generated by create next app', }; @@ -20,7 +20,7 @@ export default function RootLayout({ return ( -
+
diff --git a/apps/protoform/src/components/content-wrapper/content-wrapper.tsx b/apps/protoform/src/components/content-wrapper/content-wrapper.tsx index 1180f7003..e3f021bd7 100644 --- a/apps/protoform/src/components/content-wrapper/content-wrapper.tsx +++ b/apps/protoform/src/components/content-wrapper/content-wrapper.tsx @@ -30,7 +30,7 @@ export function ContentWrapper({ children }: { children: ReactNode }) { return (
-
+
{children}
diff --git a/apps/protoform/src/components/custom-footer/custom-footer.tsx b/apps/protoform/src/components/custom-footer/custom-footer.tsx index 8c8e09bae..7c0d3aac0 100644 --- a/apps/protoform/src/components/custom-footer/custom-footer.tsx +++ b/apps/protoform/src/components/custom-footer/custom-footer.tsx @@ -11,24 +11,24 @@ export function CustomFooter() { return (
-
- -

- Our site and your transactions are secure. You can read our{' '} - - security information - - .
© 2024 Westpac Banking Corporation ABN 33 007 457 141 AFSL and Australian credit licence 233714. -

+
+
+ +
+
+

+ Our site and your transactions are secure. You can read our{' '} + + security information + + .
© 2023 Westpac Banking Corporation ABN 33 007 457 141 AFSL and Australian credit licence 233714. +

+
); diff --git a/apps/protoform/src/components/custom-header/custom-header.tsx b/apps/protoform/src/components/custom-header/custom-header.tsx index 53a331e5d..e8ab9bbc1 100644 --- a/apps/protoform/src/components/custom-header/custom-header.tsx +++ b/apps/protoform/src/components/custom-header/custom-header.tsx @@ -2,11 +2,12 @@ import { Button, Header } from '@westpac/ui'; import { BREAKPOINTS } from '@westpac/ui/themes-constants'; -import { useRouter } from 'next/navigation'; +import { usePathname, useRouter } from 'next/navigation'; import { useEffect, useState } from 'react'; export function CustomHeader() { const router = useRouter(); + const pathname = usePathname(); const [isMobile, setIsMobile] = useState(true); const updateSize = () => { @@ -22,10 +23,10 @@ export function CustomHeader() { return (
router.back()} logoLink="/" - className="z-[100] m-auto max-w-[1922px] md:fixed md:top-0 w-full" + className="z-[100] m-auto max-w-[1921px] md:fixed md:top-0 w-full" >