diff --git a/next.config.js b/next.config.js
index ccfef94..1d17be8 100644
--- a/next.config.js
+++ b/next.config.js
@@ -111,6 +111,11 @@ const moduleExports = {
destination: `/governance`,
permanent: true,
},
+ {
+ source: "/partners",
+ destination: `/ecosystem`,
+ permanent: true,
+ },
];
},
async rewrites() {
diff --git a/pages/partners.tsx b/pages/ecosystem.tsx
similarity index 94%
rename from pages/partners.tsx
rename to pages/ecosystem.tsx
index c39947e..96dab59 100644
--- a/pages/partners.tsx
+++ b/pages/ecosystem.tsx
@@ -10,7 +10,7 @@ import formatSeo from "../src/utils/seo";
import transformLinks from "../src/utils/transformLinks";
import capitalize from "lodash/capitalize";
-const Partners = ({ seo, navLinks, partners }) => {
+const Ecosystem = ({ seo, navLinks, partners }) => {
const [category, setCategory] = useState("");
const categoryPartners = partners?.filter((partner) => {
@@ -29,10 +29,10 @@ const Partners = ({ seo, navLinks, partners }) => {
return (
<>
- Partners
+ Ecosystem
-
+
@@ -41,7 +41,7 @@ const Partners = ({ seo, navLinks, partners }) => {
className="text-[40px] leading-[40px] md:text-[64px] md:leading-[72px]"
style={{ fontWeight: 500 }}
>
- Partners
+ Ecosystem
OUSD is a constantly evolving ecosystem offering the best-risk
@@ -140,14 +140,16 @@ const Partners = ({ seo, navLinks, partners }) => {
};
export async function getStaticProps() {
- const partnerRes = await fetchAPI("/ousd-partners", {
+ const partnerRes = await fetchAPI(
+ "/ousd-partners?pagination[pageSize]=1000",
+ {
populate: {
logo: {
populate: "*",
},
},
});
- const seoRes = await fetchAPI("/ousd/page/en/%2Fpartners");
+ const seoRes = await fetchAPI("/ousd/page/en/%2Fecosystem");
const navRes = await fetchAPI("/ousd-nav-links", {
populate: {
links: {
@@ -168,4 +170,4 @@ export async function getStaticProps() {
};
}
-export default Partners;
+export default Ecosystem;
diff --git a/public/images/splines-partners.png b/public/images/splines-ecosystem.png
similarity index 100%
rename from public/images/splines-partners.png
rename to public/images/splines-ecosystem.png
diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx
index fc76d79..dbadad2 100644
--- a/src/components/Footer.tsx
+++ b/src/components/Footer.tsx
@@ -67,13 +67,13 @@ export default function Footer() {
- Partners
+ Ecosystem