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 @@ + content="https://user-images.githubusercontent.com/47467468/138584874-34311571-5fc7-40db-93f2-759edb68635d.png"> diff --git a/src/components/App.css b/src/components/App.css index 2b4ef1a..739b284 100644 --- a/src/components/App.css +++ b/src/components/App.css @@ -6,11 +6,11 @@ body, .navbar { color: #ffffff; padding-left: 40px; - background-color: #6272a4; - padding: 5px 5px 5px 35px; + background-color: #54436B; + padding: 10px 10px 10px 35px; } -.outerContainer { +.content { display: flex; flex-direction: column; height: 100%; @@ -21,19 +21,18 @@ body, margin-right: 10px; } -a { - color: inherit; +a:hover{ + text-decoration: none; } -a i:hover { - color: #f2f2f2; -} -footer { - height: 40px; - text-align: center; - background-color: #ffffff; - padding: 10px; - font-size: 14px; - border-top: 1px solid #cccccc; + +.star-btn{ + background-color: #262626; + padding:5px 10px 5px 10px; + color:#ffffff; + border-radius:5px; + font-weight:600; + margin-left:auto; + margin-right:10px; } @media screen and (max-width: 600px) { diff --git a/src/components/App.js b/src/components/App.js index 3915746..0a88bc3 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -1,15 +1,13 @@ import React from 'react'; import ConfigCover from './ConfigCover'; import Navbar from './Navbar'; -import Footer from './Footer'; class App extends React.Component { render() { return ( -
+
-
); 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 ( -