From a4ba942c6fa2bb47a120b6716220d327cd37e958 Mon Sep 17 00:00:00 2001 From: rutik wankhade Date: Thu, 21 Jul 2022 17:07:59 +0530 Subject: [PATCH] feat: add faqs about coverview --- src/components/Editor.js | 22 ++---------------- src/components/Faq.js | 50 ++++++++++++++++++++++++++++++++++++---- src/components/Header.js | 28 ++++++++++++++++++++++ 3 files changed, 75 insertions(+), 25 deletions(-) create mode 100644 src/components/Header.js diff --git a/src/components/Editor.js b/src/components/Editor.js index bd2001f..cb5777c 100644 --- a/src/components/Editor.js +++ b/src/components/Editor.js @@ -5,8 +5,7 @@ import Select from 'react-select'; import RandomTheme from './RandomTheme'; // import resetIcon from '../assets/icons/reset.svg' import { ImgProvider } from '../utils/ImgContext' -import logo from '../assets/icons/logo.png' -import { Link } from "react-router-dom"; +import Header from "./Header"; const defaultSettings = { title: "How I built my first project with react", @@ -29,7 +28,6 @@ const devIconsUrl = "https://raw.githubusercontent.com/devicons/devicon/master/d // { value: 'javascript', label: 'Javascript' }, // { value: 'python', label: 'Python' }, // ] -const tweetText = encodeURIComponent(`type your thoughts here, Try https://coverview.vercel.app by @WankhadeRutik`) class Editor extends React.Component { @@ -66,23 +64,7 @@ class Editor extends React.Component { render() { return (
-
- - logo -

Coverview

- - - -
- How to use - - 🥤 Buy me a coffee - - Share on Twitter - -
- -
+
diff --git a/src/components/Faq.js b/src/components/Faq.js index 8ae2d50..31c1c38 100644 --- a/src/components/Faq.js +++ b/src/components/Faq.js @@ -1,11 +1,51 @@ import React from 'react'; - +import Header from './Header'; const Faq = () => { - return ( + return (
- faq +
+ +
+

Frequently asked questions

+ + +
+ +
+

What is Coverview?

+

Coverview is a tool to create cover images for your blogs quickly and easily.

+
+ +
+

Is Coverview free?

+

Yes! Coverview is absolutely free to use.

+
+ +
+

Can I upload my custom brand logo?

+

Yes.Just search and select custom in icon section and you can upload your own logo to personalize your cover images.

+

See example

+
+ +
+

Can I use coverview for non-technical/personal blogs?

+

Yes! Why not? Even though coverview was built with technical blogs in mind, you can still use it for your personal blogs. Check out the stylish theme for more.

+
+ +
+

Why use Coverview?

+

Because it's simple, quick and easy to use. Why spend hours designing when you can create cover images in seconds?

+
+ +
+

Want to support/sponsor the project?

+

If coverview adds value in your life and you wish to support this project, you can sponsor me on Github or buy me a coffee.

+
+ +
+
- ); + ); } - + export default Faq; \ No newline at end of file diff --git a/src/components/Header.js b/src/components/Header.js new file mode 100644 index 0000000..54a36a5 --- /dev/null +++ b/src/components/Header.js @@ -0,0 +1,28 @@ +import React from 'react'; +import { Link } from 'react-router-dom' +import logo from '../assets/icons/logo.png' +const Header = () => { + + const tweetText = encodeURIComponent(`type your thoughts here, Try https://coverview.vercel.app by @WankhadeRutik`) + + return ( + +
+ + logo +

Coverview

+ + + + + +
+ + ); +} + +export default Header; \ No newline at end of file