When I search for my website name on Google, how can I display all my pages in one section?

For instance, when searching on Google, these are the results that appear on the home page:
  • Popular communities
  • Reactjs community
  • Reactjs community
  • IAmA community
  • Programming community

What you are looking for is called sitelinks. Google automatically generates these based on your site structure and relevance. To encourage them, make sure your site has clear navigation, a good internal linking structure, and relevant, high-quality content. Also, use descriptive titles and meta descriptions. It’s not guaranteed, but these steps help! You should also submit an XML sitemap to Google Search Console and use structured data.