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:
Ahmad Abdolsaheb
2020-08-24 21:06:40 +03:00
committed by GitHub
parent 99585403f9
commit d9dad10f43
36 changed files with 714 additions and 252 deletions

View File

@ -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}