PromucFlow_constructor/app/client/src/ce/pages/Upgrade/UpgradePage.tsx
Ankita Kinger b7d00d2498
feat: Adding an upgrade page for Access control (#18554)
* updated content for access control upgrade page

* added feature flag and moved content to message constants

* adding feature flag for RBAC

* updated some styles

* added a missing comma

* removed width on trigger details container

* updated some styles
2022-12-04 20:12:35 +05:30

31 lines
873 B
TypeScript

import React from "react";
import styled from "styled-components";
import { HeaderComponent as Header } from "./Header";
import { CarouselComponent as Carousel } from "./Carousel";
import { FooterComponent as Footer } from "./Footer";
import { UpgradePageProps } from "./types";
export const Container = styled.div`
border-left: thin solid var(--appsmith-color-black-50);
background-color: var(--ads-color-black-50);
height: auto;
min-height: 0;
overflow: auto;
height: calc(100vh - 50px - 112px);
width: 100%;
`;
export default function UpgradePage(props: UpgradePageProps) {
const { carousel, footer, header } = props;
return (
<Container
className="upgrade-page-container"
data-testid="t--upgrade-page-container"
>
<Header {...header} />
<Carousel {...carousel} />
<Footer {...footer} />
</Container>
);
}