From b1eee8ada8d1a6687516f5885112aeb2a2cf4331 Mon Sep 17 00:00:00 2001 From: hemarina Date: Tue, 19 Sep 2023 10:19:17 -0700 Subject: [PATCH] update changes on cards --- .../components/gallery/ShowcaseCard/index.tsx | 109 +++++++++--------- 1 file changed, 55 insertions(+), 54 deletions(-) diff --git a/website/src/components/gallery/ShowcaseCard/index.tsx b/website/src/components/gallery/ShowcaseCard/index.tsx index f3e329d9..c08c5d9b 100644 --- a/website/src/components/gallery/ShowcaseCard/index.tsx +++ b/website/src/components/gallery/ShowcaseCard/index.tsx @@ -18,6 +18,7 @@ import { CardHeader, CardFooter, Button, + Badge, CardPreview, Link as FluentUILink, ToggleButton, @@ -36,30 +37,26 @@ import { FontWeights, Popup, Separator, - IPivotStyles + IPivotStyles, } from "@fluentui/react"; import { title } from "process"; const TagComp = React.forwardRef( ({ label, description }) => ( - + ) ); @@ -92,23 +89,19 @@ function ShowcaseCardTag({ ); })} - + ); } else { @@ -218,7 +211,7 @@ const useStyles = makeStyles({ height: "368px", maxWidth: "100%", maxHeight: "100%", - minWidth:'300px', + minWidth: "300px", }, text: { color: "#606060", @@ -227,15 +220,15 @@ const useStyles = makeStyles({ cardTitle: { verticalAlign: "middle", fontSize: "16px", - color: "#6656d1", - fontWeight: "600", + color: "#7160E8", + fontWeight: "650", }, cardTextBy: { fontSize: "12px", color: "#707070", }, cardAuthor: { - color: "#6656d1", + color: "#7160E8", }, cardDescription: { fontSize: "14px", @@ -245,14 +238,9 @@ const useStyles = makeStyles({ fontSize: "10px", color: "#606060", }, - cardFooterQuickUse: { - fontSize: "10px", - color: "#424242", - fontWeight: "600", - }, cardFooterAzdCommand: { fontSize: "11px", - fontFamily: '"Consolas-Regular", Helvetica', + fontFamily: "consolas", color: "#606060", }, }); @@ -288,7 +276,11 @@ function ShowcaseCard({ user }: { user: User }) { flex: "8", }} > - +
- -
- Quick Use -
+
@@ -537,8 +534,8 @@ export function ShowcaseContributionCard(): React.ReactElement { style={{ color: "#242424", fontSize: "24px", - fontWeight: "550", - height:'0px', + fontWeight: "550", + height: "0px", }} > See your template here! @@ -571,10 +568,10 @@ export function ShowcaseContributionCard(): React.ReactElement { flex: 1, color: "#ffffff", fontSize: "14px", - backgroundColor: "#6656d1", + backgroundColor: "#7160E8", height: "32px", whiteSpace: "nowrap", - fontWeight: "550", + fontWeight: "550", }} > Submit a template @@ -584,12 +581,12 @@ export function ShowcaseContributionCard(): React.ReactElement { appearance="transparent" style={{ flex: 1, - color: "#6656d1", + color: "#7160E8", fontSize: "14px", height: "32px", whiteSpace: "nowrap", - fontWeight: "550", - paddingLeft:'10px' + fontWeight: "550", + paddingLeft: "10px", }} > Request a template @@ -644,13 +641,13 @@ function ShowcaseCardPanel({ user }: { user: User }) { }} >
by
-
+
View in GitHub @@ -686,12 +683,16 @@ function ShowcaseCardPanel({ user }: { user: User }) { overflow: "hidden", columnGap: "5px", flexFlow: "wrap", - padding:'5px 0' + padding: "5px 0", }} >
- + • @@ -1110,7 +1111,7 @@ function ShowcaseCardAzureTag({ tags }: { tags: TagType[] }) { href={tagObject.url} target="_blank" style={{ - color: "#6656d1", + color: "#7160E8", fontSize: "12px", fontWeight: "400", }}