diff --git a/docs/src/components/Card/index.jsx b/docs/src/components/Card/index.jsx index 9131951c74f..e6ca396b105 100644 --- a/docs/src/components/Card/index.jsx +++ b/docs/src/components/Card/index.jsx @@ -23,6 +23,7 @@ export default function Card({ item }) { {item.link_text || "Learn more"} )} + {item.dateAdded &&
Added {item.dateAdded}
} ); } diff --git a/docs/src/components/Card/styles.module.css b/docs/src/components/Card/styles.module.css index c4a5e252eb3..8bf83c2076d 100644 --- a/docs/src/components/Card/styles.module.css +++ b/docs/src/components/Card/styles.module.css @@ -48,3 +48,9 @@ .link:hover { text-decoration: underline; } + +.dateAdded { + margin-top: 0.75rem; + color: var(--ifm-color-emphasis-600); + font-size: 0.8rem; +} diff --git a/docs/src/pages/support/index.jsx b/docs/src/pages/support/index.jsx index 042f93456f5..5165cdfe882 100644 --- a/docs/src/pages/support/index.jsx +++ b/docs/src/pages/support/index.jsx @@ -14,9 +14,12 @@ const vendors = [ "Policy-as-Code Laboratories provides strategic planning and integration consulting for OPA and Rego across the PaC ecosystem (Cloud, Kubernetes, OpenShift, and legacy platforms).", link: "https://paclabs.io/opa_support.html?utm_source=opa&utm_content=opa-support", link_text: "Learn more", + dateAdded: "2023-08-25", }, ]; +const sortedVendors = [...vendors].sort((a, b) => a.dateAdded.localeCompare(b.dateAdded)); + export default function Support() { return ( Open Policy Agent Support -

+

Below is a list of companies that offer commercial support and other enterprise offerings for Open Policy Agent. + Companies add themselves via pull request and listings are ordered by the date they were added. +

+

+ This list is not vetted by the OPA project maintainers and inclusion is not an endorsement. Evaluate offerings + to find the right fit for your needs.

- {vendors.map((item, idx) => )} + {sortedVendors.map((item, idx) => )}
);