diff --git a/src/content/Ecosystem_Page/eaveai/banner.jpg b/src/content/Ecosystem_Page/eaveai/banner.jpg new file mode 100644 index 00000000..020fe91b Binary files /dev/null and b/src/content/Ecosystem_Page/eaveai/banner.jpg differ diff --git a/src/content/Ecosystem_Page/eaveai/index.md b/src/content/Ecosystem_Page/eaveai/index.md new file mode 100644 index 00000000..ab491c43 --- /dev/null +++ b/src/content/Ecosystem_Page/eaveai/index.md @@ -0,0 +1,21 @@ +--- +projectTitle: EaveAI +projectImage: "./banner.jpg" +pubDate: "2016-12-17" + +tags: + - AI & ML + +category: deployed_on_akash + +description: EaveAI is a powerful data hub that unlocks the full potential of X Spaces by aggregating and providing seamless access to valuable insights. By integrating Akash compute, EaveAI enables fast and reliable collection and delivery of Space-related data, empowering users to tap into a wealth of information. +showcase: true +ctaButton: + label: View Project + link: "https://linktr.ee/eaveai" + enable: true + +websiteLink: "https://linktr.ee/eaveai" +twitterLink: "http://x.com/eaveai" +featured: true +--- diff --git a/src/pages/ecosystem/deployed-on-akash/index.astro b/src/pages/ecosystem/deployed-on-akash/index.astro index 8afaf38b..a17d2bfc 100644 --- a/src/pages/ecosystem/deployed-on-akash/index.astro +++ b/src/pages/ecosystem/deployed-on-akash/index.astro @@ -2,21 +2,39 @@ import { getCollection } from "astro:content"; import EcosystemPage from "@/components/ecosystem-pages/ecosystem-page.astro"; -import { getPriorityIndex } from "@/utils/sequences/deployedOnAkash"; +import { + deployedOnAkash, + getPriorityIndex, +} from "@/utils/sequences/deployedOnAkash"; -const projects = (await getCollection("Ecosystem_Page")) - .filter((project) => project.data.category === "deployed_on_akash") +const priorityProjects = (await getCollection("Ecosystem_Page")) + .filter( + (project) => + project.data.category === "deployed_on_akash" && + getPriorityIndex(project.data.projectTitle) < deployedOnAkash.length, + ) .sort((a, b) => { - const dateA = new Date(a.data.pubDate); - const dateB = new Date(b.data.pubDate); - return ( - dateB.getTime() - dateA.getTime() && getPriorityIndex(a.data.projectTitle) - - getPriorityIndex(b.data.projectTitle) + getPriorityIndex(b.data.projectTitle) ); }); +const nonPriorityProjects = (await getCollection("Ecosystem_Page")) + .filter( + (project) => + project.data.category === "deployed_on_akash" && + getPriorityIndex(project.data.projectTitle) === deployedOnAkash.length, + ) + .sort((a, b) => { + const dateA = new Date(a.data.pubDate); + const dateB = new Date(b.data.pubDate); + + return dateB.getTime() - dateA.getTime(); + }); + +const projects = [...priorityProjects, ...nonPriorityProjects]; + const tags: string[] = []; projects.forEach((project) => {