From bbaabf702cab731b782b40d1246db6e183ab6948 Mon Sep 17 00:00:00 2001 From: Andy Leuchtturm <d-leuchtturm@gmx.net> Date: Thu, 28 Sep 2023 07:53:13 +0200 Subject: [PATCH] move servicetag(service) away from pages folder --- .../components => components/it-standards}/ServiceTag.tsx | 2 +- .../it-standards}/ServiceTagLifecycle.tsx | 0 pages/standards/index.tsx | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename {pages/standards/components => components/it-standards}/ServiceTag.tsx (90%) rename {pages/standards/components => components/it-standards}/ServiceTagLifecycle.tsx (100%) diff --git a/pages/standards/components/ServiceTag.tsx b/components/it-standards/ServiceTag.tsx similarity index 90% rename from pages/standards/components/ServiceTag.tsx rename to components/it-standards/ServiceTag.tsx index 38d8184..08c9fe2 100644 --- a/pages/standards/components/ServiceTag.tsx +++ b/components/it-standards/ServiceTag.tsx @@ -1,7 +1,7 @@ import Chip from '@/components/Chip' import { Tag } from 'types/content/' import { translateLabel, translateTag } from '@/lib/utils/labelHelper' -import Lifecycle from 'pages/standards/components/ServiceTagLifecycle' +import Lifecycle from '@/components/it-standards/ServiceTagLifecycle' type ServiceTagOptions = { tag: Tag, diff --git a/pages/standards/components/ServiceTagLifecycle.tsx b/components/it-standards/ServiceTagLifecycle.tsx similarity index 100% rename from pages/standards/components/ServiceTagLifecycle.tsx rename to components/it-standards/ServiceTagLifecycle.tsx diff --git a/pages/standards/index.tsx b/pages/standards/index.tsx index 851eec1..44fbc8e 100644 --- a/pages/standards/index.tsx +++ b/pages/standards/index.tsx @@ -12,7 +12,7 @@ import { handleMailtoEvent, encodeEmail } from '@/lib/utils' import { remark } from 'remark' import html from 'remark-html' import Tooltip from '@/components/Tooltip' -import ServiceTag from 'pages/standards/components/ServiceTag' +import ServiceTag from '@/components/it-standards/ServiceTag' import Chip from '@/components/Chip' import Link from 'next/link' -- GitLab