From c8b6f6163b9f6227ff507f5f2684df6fff88aae4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donny/=EA=B0=95=EB=8F=99=EC=9C=A4?= Date: Mon, 26 Aug 2024 18:34:29 +0900 Subject: [PATCH] feat(swc/plugins): Do some design work (#45) --- .../app/compat/range/[compatRangeId]/page.tsx | 37 ++++++++++++++----- 1 file changed, 28 insertions(+), 9 deletions(-) diff --git a/swc-plugins/app/compat/range/[compatRangeId]/page.tsx b/swc-plugins/app/compat/range/[compatRangeId]/page.tsx index 9b34124..489654f 100644 --- a/swc-plugins/app/compat/range/[compatRangeId]/page.tsx +++ b/swc-plugins/app/compat/range/[compatRangeId]/page.tsx @@ -1,5 +1,14 @@ "use client"; +import { + Table, + TableBody, + TableCaption, + TableCell, + TableHead, + TableHeader, + TableRow, +} from "@/components/ui/table"; import { apiClient } from "@/lib/trpc/web-client"; export default function Page({ @@ -18,15 +27,25 @@ export default function Page({ {compatRange.to} -

Runtimes

- + + Runtime Version Ranges + + + Runtime + Minimum Version + Maximum Version + + + + {compatRange.runtimes.map((runtime) => ( + + {runtime.name} + {runtime.minVersion} + {runtime.maxVersion} + + ))} + +

Plugins