changed example to show nested components on child page