I wanted to load 3 sub page components instead of 'Foundation Landing' page. Once I click on the Foundation Landing page links Foundation Sub 1, Foundation Sub 2, Foundation Sub 3 the red dotted area of 'Foundation Landing' should replace with corresponding components FoundationSubA, FoundationSubB, FoundationSubC. Please help
<Router>
<Routes>
<Route path="/" element={<Welcomepage />} />
<Route path="SubpageLanding" element={<SubpageLanding />}>
{/* Subpages */}
<Route path="Foundation" element={<Foundation />} />
<Route path="Navigations" element={<Navigations />} />
<Route path="UiComponents" element={<UiComponents />} />
<Route path="Datavisualization" element={<Datavisualization />} />
<Route path="MediaAndIlustration" element={<MediaAndIlustration />}
/>
</Route>
</Routes>
</Router>
