-
Notifications
You must be signed in to change notification settings - Fork 1
Trustlab: Showcase block #1181
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
base: main
Are you sure you want to change the base?
Trustlab: Showcase block #1181
Conversation
…, and description; update padding and layout for improved responsiveness. Add Jest snapshot for ShowCase component.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏽
import { Box, Button } from "@mui/material"; | ||
import React from "react"; | ||
|
||
function ShowCase({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is Showcase (one word) component... The goal isn't to showcase the images and content. I think it's more of a call to action i.e. calling attention to the incubator or security course on academy.AFRICA.
<Section | ||
sx={{ | ||
maxWidth: { md: "100%", xs: "100%" }, | ||
bgcolor: "common.black", | ||
color: "common.white", | ||
py: 8, | ||
}} | ||
fixed={false} | ||
> | ||
<Box |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comment here.
richText({ | ||
name: "title", | ||
required: true, | ||
}), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are titles actually rich text?
options: [ | ||
{ label: "Left to Right", value: "ltr" }, | ||
{ label: "Right to Left", value: "rtl" }, | ||
], | ||
defaultValue: "ltr", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rtl
could mean we're writing Arabic now 😄. May be we should have order
(I think Grid
has something similar) i.e. images first vs content first
Description
Adds an image showcase and content
Fixes # (issue)
Type of change
Please delete options that are not relevant.
functionality to not work as expected)
Screenshots
Checklist: