Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Sistent Card Component #6196

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Anand-Theertha
Copy link
Contributor

@Anand-Theertha Anand-Theertha commented Jan 17, 2025

Description

This PR fixes #5908. This PR adds a Card component to the Sistent components. Made changes according to the feedback suggested. Following are a few screenshots of how the implementation looks:

image

image

image

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

Signed-off-by: Anand-Theertha <anandtheerthav3@gmail.com>
@l5io
Copy link
Contributor

l5io commented Jan 17, 2025

🚀 Preview for commit cef7f5a at: https://6789dc13b28845a8c5456072--layer5.netlify.app

@Anand-Theertha
Copy link
Contributor Author

Please check and let me know if it looks good: @sudhanshutech @Vidit-Kushwaha

@vishalvivekm
Copy link
Contributor

@Anand-Theertha
Thank you for your contribution!
Let's discuss this during the website call on Monday at 7 AM CT.

adding it as an agenda item to the meeting minutes.

@leecalcote
Copy link
Member

@Vidit-Kushwaha please review.

Copy link
Contributor

@Vidit-Kushwaha Vidit-Kushwaha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have provided some suggestions @Anand-Theertha kindly look into these comment. else look good to me @sudhanshutech any suggestions?

<Typography variant="h5" component="div">
Layer5
</Typography>
<Typography sx={{ color: "#9d9d9d", fontSize: 15, mb: 1.5 }}>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't use custom colors, font sizes in typography. Kindly look into sistent's theme that we use

</CardContent>
</CardActions>
<CardActions>
<Button size="small" color="primary" variant="outlined">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<Button size="small" color="primary" variant="outlined">
<Button size="small" color="primary" variant="outlined">

generally we don't use mui's color prop you can make it default color rather that specifying color as primary
Screenshot 2025-01-23 at 2 28 52 AM

import { CodeBlock } from "../button/code-block";
import { SistentLayout } from "../../sistent-layout";

import MesheryLogo from "../../../../../assets/images/meshery/meshery-logo-light-text-side.webp";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you are using logo make it sure you use for both themes (i.e. light and dark theme)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

[Sistent] Add Card component to the sistent components page
5 participants