diff --git a/website/src/components/gallery/ShowcaseCard/index.tsx b/website/src/components/gallery/ShowcaseCard/index.tsx
index 24e741b0..b13e060f 100644
--- a/website/src/components/gallery/ShowcaseCard/index.tsx
+++ b/website/src/components/gallery/ShowcaseCard/index.tsx
@@ -114,8 +114,19 @@ function ShowcaseCardTag({
<>
{tagObjectsSorted.map((tagObject, index) => {
const id = `showcase_card_tag_${tagObject.tag}`;
-
- return ;
+ if (
+ tagObject.tag == "msft" ||
+ tagObject.tag == "community" ||
+ tagObject.tag == "new" ||
+ tagObject.tag == "popular"
+ ) {
+ return;
+ }
+ return (
+
+
+
+ );
})}
>
);
@@ -123,9 +134,16 @@ function ShowcaseCardTag({
} else {
return (
<>
- {tagObjectsSorted.map((tagObject, index) => {
+ {tagObjectsSorted.map((tagObject,index) => {
const id = `showcase_card_tag_${tagObject.tag}`;
-
+ if (
+ tagObject.tag == "msft" ||
+ tagObject.tag == "community" ||
+ tagObject.tag == "new" ||
+ tagObject.tag == "popular"
+ ) {
+ return;
+ }
return (
{headerText}
-
-
- NEW
-
-
-
- POPULAR
-
+ {tags.includes("new") ? (
+ <>
+
+
+ NEW
+
+ >
+ ) : null}
+ {tags.includes("popular") ? (
+ <>
+
+
+ POPULAR
+
+ >
+ ) : null}
}
/>
@@ -443,7 +469,7 @@ function ShowcaseCard({ user }: { user: User }) {
>
by
-
+
-
+
@@ -615,6 +641,12 @@ export function ShowcaseContributionCard(): React.ReactElement {
fontWeight: "550",
fontSize: "12px",
}}
+ onClick={() => {
+ window.open(
+ "https://github.com/Azure/awesome-azd/compare",
+ "_blank"
+ );
+ }}
>
Submit a template
@@ -629,6 +661,12 @@ export function ShowcaseContributionCard(): React.ReactElement {
paddingLeft: "10px",
fontSize: "12px",
}}
+ onClick={() => {
+ window.open(
+ "https://github.com/Azure/awesome-azd/issues/new?assignees=nigkulintya%2C+savannahostrowski&labels=requested-contribution&template=%F0%9F%A4%94-submit-a-template-request.md&title=%5BIdea%5D+%3Cyour-template-name%3E",
+ "_blank"
+ );
+ }}
>
Request a template
@@ -684,7 +722,7 @@ function ShowcaseCardPanel({ user }: { user: User }) {
>
by
-
+
- If you already have the Azure Dev CLI installed on your
+ If you already have the Azure Developer CLI installed on your
machine, using this template is as simple as running this
command in a new directory.
diff --git a/website/src/data/tags.tsx b/website/src/data/tags.tsx
index 797caf31..496763df 100644
--- a/website/src/data/tags.tsx
+++ b/website/src/data/tags.tsx
@@ -157,9 +157,9 @@ export const Tags: { [type in TagType]: Tag } = {
"This tag is used for admin-curated templates that represent high-quality (community) or official (Microsoft) azd templates.",
},
- //============ FOR REGULAR USE
+ //============ FOR REGULAR USE
- // Language Tags
+ // Language Tags
javascript: {
label: "JavaScript",
@@ -520,4 +520,3 @@ export const Tags: { [type in TagType]: Tag } = {
type: "Topic",
},
};
-