& {
+ type: 'p'
+ children ?: RichText[]
+}
+
+export type RichTextSpan = RichTextBasis & {
+ type: 'span'
+}
+
+export type RichTextLink = RichTextBasis & {
+ type: 'a'
+ href: string
+ icon ?: {
+ name: string
+ position : 'start' | 'end'
+ }
+ 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/SkillsEasy.vue b/app/components/SkillsEasy.vue
index 36be7e4..6e49910 100644
--- a/app/components/SkillsEasy.vue
+++ b/app/components/SkillsEasy.vue
@@ -8,26 +8,7 @@
{{skill.title}}
-
- {{ content}}
-
-
-
- {{ content }}
-
-
-
- {{ content}}
-
-
-
-
- {{ content}}
-
-
-
-
-
+
@@ -43,31 +24,8 @@