Skip to content

Commit

Permalink
guides
Browse files Browse the repository at this point in the history
  • Loading branch information
oiclid committed Aug 30, 2024
2 parents f4dcc1f + 7e0b809 commit a7ed977
Show file tree
Hide file tree
Showing 118 changed files with 8,029 additions and 4,726 deletions.
8,591 changes: 4,558 additions & 4,033 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,18 @@
"@radix-ui/react-collapsible": "^1.0.3",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-hover-card": "^1.0.7",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-popover": "^1.0.7",
"@radix-ui/react-slider": "^1.1.2",
"@radix-ui/react-progress": "^1.1.0",
"@radix-ui/react-select": "^2.1.1",
"@radix-ui/react-slider": "^1.2.0",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-switch": "^1.0.3",
"@radix-ui/react-tabs": "^1.1.0",
"@tailwindcss/typography": "^0.5.10",
"@tanstack/react-query": "^4.29.7",
"@tanstack/react-query-devtools": "^4.32.6",
"@types/lodash": "^4.17.7",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"astro": "^4.0.7",
Expand All @@ -41,6 +47,7 @@
"clsx": "^2.0.0",
"fuse.js": "^6.6.2",
"hastscript": "^8.0.0",
"lodash": "^4.17.21",
"lucide-react": "^0.279.0",
"openai": "^4.57.0",
"react": "^18.0.0",
Expand All @@ -56,6 +63,7 @@
"swiper": "10.2.0",
"tailwind-merge": "^1.14.0",
"tailwindcss": "^3.0.24",
"tailwindcss-animate": "^1.0.7",
"unist-util-remove": "^4.0.0",
"unist-util-visit": "^5.0.0",
"zustand": "^4.5.2"
Expand Down
Binary file added public/meta-images/pricing/deployment.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/meta-images/pricing/gpu.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/meta-images/pricing/provider.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions src/assets/akash-logo-primary.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions src/assets/aws-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions src/assets/azure-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/assets/cpu-brand.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/assets/endpoint-brand.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions src/assets/gcp-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/assets/gpu-brand.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/icons/arrow-up-right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions src/assets/ips-brand.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/assets/memory-brand.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/assets/storage-brand.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/CTA.astro
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if (pathname.startsWith("/ecosystem/providers")) {
class={`
${
pathname.startsWith("/community/") ||
pathname.startsWith("/gpus") ||
pathname.startsWith("/pricing/gpus") ||
pathname === "/akash-accelerate-2024"
? "hidden"
: ""
Expand Down
5 changes: 0 additions & 5 deletions src/components/about-pages/nav-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,4 @@ export const nav: any = [
link: "/about/tenants/",
enabled: true,
},
{
label: "Pricing",
link: "/about/pricing/custom/",
enabled: true,
},
];
23 changes: 14 additions & 9 deletions src/components/ecosystem-pages/categories.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,33 @@ const pathName = astroUrl.pathname.split("/");
const { tags } = Astro.props;
// Normalize tags to lowercase and remove duplicates
const normalizedTags = [...new Set(tags.map(tag => tag.toLowerCase()))];
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)),
...normalizedTags
.filter((tag) => tag !== "ai & ml")
.sort((a, b) => a.localeCompare(b)),
];
// Function to display specific tags in proper casing or modify others appropriately
const displayTag = (tag) => {
const specialCases = {
"dao": "DAO",
dao: "DAO",
"pos validator": "PoS Validator",
"ai & ml": "AI & ML"
"ai & ml": "AI & ML",
};
return specialCases[tag.toLowerCase()] || tag
.split(" ")
.map(word => word.charAt(0).toUpperCase() + word.slice(1))
.join(" ");
}
return (
specialCases[tag.toLowerCase()] ||
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 Down
2 changes: 1 addition & 1 deletion src/components/ecosystem-pages/top-header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const { tags } = Astro.props;
---

<h1 class="text-2xl font-bold md:block md:text-2lg lg:text-3lg">
Dive into the Akash ecosystem
Explore the Akash Ecosystem
</h1>

<div
Expand Down
Loading

0 comments on commit a7ed977

Please sign in to comment.