feat(client): shinny new landing page 🎉 (#39400)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com> Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
This commit is contained in:
@ -32,7 +32,7 @@ export default function layoutSelector({ element, props }) {
|
||||
</DefaultLayout>
|
||||
);
|
||||
}
|
||||
if (/^\/donation(\/.*)*|^\/donate(\/.*)*/.test(pathname)) {
|
||||
if (/^\/donation(\/.*)*|^\/$|^\/donate(\/.*)*/.test(pathname)) {
|
||||
return (
|
||||
<DefaultLayout pathname={pathname} useTheme={false}>
|
||||
{element}
|
||||
|
Reference in New Issue
Block a user