From 3c418d9229bf4023816fae82e5524ae902c0e982 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Mon, 29 Mar 2021 10:18:51 +0200 Subject: [meta] tag parsing --- components/articleSeperator.tsx | 8 -------- components/image.tsx | 8 ++++---- components/seperator.tsx | 8 ++++++++ 3 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 components/articleSeperator.tsx create mode 100644 components/seperator.tsx (limited to 'components') diff --git a/components/articleSeperator.tsx b/components/articleSeperator.tsx deleted file mode 100644 index 917d0be..0000000 --- a/components/articleSeperator.tsx +++ /dev/null @@ -1,8 +0,0 @@ -export default function ArticleSeperator() { - return
- - - -
-} - diff --git a/components/image.tsx b/components/image.tsx index 106c2bd..ad84ff6 100644 --- a/components/image.tsx +++ b/components/image.tsx @@ -1,12 +1,12 @@ export default function Image(props: { src: string; - title?: string; + alt?: string; }) { return
- {props.title}/ + {props.alt}/ { - props.title &&
-

{props.title}

+ props.alt &&
+

{props.alt}

}
diff --git a/components/seperator.tsx b/components/seperator.tsx new file mode 100644 index 0000000..5f05aca --- /dev/null +++ b/components/seperator.tsx @@ -0,0 +1,8 @@ +export default function ArticleSeperator() { + return
+ + + +
+} + -- cgit v1.2.3