|
@@ -155,7 +155,17 @@ export const NamespaceList: React.FunctionComponent = () => {
|
|
|
<NamespacesGrid>
|
|
<NamespacesGrid>
|
|
|
{sortedNamespaces.map((namespace) => {
|
|
{sortedNamespaces.map((namespace) => {
|
|
|
return (
|
|
return (
|
|
|
- <StyledCard key={namespace?.metadata?.name}>
|
|
|
|
|
|
|
+ <StyledCard
|
|
|
|
|
+ key={namespace?.metadata?.name}
|
|
|
|
|
+ onClick={() =>
|
|
|
|
|
+ pushFiltered(
|
|
|
|
|
+ { location, history },
|
|
|
|
|
+ `/applications/${currentCluster.name}/${namespace.metadata.name}`,
|
|
|
|
|
+ [],
|
|
|
|
|
+ {}
|
|
|
|
|
+ )
|
|
|
|
|
+ }
|
|
|
|
|
+ >
|
|
|
<ContentContainer>
|
|
<ContentContainer>
|
|
|
<Title>{namespace?.metadata?.name}</Title>
|
|
<Title>{namespace?.metadata?.name}</Title>
|
|
|
<Status margin_left={"0px"}>
|
|
<Status margin_left={"0px"}>
|
|
@@ -309,6 +319,13 @@ const StyledCard = styled.div`
|
|
|
opacity: 1;
|
|
opacity: 1;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
|
|
|
+ :hover {
|
|
|
|
|
+ transform: scale(1.05);
|
|
|
|
|
+ box-shadow: 0 8px 20px 0px #00000030;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ }
|
|
|
`;
|
|
`;
|
|
|
|
|
|
|
|
const ContentContainer = styled.div`
|
|
const ContentContainer = styled.div`
|