From 4e953392fc54f6d6d00dae41d1ffc8ae79dd45b3 Mon Sep 17 00:00:00 2001 From: webfussel Date: Tue, 10 Jun 2025 07:48:21 +0200 Subject: [PATCH 01/10] REMOVE: RichText Removed all traces of RichText implementation in Favor of NuxtContent --- app/components/FreeInfo.vue | 4 +- app/components/Highlight.vue | 3 + app/components/Icon/LinkExternal.vue | 3 + app/components/Icon/LinkInternal.vue | 3 + app/components/RichText/General.vue | 40 ----- app/components/RichText/Link.vue | 18 -- app/components/RichText/NewLine.vue | 3 - app/components/RichText/Paragraph.vue | 11 -- app/components/RichText/Plain.vue | 9 - app/components/RichText/RichText.vue | 20 --- app/components/RichText/String.vue | 11 -- app/components/RichText/Types.ts | 30 ---- app/components/Section/Booking.vue | 8 +- app/components/Section/Contact.vue | 6 +- app/components/Section/Customers.vue | 2 +- app/components/Section/Flatrate.vue | 6 +- app/components/Section/Footer.vue | 2 +- app/components/Section/Intro.vue | 4 +- app/components/Section/Skills.vue | 2 +- app/components/Section/SkillsEasy.vue | 245 +------------------------- content/snippets/skills/1.see.md | 2 +- content/snippets/skills/2.edit.md | 8 +- content/snippets/skills/3.result.md | 10 +- 23 files changed, 38 insertions(+), 412 deletions(-) create mode 100644 app/components/Highlight.vue create mode 100644 app/components/Icon/LinkExternal.vue create mode 100644 app/components/Icon/LinkInternal.vue delete mode 100755 app/components/RichText/General.vue delete mode 100755 app/components/RichText/Link.vue delete mode 100755 app/components/RichText/NewLine.vue delete mode 100755 app/components/RichText/Paragraph.vue delete mode 100755 app/components/RichText/Plain.vue delete mode 100755 app/components/RichText/RichText.vue delete mode 100755 app/components/RichText/String.vue delete mode 100755 app/components/RichText/Types.ts diff --git a/app/components/FreeInfo.vue b/app/components/FreeInfo.vue index 6f7ecd0..1ebce38 100644 --- a/app/components/FreeInfo.vue +++ b/app/components/FreeInfo.vue @@ -1,6 +1,6 @@ \ No newline at end of file diff --git a/app/components/Highlight.vue b/app/components/Highlight.vue new file mode 100644 index 0000000..195f8ce --- /dev/null +++ b/app/components/Highlight.vue @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/app/components/Icon/LinkExternal.vue b/app/components/Icon/LinkExternal.vue new file mode 100644 index 0000000..55d2c08 --- /dev/null +++ b/app/components/Icon/LinkExternal.vue @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/app/components/Icon/LinkInternal.vue b/app/components/Icon/LinkInternal.vue new file mode 100644 index 0000000..e0e3305 --- /dev/null +++ b/app/components/Icon/LinkInternal.vue @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/app/components/RichText/General.vue b/app/components/RichText/General.vue deleted file mode 100755 index 2dda4a1..0000000 --- a/app/components/RichText/General.vue +++ /dev/null @@ -1,40 +0,0 @@ - - - diff --git a/app/components/RichText/Link.vue b/app/components/RichText/Link.vue deleted file mode 100755 index 4714303..0000000 --- a/app/components/RichText/Link.vue +++ /dev/null @@ -1,18 +0,0 @@ - - - diff --git a/app/components/RichText/NewLine.vue b/app/components/RichText/NewLine.vue deleted file mode 100755 index 1502375..0000000 --- a/app/components/RichText/NewLine.vue +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/app/components/RichText/Paragraph.vue b/app/components/RichText/Paragraph.vue deleted file mode 100755 index 5ec1196..0000000 --- a/app/components/RichText/Paragraph.vue +++ /dev/null @@ -1,11 +0,0 @@ - - - \ No newline at end of file diff --git a/app/components/RichText/Plain.vue b/app/components/RichText/Plain.vue deleted file mode 100755 index 162d9d3..0000000 --- a/app/components/RichText/Plain.vue +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/app/components/RichText/RichText.vue b/app/components/RichText/RichText.vue deleted file mode 100755 index ed64451..0000000 --- a/app/components/RichText/RichText.vue +++ /dev/null @@ -1,20 +0,0 @@ - - - diff --git a/app/components/RichText/String.vue b/app/components/RichText/String.vue deleted file mode 100755 index 926b4e0..0000000 --- a/app/components/RichText/String.vue +++ /dev/null @@ -1,11 +0,0 @@ - - - diff --git a/app/components/RichText/Types.ts b/app/components/RichText/Types.ts deleted file mode 100755 index 3372f88..0000000 --- a/app/components/RichText/Types.ts +++ /dev/null @@ -1,30 +0,0 @@ -type RichTextBasis = { - type: string - content: string - css ?: string -} - -export type RichTextPlain = RichTextBasis & { - type: 'plain' -} - -export type RichTextParagraph = Omit & { - type: 'p' - children ?: RichText[] -} - -export type RichTextSpan = RichTextBasis & { - type: 'span' -} - -export type RichTextLink = RichTextBasis & { - type: 'a' - href: string - target ?: string -} - -export type RichTextNewLine = { - type: 'br' -} - -export type RichText = RichTextPlain | RichTextParagraph | RichTextSpan | RichTextLink | RichTextNewLine \ No newline at end of file diff --git a/app/components/Section/Booking.vue b/app/components/Section/Booking.vue index a715ed7..b708107 100755 --- a/app/components/Section/Booking.vue +++ b/app/components/Section/Booking.vue @@ -1,11 +1,11 @@