-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: fix using example workspaces and scope (#3329)
- Loading branch information
Fran McDade
authored and
Fran McDade
committed
Dec 9, 2024
1 parent
dde656f
commit 910e21a
Showing
7 changed files
with
26 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { Grid2Props } from "@mui/material"; | ||
|
||
export const GRID2_PROPS: Grid2Props = { | ||
columnGap: 4, | ||
container: true, | ||
direction: "column", | ||
sx: { my: 6 }, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { CARDS as WORKSPACES } from "../../../Home/components/Section/components/SectionWorkspaces/common/content"; | ||
import { Card } from "../../../Home/components/Section/components/SectionWorkspaces/components/Workspaces/components/Card/card"; | ||
import { Grid2 } from "@mui/material"; | ||
import { GRID2_PROPS } from "./contants"; | ||
|
||
export const Workspaces = (): JSX.Element => { | ||
return ( | ||
<Grid2 {...GRID2_PROPS} sx={{ gap: 4, my: 6 }}> | ||
{WORKSPACES.map((card, index) => ( | ||
<Card key={index} card={card} /> | ||
))} | ||
</Grid2> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters