Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/components/Documentation/pages/EnvironmentTypes/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { DigmaLogoIcon } from "../../../common/icons/DigmaLogoIcon";
import { EnvironmentTypeCard } from "./EnvironmentTypeCard";
import { InsightCard } from "./InsightCard";
import { environmentTypesData } from "./data";
Expand Down Expand Up @@ -63,7 +62,7 @@ export const EnvironmentTypes = () => {
<s.BottomGradientBackground />
<s.ContentContainer>
<s.Header $columnCount={columnCount}>
<s.HeaderTextContainer>
{/* <s.HeaderTextContainer>
<s.Title>
<DigmaLogoIcon size={16} />
<span>Digma Insight Overview</span>
Expand All @@ -73,7 +72,7 @@ export const EnvironmentTypes = () => {
analyzing observability for multiple environment types, from local
dev and test through CI to real world production environment.
</span>
</s.HeaderTextContainer>
</s.HeaderTextContainer> */}
{renderEnvironmentTypesTable()}
</s.Header>
<s.EnvironmentsContainer>
Expand Down
64 changes: 32 additions & 32 deletions src/components/Documentation/pages/EnvironmentTypes/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,39 +84,39 @@ export const Header = styled.div<HeaderProps>`
}};
`;

export const HeaderTextContainer = styled.div`
display: flex;
flex-direction: column;
gap: 10px;
font-size: 14px;
color: ${({ theme }) => {
switch (theme.mode) {
case "light":
return "#828797";
case "dark":
case "dark-jetbrains":
return "#b4b8bf";
}
}};
`;
// export const HeaderTextContainer = styled.div`
// display: flex;
// flex-direction: column;
// gap: 10px;
// font-size: 14px;
// color: ${({ theme }) => {
// switch (theme.mode) {
// case "light":
// return "#828797";
// case "dark":
// case "dark-jetbrains":
// return "#b4b8bf";
// }
// }};
// `;

export const Title = styled.div`
display: flex;
gap: 8px;
align-items: center;
font-size: 16px;
font-weight: 500;
text-transform: capitalize;
color: ${({ theme }) => {
switch (theme.mode) {
case "light":
return "#4d668a";
case "dark":
case "dark-jetbrains":
return "#fff";
}
}};
`;
// export const Title = styled.div`
// display: flex;
// gap: 8px;
// align-items: center;
// font-size: 16px;
// font-weight: 500;
// text-transform: capitalize;
// color: ${({ theme }) => {
// switch (theme.mode) {
// case "light":
// return "#4d668a";
// case "dark":
// case "dark-jetbrains":
// return "#fff";
// }
// }};
// `;

export const EnvironmentsContainer = styled.div`
padding: 15px 16px ${COLUMN_PADDING}px;
Expand Down