This is a small demo of a site, Spice.ly, that demonstrates top-level routes and further down routes.
-
exact / renders
<Homepage />
-
non-exact /about renders
<AboutSection />
-
else - redirect to
<Homepage />
The about section has self-contained routing to:
-
exact /about - renders nothing (already rendered by
<AboutSection />
) -
exact /about/jobs renders
<JobsList />
-
exact /about/team renders
<Team />
-
else - redirect to
<AboutSection />