Skip to content

Commit

Permalink
Merge pull request #338 from kindlyman343423/Update-Akash-Ecosystem-p…
Browse files Browse the repository at this point in the history
…age-with-the-latest-relevant-projects

feat: move AI & ML on the top and fix order on the Deployed on Akash …
  • Loading branch information
HoomanDgtl committed Aug 21, 2024
2 parents 0c0326c + c3cbf8b commit b0ad8bb
Show file tree
Hide file tree
Showing 17 changed files with 203 additions and 27 deletions.
62 changes: 35 additions & 27 deletions src/components/ecosystem-pages/categories.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,22 @@ import ButtonLink from "../ui/button-link.astro";
const astroUrl = Astro.url;
const pathName = astroUrl.pathname.split("/");
const { tags } = Astro.props;
console.log(tags);
// Normalize tags to lowercase and remove duplicates
const normalizedTags = [...new Set(tags.map(tag => tag.toLowerCase()))];
// Separate "ai & ml" tag and sort the rest alphabetically
const aiMlTag = ["ai & ml"];
const sortedTags = [
...aiMlTag,
...normalizedTags.filter(tag => tag !== "ai & ml").sort((a, b) => a.localeCompare(b)),
];
// Function to display "AI & ML" in proper casing
const displayTag = (tag) => tag === "ai & ml" ? "AI & ML" : tag
.split(" ")
.map(word => word.charAt(0).toUpperCase() + word.slice(1))
.join(" ");
---

<div class="hidden w-[200px] flex-shrink-0 pt-5 lg:block">
Expand All @@ -15,7 +30,7 @@ console.log(tags);
<div class="mt-4 flex flex-col gap-y-4">
<a
href={`/ecosystem/${pathName?.[2]}/latest`}
class={`inline-flex cursor-pointer text-base font-medium hover:text-primary ${
class={`inline-flex cursor-pointer text-base font-medium hover:text-primary ${
astroUrl.pathname === `/ecosystem/${pathName?.[2]}/latest`
? "text-primary"
: "text-para"
Expand All @@ -24,29 +39,22 @@ console.log(tags);
All
</a>
{
tags
.sort(() => Math.random() - 0.5)
.map((tag: string) => (
<a
href={`/ecosystem/${pathName?.[2]}/${tag.toLowerCase()}/latest/1`}
class={`inline-flex cursor-pointer text-base font-medium hover:text-primary ${
astroUrl.pathname
.split("/")[3]
.split("%20")
.join(" ")
.toLowerCase() === tag.toLowerCase()
? "text-primary"
: "text-para"
}`}
>
{tag === "ai & ml"
? "AI & ML"
: tag
.split(" ")
.map((word) => word.charAt(0).toUpperCase() + word.slice(1))
.join(" ")}
</a>
))
sortedTags.map((tag: string) => (
<a
href={`/ecosystem/${pathName?.[2]}/${tag.toLowerCase()}/latest/1`}
class={`inline-flex cursor-pointer text-base font-medium hover:text-primary ${
astroUrl.pathname
.split("/")[3]
.split("%20")
.join(" ")
.toLowerCase() === tag.toLowerCase()
? "text-primary"
: "text-para"
}`}
>
{displayTag(tag)}
</a>
))
}
</div>

Expand All @@ -60,7 +68,7 @@ console.log(tags);

<ButtonLink
link="https://github.com/akash-network/website-revamp?tab=readme-ov-file#how-to-contribute-a-project-to-the-ecosystem"
className="mt-4 "
className="mt-4"
variant="secondary"
>
<ArrowUpCircle className="w-4 rotate-45" />
Expand All @@ -69,4 +77,4 @@ console.log(tags);
</div>
)
}
</div>
</div>
21 changes: 21 additions & 0 deletions src/content/Ecosystem_Page/aukilabs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
projectTitle: AukiLabs
projectImage: "./project-banner.png"
pubDate: "2023-12-21"

tags:
- AI & ML

category: deployed_on_akash

description: Virtual real estate for shared augmented reality, allowing you to manifest your knowledge and imagination in the minds of others. Our unique solutions are powered by The Posemesh, a decentralized and privacy-preserving protocol for collaborative spatial computing.

ctaButton:
label: View Project
link: "https://www.aukilabs.com/"
enable: true

websiteLink: "https://www.aukilabs.com/"
twitterLink: "https://twitter.com/AukiLabs"
featured: true
---
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions src/content/Ecosystem_Page/brev/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
projectTitle: Brev.dev
projectImage: "./project-banner.png"
pubDate: "2021-02-01"

tags:
- AI & ML

category: deployed_on_akash

description: Brev.dev, known for its seamless setup of Jupyter notebooks for AI development, has integrated with Akash Network, enabling scalable, permissionless access to NVIDIA GPUs.

ctaButton:
label: View Project
link: "https://brev.dev/"
enable: true

websiteLink: "https://brev.dev/"
twitterLink: "https://twitter.com/brevdev"
featured: true
---
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions src/content/Ecosystem_Page/flock.io/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
projectTitle: Flock.io
projectImage: "./project-banner.png"
pubDate: "2022-04-11"

tags:
- AI & ML

category: deployed_on_akash

description: Flock.io is advancing open, decentralized AI by integrating with Akash's Supercloud, making it simple for developers to access high-performance compute for training AI models.

ctaButton:
label: View Project
link: "https://www.flock.io/"
enable: true

websiteLink: "https://www.flock.io/"
twitterLink: "https://twitter.com/flock_io"
featured: true
---
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions src/content/Ecosystem_Page/nodeshift/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
projectTitle: NodeShift
projectImage: "./project-banner.png"
pubDate: "2017-03-09"

tags:
- AI & ML

category: deployed_on_akash

description: NodeShift offers reliable, scalable, secure and decentralized cloud computing services.

ctaButton:
label: View Project
link: "https://nodeshift.com/"
enable: true

websiteLink: "https://nodeshift.com/"
twitterLink: "https://twitter.com/nodeshiftcloud"
featured: true
---
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions src/content/Ecosystem_Page/nousresearch/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
projectTitle: Nousresearch
projectImage: "./project-banner.png"
pubDate: "2023-03-04"

tags:
- AI & ML

category: deployed_on_akash

description: The AI Accelerator Company

ctaButton:
label: View Project
link: "https://nousresearch.com/"
enable: true

websiteLink: "https://nousresearch.com/"
twitterLink: "https://twitter.com/NousResearch"
featured: true
---
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions src/content/Ecosystem_Page/primeIntellect/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
projectTitle: PrimeIntellect AI
projectImage: "./project-banner.png"
pubDate: "2024-02-23"

tags:
- AI & ML

category: deployed_on_akash

description: Prime Intellect leverages Akash Supercloud's high-performance GPUs, like NVIDIA H100 and A100, to democratize AI development.

ctaButton:
label: View Project
link: "https://www.primeintellect.ai/"
enable: true

websiteLink: "https://www.primeintellect.ai/"
twitterLink: "https://twitter.com/PrimeIntellect"
featured: true
---
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions src/content/Ecosystem_Page/texas-edu/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
projectTitle: Texas-edu
projectImage: "./project-banner.png"
pubDate: "2023-11-01"

tags:
- AI & ML

category: deployed_on_akash

description: The University of Texas at Austin is a bold, ambitious leader, providing a first-class education and the tools of discovery to more than 51,000 students.

ctaButton:
label: View Project
link: "https://www.utexas.edu/"
enable: true

websiteLink: "https://www.utexas.edu/"
twitterLink: "https://twitter.com/UTAustin"
featured: true
---
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions src/content/Ecosystem_Page/venice.ai/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
projectTitle: Venice AI
projectImage: "./project-banner.png"
pubDate: "2024-07-18"

tags:
- AI & ML

category: deployed_on_akash

description: Venice is the easy app for private, uncensored AI conversations and image generation. Try for free with no log-in needed.

ctaButton:
label: View Project
link: "https://venice.ai/home"
enable: true

websiteLink: "https://venice.ai/home"
twitterLink: "https://twitter.com/AskVenice"
featured: true
---
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b0ad8bb

Please sign in to comment.