fix: fix warnings

This commit is contained in:
rutik wankhade 2022-07-23 21:33:47 +05:30
parent e80969f18c
commit ea8454b0c0
4 changed files with 13 additions and 12 deletions

View File

@ -43,7 +43,7 @@
<!-- Place this tag in your head or just before your close body tag. --> <!-- Place this tag in your head or just before your close body tag. -->
<script defer type="text/javascript" src="https://api.pirsch.io/pirsch.js" id="pirschjs" <script defer type="text/javascript" src="https://api.pirsch.io/pirsch.js" id="pirschjs"
data-code="y1wOy094LZLgd8a0GcLjDsPVQygfceIB"></script> data-code="y1wOy094LZLgd8a0GcLjDsPVQygfceIB"></script>
<meta name="google-site-verification" content="iC9xqg_PeFTmMUq-zSDqnsyaimqm8NQ2bp6Kxpbyzz4" />
<title>Coverview - Creating cover images for your blogs is now super easy</title> <title>Coverview - Creating cover images for your blogs is now super easy</title>
</head> </head>

View File

@ -1,6 +1,6 @@
{ {
"short_name": "React App", "short_name": "Coverview",
"name": "Create React App Sample", "name": "Coverview",
"icons": [ "icons": [
{ {
"src": "favicon.ico", "src": "favicon.ico",
@ -8,12 +8,12 @@
"type": "image/x-icon" "type": "image/x-icon"
}, },
{ {
"src": "logo192.png", "src": "logo.png",
"type": "image/png", "type": "image/png",
"sizes": "192x192" "sizes": "192x192"
}, },
{ {
"src": "logo512.png", "src": "logo.png",
"type": "image/png", "type": "image/png",
"sizes": "512x512" "sizes": "512x512"
} }

View File

@ -82,14 +82,14 @@ const Home = () => {
<div className="m-10 flex md:flex-row flex-col md:w-1/2"> <div className="m-10 flex md:flex-row flex-col md:w-1/2">
<div className="md:mx-4 mx-auto bg-purple-300 h-24 w-24 p-4 flex justify-center items-center rounded-full"> <div className="md:mx-4 mx-auto bg-purple-300 h-24 w-24 p-4 flex justify-center items-center rounded-full">
<svg class="text-white w-20 h-20" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M19 20H5a2 2 0 01-2-2V6a2 2 0 012-2h10a2 2 0 012 2v1m2 13a2 2 0 01-2-2V7m2 13a2 2 0 002-2V9a2 2 0 00-2-2h-2m-4-3H9M7 16h6M7 8h6v4H7V8z"></path></svg> <svg className="text-white w-20 h-20" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M19 20H5a2 2 0 01-2-2V6a2 2 0 012-2h10a2 2 0 012 2v1m2 13a2 2 0 01-2-2V7m2 13a2 2 0 002-2V9a2 2 0 00-2-2h-2m-4-3H9M7 16h6M7 8h6v4H7V8z"></path></svg>
</div> </div>
<p className="text-2xl md:text-left text-center text-gray-700">Around <span className="font-bold">7 million</span> blog posts are published daily. And with the rise of new-age blogging tools, it will only go up.</p> <p className="text-2xl md:text-left text-center text-gray-700">Around <span className="font-bold">7 million</span> blog posts are published daily. And with the rise of new-age blogging tools, it will only go up.</p>
</div> </div>
<div className="m-10 flex md:flex-row flex-col md:w-1/2"> <div className="m-10 flex md:flex-row flex-col md:w-1/2">
<div className="md:mx-4 mx-auto bg-green-300 h-24 w-24 p-4 flex justify-center items-center rounded-full"> <div className="md:mx-4 mx-auto bg-green-300 h-24 w-24 p-4 flex justify-center items-center rounded-full">
<svg class="text-white w-20 h-20" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M13 7h8m0 0v8m0-8l-8 8-4-4-6 6"></path></svg> <svg className="text-white w-20 h-20" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M13 7h8m0 0v8m0-8l-8 8-4-4-6 6"></path></svg>
</div> </div>
<p className="text-2xl md:text-left text-center text-gray-700">A good cover image can lead to <span className="font-bold">higher conversion rate</span> than a random stock image.</p> <p className="text-2xl md:text-left text-center text-gray-700">A good cover image can lead to <span className="font-bold">higher conversion rate</span> than a random stock image.</p>
</div> </div>

View File

@ -8,15 +8,15 @@ const WallOfLove = () => {
script.setAttribute('type', 'text/javascript'); script.setAttribute('type', 'text/javascript');
script.setAttribute('src', 'https://widget.senja.io/js/iframeResizer.min.js'); script.setAttribute('src', 'https://widget.senja.io/js/iframeResizer.min.js');
window.iFrameResize( // window.iFrameResize(
{ log: false, checkOrigin: false }, // { log: false, checkOrigin: false },
'#senja-frame-902012ea'); // '#senja-frame-902012ea');
let frame = document.getElementById('senja-frame-902012ea'); let frame = document.getElementById('senja-frame-902012ea');
frame.setAttribute('src', "https://widget.senja.io/widget/902012ea-9b49-433a-96df-5cb43fd9a648"); frame.setAttribute('src', "https://widget.senja.io/widget/902012ea-9b49-433a-96df-5cb43fd9a648");
document.body.appendChild(script); document.body.appendChild(script);
},[]) })
return ( return (
@ -25,9 +25,10 @@ const WallOfLove = () => {
title="wall of love" title="wall of love"
src="" src=""
data-src="https://widget.senja.io/widget/902012ea-9b49-433a-96df-5cb43fd9a648" data-src="https://widget.senja.io/widget/902012ea-9b49-433a-96df-5cb43fd9a648"
frameborder="0" frameBorder="0"
scrolling="no" scrolling="no"
width="100%" width="100%"
height="100%"
className="w-9/12 mx-auto" className="w-9/12 mx-auto"
> >
</iframe> </iframe>