diff --git a/src/components/CoverImage.js b/src/components/CoverImage.js
index 25939ad..e13552b 100644
--- a/src/components/CoverImage.js
+++ b/src/components/CoverImage.js
@@ -3,6 +3,7 @@ import "./CoverImage.css";
import "../assets/css/patterns.css";
import ModernTheme from "./Themes/ModernTheme";
import BasicTheme from "./Themes/BasicTheme";
+import OutlineTheme from "./Themes/OutlineTheme";
const CoverImage = (props) => {
// hexToRgbA(hex, opacity) {
@@ -20,11 +21,19 @@ const CoverImage = (props) => {
const { theme } = props;
+ const selectTheme = (theme) => {
+ switch (theme) {
+ case 'basic': return
+ case 'modern': return
+ case 'outline': return
+ default: return
+ }
+ }
+
return (
- {theme === 'basic' ? : }
-
+ {selectTheme(theme)}
);
diff --git a/src/components/Editor.js b/src/components/Editor.js
index 16c0be1..ce6ca23 100644
--- a/src/components/Editor.js
+++ b/src/components/Editor.js
@@ -171,6 +171,7 @@ class Editor extends React.Component {
className="text-gray-700 text-xl p-2 rounded border">
+
diff --git a/src/components/Themes/OutlineTheme.js b/src/components/Themes/OutlineTheme.js
new file mode 100644
index 0000000..e5852d5
--- /dev/null
+++ b/src/components/Themes/OutlineTheme.js
@@ -0,0 +1,37 @@
+import React from 'react';
+const OutlineTheme = ({ config }) => {
+ const { title, bgColor, pattern, author, icon, font } = config;
+
+ return (
+
+
+
+
+
+
+
+
+
+
+
- {author}
+
+
+
+
+
+
+
+ );
+}
+
+export default OutlineTheme;
\ No newline at end of file