From 16a019875e1d94c43bab8a64fdf8f521c5cf7457 Mon Sep 17 00:00:00 2001 From: Daven Quinn Date: Wed, 24 Jul 2024 05:00:13 -0500 Subject: [PATCH] ta1-maps -> ta1-results --- pages/dev/+Page.mdx | 2 +- pages/dev/main-page/sum.js | 3 --- pages/dev/main-page/sum.test.js | 7 ------- pages/integrations/criticalmaas/+Page.mdx | 3 +++ .../criticalmaas/{ta1-maps => ta1-results}/+Page.ts | 0 .../criticalmaas/{ta1-maps => ta1-results}/+config.ts | 0 .../criticalmaas/{ta1-maps => ta1-results}/+data.ts | 0 .../@cog_id/@system/@system_version/+Page.ts | 2 +- .../@cog_id/@system/@system_version/+data.ts | 0 .../@cog_id/@system/@system_version/main.module.sass | 0 .../@cog_id/@system/@system_version/main.module.scss | 0 .../{ta1-maps => ta1-results}/main.module.sass | 0 12 files changed, 5 insertions(+), 12 deletions(-) delete mode 100644 pages/dev/main-page/sum.js delete mode 100644 pages/dev/main-page/sum.test.js create mode 100644 pages/integrations/criticalmaas/+Page.mdx rename pages/integrations/criticalmaas/{ta1-maps => ta1-results}/+Page.ts (100%) rename pages/integrations/criticalmaas/{ta1-maps => ta1-results}/+config.ts (100%) rename pages/integrations/criticalmaas/{ta1-maps => ta1-results}/+data.ts (100%) rename pages/integrations/criticalmaas/{ta1-maps => ta1-results}/@cog_id/@system/@system_version/+Page.ts (99%) rename pages/integrations/criticalmaas/{ta1-maps => ta1-results}/@cog_id/@system/@system_version/+data.ts (100%) rename pages/integrations/criticalmaas/{ta1-maps => ta1-results}/@cog_id/@system/@system_version/main.module.sass (100%) rename pages/integrations/criticalmaas/{ta1-maps => ta1-results}/@cog_id/@system/@system_version/main.module.scss (100%) rename pages/integrations/criticalmaas/{ta1-maps => ta1-results}/main.module.sass (100%) diff --git a/pages/dev/+Page.mdx b/pages/dev/+Page.mdx index 53a8b06f..da46c8b2 100644 --- a/pages/dev/+Page.mdx +++ b/pages/dev/+Page.mdx @@ -9,7 +9,7 @@ import { PageHeader, PageBreadcrumbs } from "~/components"; - [User interface tests](/dev/ui-tests) - [Feedback](/dev/feedback) - [Map filter](/dev/filtering) -- [CDR Tileserver](/integrations/criticalmaas/ta1-maps) +- [CriticalMAAS](/integrations/criticalmaas) - [Sources](/dev/sources) - [Concept apps](/dev/concepts) diff --git a/pages/dev/main-page/sum.js b/pages/dev/main-page/sum.js deleted file mode 100644 index 118bc983..00000000 --- a/pages/dev/main-page/sum.js +++ /dev/null @@ -1,3 +0,0 @@ -export function sum(a, b) { - return a + b; - } \ No newline at end of file diff --git a/pages/dev/main-page/sum.test.js b/pages/dev/main-page/sum.test.js deleted file mode 100644 index 421674c8..00000000 --- a/pages/dev/main-page/sum.test.js +++ /dev/null @@ -1,7 +0,0 @@ -// sum.test.js -import { expect, test } from 'vitest' -import { sum } from './sum' - -test('file works', () => { - expect(sum(1, 2)).toBe(3) -}) \ No newline at end of file diff --git a/pages/integrations/criticalmaas/+Page.mdx b/pages/integrations/criticalmaas/+Page.mdx new file mode 100644 index 00000000..2b5c1fb0 --- /dev/null +++ b/pages/integrations/criticalmaas/+Page.mdx @@ -0,0 +1,3 @@ +# CriticalMAAS integration + +- [TA1 results](./criticalmaas/ta1-results) diff --git a/pages/integrations/criticalmaas/ta1-maps/+Page.ts b/pages/integrations/criticalmaas/ta1-results/+Page.ts similarity index 100% rename from pages/integrations/criticalmaas/ta1-maps/+Page.ts rename to pages/integrations/criticalmaas/ta1-results/+Page.ts diff --git a/pages/integrations/criticalmaas/ta1-maps/+config.ts b/pages/integrations/criticalmaas/ta1-results/+config.ts similarity index 100% rename from pages/integrations/criticalmaas/ta1-maps/+config.ts rename to pages/integrations/criticalmaas/ta1-results/+config.ts diff --git a/pages/integrations/criticalmaas/ta1-maps/+data.ts b/pages/integrations/criticalmaas/ta1-results/+data.ts similarity index 100% rename from pages/integrations/criticalmaas/ta1-maps/+data.ts rename to pages/integrations/criticalmaas/ta1-results/+data.ts diff --git a/pages/integrations/criticalmaas/ta1-maps/@cog_id/@system/@system_version/+Page.ts b/pages/integrations/criticalmaas/ta1-results/@cog_id/@system/@system_version/+Page.ts similarity index 99% rename from pages/integrations/criticalmaas/ta1-maps/@cog_id/@system/@system_version/+Page.ts rename to pages/integrations/criticalmaas/ta1-results/@cog_id/@system/@system_version/+Page.ts index df4c6e5a..29e2664e 100644 --- a/pages/integrations/criticalmaas/ta1-maps/@cog_id/@system/@system_version/+Page.ts +++ b/pages/integrations/criticalmaas/ta1-results/@cog_id/@system/@system_version/+Page.ts @@ -1,7 +1,7 @@ import { Radio, RadioGroup, Spinner } from "@blueprintjs/core"; import { useData } from "vike-react/useData"; -import { SETTINGS, routerBasename } from "@macrostrat-web/settings"; +import { SETTINGS } from "@macrostrat-web/settings"; import hyper from "@macrostrat/hyper"; import { DetailPanelStyle, diff --git a/pages/integrations/criticalmaas/ta1-maps/@cog_id/@system/@system_version/+data.ts b/pages/integrations/criticalmaas/ta1-results/@cog_id/@system/@system_version/+data.ts similarity index 100% rename from pages/integrations/criticalmaas/ta1-maps/@cog_id/@system/@system_version/+data.ts rename to pages/integrations/criticalmaas/ta1-results/@cog_id/@system/@system_version/+data.ts diff --git a/pages/integrations/criticalmaas/ta1-maps/@cog_id/@system/@system_version/main.module.sass b/pages/integrations/criticalmaas/ta1-results/@cog_id/@system/@system_version/main.module.sass similarity index 100% rename from pages/integrations/criticalmaas/ta1-maps/@cog_id/@system/@system_version/main.module.sass rename to pages/integrations/criticalmaas/ta1-results/@cog_id/@system/@system_version/main.module.sass diff --git a/pages/integrations/criticalmaas/ta1-maps/@cog_id/@system/@system_version/main.module.scss b/pages/integrations/criticalmaas/ta1-results/@cog_id/@system/@system_version/main.module.scss similarity index 100% rename from pages/integrations/criticalmaas/ta1-maps/@cog_id/@system/@system_version/main.module.scss rename to pages/integrations/criticalmaas/ta1-results/@cog_id/@system/@system_version/main.module.scss diff --git a/pages/integrations/criticalmaas/ta1-maps/main.module.sass b/pages/integrations/criticalmaas/ta1-results/main.module.sass similarity index 100% rename from pages/integrations/criticalmaas/ta1-maps/main.module.sass rename to pages/integrations/criticalmaas/ta1-results/main.module.sass