Skip to content

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Trustlab: Showcase block #1181

wants to merge 7 commits into from

Conversation

koechkevin
Copy link
Contributor

@koechkevin koechkevin commented Jun 5, 2025

Description

Adds an image showcase and content

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)
    functionality to not work as expected)

Screenshots

image
image

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation

@koechkevin koechkevin self-assigned this Jun 5, 2025
@koechkevin koechkevin marked this pull request as draft June 5, 2025 06:27
@koechkevin koechkevin marked this pull request as ready for review June 5, 2025 12:25
@koechkevin koechkevin requested a review from a team June 5, 2025 12:25
Copy link
Member

@kilemensi kilemensi left a 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({
Copy link
Member

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.

Comment on lines +20 to +29
<Section
sx={{
maxWidth: { md: "100%", xs: "100%" },
bgcolor: "common.black",
color: "common.white",
py: 8,
}}
fixed={false}
>
<Box
Copy link
Member

Choose a reason for hiding this comment

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

See my comment here.

Comment on lines +12 to +15
richText({
name: "title",
required: true,
}),
Copy link
Member

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?

Comment on lines +26 to +30
options: [
{ label: "Left to Right", value: "ltr" },
{ label: "Right to Left", value: "rtl" },
],
defaultValue: "ltr",
Copy link
Member

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

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

Successfully merging this pull request may close these issues.

2 participants