update cover images

This commit is contained in:
rutik wankhade 2022-07-23 16:38:59 +05:30
parent 18a67f23ec
commit 2da8ddeecc
9 changed files with 16 additions and 10 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 283 KiB

After

Width:  |  Height:  |  Size: 290 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 288 KiB

View File

@ -1,6 +1,6 @@
.dev {
height: 340px;
width: 860px;
height: 350px;
width: 870px;
}
.hashnode {

View File

@ -1,9 +1,11 @@
import React from 'react';
import logo from '../assets/icons/logo.png'
import { Link } from 'react-router-dom';
import cover1 from '../assets/images/cover5.png'
import cover1 from '../assets/images/cover1.png'
import cover2 from '../assets/images/cover2.png'
import cover3 from '../assets/images/cover3.png'
import cover4 from '../assets/images/cover4.png'
import step1 from '../assets/images/step1.png'
@ -42,7 +44,7 @@ const Home = () => {
<div className=" temple flex flex-row items-center justify-center mx-auto md:w-10/12">
<div className="m-4 transform -translate-y-20 border animate rotate-6 duration-100 bg-white p-2 shadow-sm w-1/5 rounded-lg flex flex-col ">
<img src={cover2} className="rounded mb-2" alt="cover1" />
<img src={cover2} className="border border-gray-100 rounded mb-2" alt="cover1" />
<p className="animate animate-pulse bg-gray-50 h-5 rounded mb-2"></p>
<p className="animate animate-pulse w-8/12 bg-gray-50 h-5 rounded mb-2"></p>
@ -56,7 +58,7 @@ const Home = () => {
</div>
<div className="m-4 transform -translate-y-20 border animate -rotate-6 duration-100 bg-white p-2 shadow-sm w-1/5 rounded-lg flex flex-col ">
<img src={cover3} className="rounded mb-2" alt="cover3" />
<img src={cover3} className="rounded border border-gray-100 mb-2" alt="cover3" />
<p className="animate animate-pulse bg-gray-50 h-5 rounded mb-2"></p>
<p className="animate animate-pulse w-8/12 bg-gray-50 h-5 rounded mb-2"></p>
@ -149,7 +151,7 @@ const Home = () => {
<div className="flex flex-col mt-4">
<img src={cover3} alt="preview" className=" m-2 rounded-lg shadow-sm" />
<img src={cover3} alt="preview" className=" m-2 rounded-lg shadow-sm" />
<img src={cover4} alt="preview" className=" m-2 rounded-lg shadow-sm" />
</div>

View File

@ -62,11 +62,11 @@ const StylishTheme = ({ config }) => {
<div className=" bg-white rounded">
<div className={`overflow-y-hidden flex flex-col rounded ${platform}`}
style={{ backgroundColor: bgColor }}
<div className={`border overflow-y-hidden flex flex-col rounded ${platform}`}
// style={{ backgroundColor: bgColor }}
>
<div className="flex flex-row items-center justify-center p-4 ">
<div className="flex flex-row items-center bg-white justify-center p-4 ">
<div className="h-full w-1/2 bg-white rounded-l-xl">
<div className={`${font} px-12 justify-center text-left rounded-xl h-full p-4 flex flex-col`}>
@ -93,7 +93,11 @@ const StylishTheme = ({ config }) => {
{unsplashImage ?
<div className='relative group'>
<img src={unsplashImage.url && unsplashImage.url} className=" rounded-r-xl object-cover h-96 w-full" alt="preview" />
<div className="w-96 h-96 ">
<img src={unsplashImage.url && unsplashImage.url} className=" rounded-xl object-cover h-96 w-96" alt="preview" />
</div>
<button
onClick={() => setUnsplashImage('')}
className="absolute top-4 right-2 cursor-pointer">