hunk.code_window:   ButtonPlacement,
     ButtonVariantTypes,
   } from "components/constants";
   import ButtonGroupComponent from "../component";
   class ButtonGroupWidget extends BaseWidget<
     ButtonGroupWidgetProps,
  
hunk.labels: keep keep keep add keep keep keep
hunk.after_edit: import { MinimumPopupRows } from "widgets/constants";
  
hunk.file_path: app/client/src/widgets/ButtonGroupWidget/widget/index.tsx
hunk.type: add
file: import React from "react";
  import ActionCards from "./ActionCards";
  import styled from "constants/DefaultTheme";
  import GeneratePageForm from "./GeneratePageForm/GeneratePageForm";
  
  const Container = styled.div`
    display: flex;
    justify-content: center;
    padding: 20px;
    margin-top: 40px;
  `;
  
  function PageContent() {
    const pathname = window.location.pathname;
    const hasFormRoute = pathname.includes("/form");
    return (
      <Container>
        {!hasFormRoute ? <ActionCards /> : <GeneratePageForm />}
      </Container>
    );
  }
  
  export default PageContent;
  