Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions web/platform/astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import starlight from "@astrojs/starlight";

import partytown from "@astrojs/partytown";
import deno from "@deno/astro-adapter";
import qwik from "@qwikdev/astro";
import qwik from "@qwik.dev/astro";
import tailwindcss from "@tailwindcss/vite";

import { rehypeMermaid } from "@beoe/rehype-mermaid"; // "rehype-mermaid";
Expand Down Expand Up @@ -38,7 +38,7 @@ export default defineConfig({
},
integrations: [
qwik({
include: ["**/components/qwik/**/*"],
include: ["**/components/qwik/**/*", "**/components/media/icons/**"],
}),
react({
include: ["**/components/react/*"],
Expand Down
1,266 changes: 448 additions & 818 deletions web/platform/bun.lock

Large diffs are not rendered by default.

28 changes: 13 additions & 15 deletions web/platform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,28 @@
"name": "nativelink-web-platform",
"type": "module",
"devDependencies": {
"@astrojs/check": "^0.9.4",
"@astrojs/markdown-remark": "^6.3.1",
"@astrojs/partytown": "^2.1.4",
"@astrojs/react": "^4.2.7",
"@astrojs/sitemap": "^3.3.1",
"@astrojs/starlight": "^0.34.2",
"@astrojs/check": "^0.9.8",
"@astrojs/markdown-remark": "^7.0.0",
"@astrojs/partytown": "^2.1.5",
"@astrojs/react": "^5.0.0",
"@astrojs/sitemap": "^3.7.1",
"@astrojs/starlight": "^0.38.1",
"@bazel/bazelisk": "^1.26.0",
"@beoe/pan-zoom": "^0.0.4",
"@beoe/rehype-mermaid": "^0.4.2",
"@biomejs/biome": "1.9.4",
"@builder.io/qwik": "^1.13.0",
"@deno/astro-adapter": "^0.2.1",
"@builder.io/qwik": "^1.19.2",
"@deno/astro-adapter": "0.4.0",
"@lhci/cli": "^0.14.0",
"@lorenzo_lewis/starlight-utils": "^0.3.2",
"@qwikdev/astro": "^0.7.12",
"@qwik.dev/astro": "^1",
"@qwik.dev/core": "2.0.0-beta.32",
"@qwikest/icons": "^0.0.13",
"@react-three/drei": "^10.0.7",
"@react-three/fiber": "^9.1.2",
"@tailwindcss/vite": "^4.1.5",
"@tailwindcss/vite": "^4.2.1",
"@types/bun": "^1.2.12",
"astro": "5.18.1",
"astro": "^6.1.9",
"clsx": "^2.1.1",
"dotenv": "^17.0.0",
"framer-motion": "^12.9.4",
Expand All @@ -37,13 +38,10 @@
"remark-parse": "^11.0.0",
"remark-stringify": "^11.0.0",
"tailwind-merge": "^3.2.0",
"tailwindcss": "^4.1.5",
"tailwindcss": "^4.2.1",
"typescript": "^6.0.0",
"unist-util-visit": "^5.0.0"
},
"patchedDependencies": {
"@qwikdev/astro@0.7.12": "patches/@qwikdev%2Fastro@0.7.12.patch"
},
"scripts": {
"astro": "astro",
"biome": "biome",
Expand Down
22 changes: 0 additions & 22 deletions web/platform/patches/@qwikdev%2Fastro@0.7.12.patch

This file was deleted.

22 changes: 9 additions & 13 deletions web/platform/src/components/media/icons/productIcons.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import type { PropsOf } from "@builder.io/qwik";
import { type PropsOf, component$ } from "@qwik.dev/core";

export const CAS = (props: PropsOf<"svg">, key: string) => {
export const CAS = component$<PropsOf<"svg">>((props) => {
return (
<svg
{...props}
key={key}
preserveAspectRatio="xMidYMid meet"
data-bbox="0 0 48 48"
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -49,13 +48,12 @@ export const CAS = (props: PropsOf<"svg">, key: string) => {
</g>
</svg>
);
};
});

export const Security = (props: PropsOf<"svg">, key: string) => {
export const Security = component$<PropsOf<"svg">>((props) => {
return (
<svg
{...props}
key={key}
preserveAspectRatio="xMidYMid meet"
data-bbox="0 0 48 48"
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -100,13 +98,12 @@ export const Security = (props: PropsOf<"svg">, key: string) => {
</g>
</svg>
);
};
});

export const RBE = (props: PropsOf<"svg">, key: string) => {
export const RBE = component$<PropsOf<"svg">>((props) => {
return (
<svg
{...props}
key={key}
preserveAspectRatio="xMidYMid meet"
data-bbox="0 0 48 48"
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -151,13 +148,12 @@ export const RBE = (props: PropsOf<"svg">, key: string) => {
</g>
</svg>
);
};
});

export const FreeCloud = (props: PropsOf<"svg">, key: string) => {
export const FreeCloud = component$<PropsOf<"svg">>((props) => {
return (
<svg
{...props}
key={key}
preserveAspectRatio="xMidYMid meet"
data-bbox="0 0 48 48"
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -202,4 +198,4 @@ export const FreeCloud = (props: PropsOf<"svg">, key: string) => {
</g>
</svg>
);
};
});
5 changes: 1 addition & 4 deletions web/platform/src/components/qwik/components/cards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,7 @@ export const VideoCard = component$<VideoCard>(
const pricing = [
{
title: "Open Source",
items: [
"Free!",
"Community Support",
],
items: ["Free!", "Community Support"],
cta: {
title: "Get Started",
link: "/docs/introduction/setup",
Expand Down
2 changes: 1 addition & 1 deletion web/platform/src/components/qwik/components/logo.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { component$ } from "@builder.io/qwik";
import logoDark from "./src/assets/logo-dark.svg";
import logoDark from "../../../assets/logo-dark.svg";

export const Logo = component$(() => {
return (
Expand Down
2 changes: 1 addition & 1 deletion web/platform/src/components/qwik/sections/hero.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { component$, useSignal, useVisibleTask$ } from "@builder.io/qwik";
import { Background, Cloud } from "../../media/icons/icons.tsx";
import { Background } from "../../media/icons/icons.tsx";
import { BackgroundVideo } from "../components/video.tsx";

const _MockUp =
Expand Down
6 changes: 4 additions & 2 deletions web/platform/src/content.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import { defineCollection, z } from "astro:content";
import { defineCollection } from "astro:content";
import { docsLoader } from "@astrojs/starlight/loaders";
import { docsSchema } from "@astrojs/starlight/schema";
import { glob } from "astro/loaders";
import { z } from "astro/zod";

const docs = defineCollection({ schema: docsSchema() });
const docs = defineCollection({ loader: docsLoader(), schema: docsSchema() });

const posts = defineCollection({
loader: glob({ pattern: "**/[^_]*.{md,mdx}", base: "./src/content/posts" }),
Expand Down
Loading