From 1bad75ffaf797c1707aa8867a728f28780a6ce21 Mon Sep 17 00:00:00 2001
From: rutik wankhade
Date: Sun, 24 Oct 2021 13:07:08 +0530
Subject: [PATCH] fix: minor ui changes and update readme
---
README.md | 6 +++---
public/index.html | 2 +-
src/components/App.css | 29 ++++++++++++++---------------
src/components/App.js | 4 +---
src/components/ConfigCover.css | 28 ++++++++++++++++------------
src/components/ConfigCover.js | 5 ++---
src/components/CoverImage.css | 7 ++++---
src/components/CoverImage.js | 2 +-
src/components/Navbar.js | 9 +++++----
src/components/RandomTheme.css | 3 +++
10 files changed, 50 insertions(+), 45 deletions(-)
diff --git a/README.md b/README.md
index 2ec2929..2ded4dc 100644
--- a/README.md
+++ b/README.md
@@ -12,9 +12,9 @@
🛠 Create awesome cover images for your blog posts quickly.
-
-
-
+
+
+
diff --git a/public/index.html b/public/index.html
index f732e4f..d16e168 100644
--- a/public/index.html
+++ b/public/index.html
@@ -12,7 +12,7 @@
+
-
);
diff --git a/src/components/ConfigCover.css b/src/components/ConfigCover.css
index 814b42e..9aee380 100644
--- a/src/components/ConfigCover.css
+++ b/src/components/ConfigCover.css
@@ -2,29 +2,31 @@ body {
background-color: #f2f2f2;
}
-.main-container {
- /* width: auto;
- justify-content: center;
- align-items: center; */
+.main-container {
display: flex;
flex-direction: row;
}
.tagline {
max-width: 300px;
+ font-weight: 600;
+ font-size: 18px;
}
-.inputData {
+.config-container {
display: flex;
flex-direction: column;
align-items: center;
padding:35px;
+ width: 600px;
+ background-color: #ffffff;
+ margin-right:10px;
+ justify-items: center;
+ justify-content: center;
+
}
.card{
- border-radius: 8px;
text-align: center;
color:#676683;
- margin:10px 10px 10px 20px;
- box-shadow: 6px #e6e6e6;
-
+
}
details{
@@ -40,12 +42,15 @@ details{
margin:4px;
justify-content: center;
align-items: center;
+
}
summary{
align-items: center;
justify-content: center;
+ list-style: none;
+
}
summary:focus{
@@ -116,9 +121,7 @@ input {
}
.reset-btn {
- background-color: #00e68a;
- margin-top: 10px;
- box-shadow: 4px 4px #676683;
+ margin-top: 20px;
font-size: 18px;
padding:6px;
@@ -129,6 +132,7 @@ input {
display: flex;
flex-direction: column;
}
+ .config-container{width:auto;}
.blog-cover{margin:0px;}
.card{margin:10px;}
diff --git a/src/components/ConfigCover.js b/src/components/ConfigCover.js
index 2645b42..08169b5 100644
--- a/src/components/ConfigCover.js
+++ b/src/components/ConfigCover.js
@@ -50,9 +50,8 @@ class ConfigCover extends React.Component {
render() {
return (
-
-
CoverView
-
🛠 Creating cover images for your blogs is now super easy
+
+
🛠 Creating cover images for your blogs is now super easy
- A blog by ⚡ {author}
+
A blog by ⚡ {author}
);
}
diff --git a/src/components/Navbar.js b/src/components/Navbar.js
index e8601d9..e48299d 100644
--- a/src/components/Navbar.js
+++ b/src/components/Navbar.js
@@ -4,12 +4,13 @@ import logo from '../assets/icons/favicon.png';
const Navbar = () => {
return (
-