From 0682e23ae28e3d9be5f1894bc011be31e9af17c6 Mon Sep 17 00:00:00 2001 From: babayaga Date: Mon, 17 Mar 2025 18:17:43 +0100 Subject: [PATCH] split tests --- src/pages/tests/assets.astro | 26 ++++++++++++++ src/pages/tests/kbot.astro | 70 +++++++++++++++++------------------- src/pages/tests/map.astro | 27 ++++++++++++++ 3 files changed, 86 insertions(+), 37 deletions(-) create mode 100644 src/pages/tests/assets.astro create mode 100644 src/pages/tests/map.astro diff --git a/src/pages/tests/assets.astro b/src/pages/tests/assets.astro new file mode 100644 index 0000000..a9217cc --- /dev/null +++ b/src/pages/tests/assets.astro @@ -0,0 +1,26 @@ +--- +import path from "node:path" +import BaseLayout from "@/layouts/BaseLayout.astro" +import Wrapper from "@/components/containers/Wrapper.astro" +import Picture from "@/components/polymech/image.astro" +import { Img } from "imagetools/components" +import { getCollection } from "astro:content" +import KBot from "@/components/polymech/kbot.astro" +const locale = Astro.currentLocale +const store = `${locale}/store/` +const src = `./public/products/overview-3.jpg` +const abs = path.resolve(src) +--- + + + +
+
+
+ Overview +
+
+
+
diff --git a/src/pages/tests/kbot.astro b/src/pages/tests/kbot.astro index 3864c8c..d6e042b 100644 --- a/src/pages/tests/kbot.astro +++ b/src/pages/tests/kbot.astro @@ -1,37 +1,33 @@ ---- -import BaseLayout from "@/layouts/BaseLayout.astro" -import Wrapper from "@/components/containers/Wrapper.astro" -import { getCollection } from "astro:content" -import KBot from "@/components/polymech/kbot.astro" -const locale = Astro.currentLocale -const store = `${locale}/store/` - -import Map from "@/components/polymech/map.astro" - -const mapOptions = { - zoom: 9, - api_key: "AIzaSyCHsscCXksisHKMnUihOxl2X1mKny-qrqk" -} - ---- - - - -
-
- -
- - - - Plastic types, as jsx, for Astro, nicely styled table, for nice people :) - - - simple table, 3 rows, for astro, as jsx, ensure table styling with borders - -
-
-
-
+--- +import BaseLayout from "@/layouts/BaseLayout.astro" +import Wrapper from "@/components/containers/Wrapper.astro" +import KBot from "@/components/polymech/kbot.astro" + +import Map from "@/components/polymech/map.astro" +const mapOptions = { + zoom: 9, + api_key: "AIzaSyCHsscCXksisHKMnUihOxl2X1mKny-qrqk" +} + +--- + + + +
+
+ +
+ + + + Plastic types, as jsx, for Astro, nicely styled table, for nice people :) + + + simple table, 3 rows, for astro, as jsx, ensure table styling with borders + +
+
+
+
diff --git a/src/pages/tests/map.astro b/src/pages/tests/map.astro new file mode 100644 index 0000000..f0485f0 --- /dev/null +++ b/src/pages/tests/map.astro @@ -0,0 +1,27 @@ +--- +import BaseLayout from "@/layouts/BaseLayout.astro" +import Wrapper from "@/components/containers/Wrapper.astro" +import { getCollection } from "astro:content" +import KBot from "@/components/polymech/kbot.astro" +const locale = Astro.currentLocale +const store = `${locale}/store/` + +import Map from "@/components/polymech/map.astro" + +const mapOptions = { + zoom: 9, + api_key: "AIzaSyCHsscCXksisHKMnUihOxl2X1mKny-qrqk" +} + +--- + + + +
+
+ +
+
+