message: add stack overflow homepage component to default template
diff: @@ -28,12 +28,15 @@ import {
  MockStarredEntitiesApi,
  entityRouteRef,
  } from '@backstage/plugin-catalog-react';
  +import { configApiRef } from '@backstage/core-plugin-api';
  +import { ConfigReader } from '@backstage/config';
  import {
  HomePageSearchBar,
  SearchContextProvider,
  searchApiRef,
  searchPlugin,
  } from '@backstage/plugin-search';
  +import { HomePageStackOverflowQuestions } from '@backstage/plugin-stack-overflow';
  import { Grid, makeStyles } from '@material-ui/core';
  import React, { ComponentType } from 'react';
  @@ -56,6 +59,14 @@ export default {
  starredEntitiesApi,
  ],
  [searchApiRef, { query: () => Promise.resolve({ results: [] }) }],
  + [
  + configApiRef,
  + new ConfigReader({
  + stackoverflow: {
  + baseUrl: 'https://api.stackexchange.com/2.2',
  + },
  + }),
  + ],
  ]}
  >
  <Story />
  @@ -131,14 +142,17 @@ export const DefaultTemplate = () => {
  <Grid item xs={12} md={6}>
  <InfoCard title="Composable Section">
  {/* placeholder for content */}
  - <div style={{ height: 210 }} />
  + <div style={{ height: 370 }} />
  </InfoCard>
  </Grid>
  <Grid item xs={12} md={6}>
  - <InfoCard title="Composable Section">
  - {/* placeholder for content */}
  - <div style={{ height: 210 }} />
  - </InfoCard>
  + <HomePageStackOverflowQuestions
  + requestParams={{
  + tagged: 'backstage',
  + site: 'stackoverflow',
  + pagesize: 5,
  + }}
  + />
  </Grid>
  </Grid>
  </Grid>
  