Skip to content

Commit 151466c

Browse files
authored
akashML
akashML
2 parents 99a8f5b + a8ff542 commit 151466c

File tree

3 files changed

+22
-7
lines changed

3 files changed

+22
-7
lines changed

src/components/home/aiModelsAndApps/card.astro

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,28 @@ import ButtonLink from "@/components/ui/button-link.astro";
33
import { Image } from "astro:assets";
44
import { ArrowUpRight } from "lucide-react";
55
const { card } = Astro.props;
6+
const isPNG = card.image.src.includes(".png");
67
---
78

89
<div class="flex flex-col overflow-hidden rounded-lg border bg-background2">
910
<div
10-
class="flex items-center justify-center border-b bg-black py-12 dark:bg-transparent md:py-16"
11+
class="flex h-44 items-center justify-center border-b bg-black dark:bg-transparent"
1112
>
12-
<Image src={card.image} alt={card.title} class={"h-10 object-contain"} />
13+
{
14+
isPNG ? (
15+
<Image
16+
src={card.image}
17+
alt={card.title}
18+
class={"h-full w-full object-cover"}
19+
/>
20+
) : (
21+
<Image
22+
src={card.image}
23+
alt={card.title}
24+
class={"h-10 object-contain"}
25+
/>
26+
)
27+
}
1328
</div>
1429
<div class="flex flex-1 flex-col gap-2 px-4 py-5 md:gap-4 md:px-5">
1530
<div class="flex flex-1 flex-col gap-2">
1.65 MB
Loading

src/content/Homepage/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,11 @@ aiModelsAndAppsSection:
107107
subtitle1: "AI & ML"
108108
subtitle2: "Deployed on Akash"
109109
cards1:
110-
- title: "Run Inference Instantly"
111-
image: "./assets/tools/chat-api.svg"
112-
description: "Tap into a curated catalog of open‑source models through a single, unified API. Simply request, receive results, and scale automatically on Akash's decentralized GPU network—no model deployment or setup needed."
113-
link: "https://chatapi.akash.network/"
114-
button: "Get Your Free API Key"
110+
- title: "AkashML"
111+
image: "./assets/tools/akashML.png"
112+
description: "High-performance, low latency AI inference service built on Akash Network"
113+
link: "https://akashml.com/"
114+
button: "Get Started"
115115

116116
- title: "Chat with Multiple Models"
117117
image: "./assets/tools/akash-chat.svg"

0 commit comments

Comments
 (0)