Fixed empty pagePathPrefix not redirecting

When the pagePathPrefix is an empty string, clicking the logo did not redirect.
After I switched around 2 certain `.navigate()` commands, it worked as expected.
Merge pull request #10 from ArtskydJ/patch-2

Fixed empty pagePathPrefix not redirecting