PromucFlow_constructor/app/client/src/pages/UserAuth/LeftSideContent.tsx
Valera Melnikov 42debc6d11
chore: rename ADS package (#35583)
## Description
Rename `design-system` package to `@appsmith/ads`

## Automation

/ok-to-test tags="@tag.All"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/10319507327>
> Commit: 65d9664dd75b750496458a6e1652e0da858e1fc6
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10319507327&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Fri, 09 Aug 2024 13:47:50 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No
2024-08-09 17:20:29 +03:00

120 lines
3.0 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { getAssetUrl } from "ee/utils/airgapHelpers";
import React from "react";
import styled from "styled-components";
import { ASSETS_CDN_URL } from "constants/ThirdPartyConstants";
import { Avatar } from "@appsmith/ads";
const Wrapper = styled.div`
width: 432px;
.left-description {
padding-bottom: 24px;
border-bottom: 1px solid var(--ads-v2-color-border);
display: flex;
flex-direction: column;
gap: var(--ads-spaces-4);
}
.left-description-container {
width: 100%;
margin: 0 auto;
font-size: 16px;
font-style: italic;
color: var(--ads-v2-color-gray-800);
}
.left-description-author {
display: flex;
align-items: center;
gap: var(--ads-spaces-3);
}
.left-description-author > div {
font-weight: 500;
font-size: 12px;
}
.dot {
font-weight: 800;
}
.client-logo-container {
padding-top: 24px;
}
.client-heading {
font-size: 12px;
font-weight: normal;
line-height: 1.33;
text-align: center;
margin-bottom: 24px;
}
.client-logo-container img {
height: 30px;
}
.client-logo-container .client-logo-section {
display: flex;
justify-content: space-around;
margin-bottom: 24px;
gap: var(--ads-spaces-3);
flex-wrap: wrap;
}
`;
function LeftSideContent() {
return (
<Wrapper>
<div className="left-description">
<div className="left-description-container">
&quot;Wed been looking for a tool like Appsmith for years. With
Appsmith we were able to build a UI on top of 12 different Snowflake
control tables. Appsmith was easy for our developers to learn, and
its easy to implement.&quot;
</div>
<div className="left-description-author">
<Avatar
image={`${getAssetUrl(`${ASSETS_CDN_URL}/thomas-zwick.png`)}`}
label="Thomas Zwick"
size="sm"
/>
<div>Thomas Zwick</div>
<div className="dot">&#183;</div>
<div>Director, Omron</div>
</div>
</div>
<div className="client-logo-container">
<div className="client-heading">
Used by more than 10,000 organisations across the globe
</div>
<div className="client-logo-section">
<img
alt="GSK logo"
src={`${getAssetUrl(`${ASSETS_CDN_URL}/gsk-logo-grey.svg`)}`}
/>
<img
alt="Omron logo"
src={`${getAssetUrl(`${ASSETS_CDN_URL}/omron-logo.svg`)}`}
/>
<img
alt="Dropbox logo"
src={`${getAssetUrl(`${ASSETS_CDN_URL}/dropbox-text-logo.svg`)}`}
/>
<img
alt="AWS logo"
src={`${getAssetUrl(`${ASSETS_CDN_URL}/aws-logo-grey.svg`)}`}
/>
<img
alt="Twilio logo"
src={`${getAssetUrl(`${ASSETS_CDN_URL}/twilio-logo.svg`)}`}
/>
</div>
</div>
</Wrapper>
);
}
export default LeftSideContent;