Skip to content

Commit

Permalink
Merge branch 'develop' into feat/trial-end-blocker-screen-analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
sharpshooter90 committed Sep 26, 2024
2 parents ebde958 + 44a3469 commit 13c895d
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 7 deletions.
29 changes: 29 additions & 0 deletions frontend/src/pages/WorkspaceLocked/WorkspaceLocked.styles.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
$light-theme: 'lightMode';
$dark-theme: 'darkMode';

@keyframes gradientFlow {
0% {
Expand Down Expand Up @@ -147,6 +148,34 @@ $light-theme: 'lightMode';
animation: gradientFlow 24s ease infinite;
margin-bottom: 18px;
}

&__faq-container {
width: 100%;

.ant-collapse,
.ant-collapse-item,
.ant-collapse-content-active {
.#{$dark-theme} & {
border-color: var(--bg-slate-400);
}
}
}

&__customer-stories {
&__left-container,
&__right-container {
display: flex;
flex-direction: column;
}

&__left-container {
align-items: flex-end;
}

&__right-container {
align-items: flex-start;
}
}
}

.contact-us {
Expand Down
28 changes: 21 additions & 7 deletions frontend/src/pages/WorkspaceLocked/WorkspaceLocked.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,18 @@ export default function WorkspaceBlocked(): JSX.Element {
children: (
<Row gutter={[24, 16]} justify="center">
{/* #FIXME: please suggest if there is any better way to loop in different columns to get the masonry layout */}
<Col span={10}>{renderCustomerStories((index) => index % 2 === 0)}</Col>
<Col span={10}>{renderCustomerStories((index) => index % 2 !== 0)}</Col>
<Col
span={10}
className="workspace-locked__customer-stories__left-container"
>
{renderCustomerStories((index) => index % 2 === 0)}
</Col>
<Col
span={10}
className="workspace-locked__customer-stories__right-container"
>
{renderCustomerStories((index) => index % 2 !== 0)}
</Col>
{isAdmin && (
<Col span={24}>
<Flex justify="center">
Expand Down Expand Up @@ -235,8 +245,12 @@ export default function WorkspaceBlocked(): JSX.Element {
label: t('faqs'),
children: (
<Row align="middle" justify="center">
<Col span={18}>
<Space size="large" direction="vertical">
<Col span={12}>
<Space
size="large"
direction="vertical"
className="workspace-locked__faq-container"
>
<Collapse
items={faqData}
defaultActiveKey={['signoz-cloud-vs-community']}
Expand Down Expand Up @@ -346,7 +360,7 @@ export default function WorkspaceBlocked(): JSX.Element {
loading={isLoading}
onClick={handleUpdateCreditCard}
>
continue my journey
Continue my Journey
</Button>
</Col>
<Col>
Expand All @@ -362,13 +376,13 @@ export default function WorkspaceBlocked(): JSX.Element {
</Row>
)}

<Flex justify="center" className="workspace-locked__tabs">
<div className="workspace-locked__tabs">
<Tabs
items={tabItems}
defaultActiveKey="youAreInGoodCompany"
onTabClick={handleTabClick}
/>
</Flex>
</div>
</>
)}
</div>
Expand Down

0 comments on commit 13c895d

Please sign in to comment.