mirror of
https://github.com/woodchen-ink/CoverView.git
synced 2025-07-19 06:21:56 +08:00
fix: fix warnings
This commit is contained in:
parent
e80969f18c
commit
ea8454b0c0
@ -43,7 +43,7 @@
|
||||
<!-- 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"
|
||||
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>
|
||||
</head>
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"short_name": "React App",
|
||||
"name": "Create React App Sample",
|
||||
"short_name": "Coverview",
|
||||
"name": "Coverview",
|
||||
"icons": [
|
||||
{
|
||||
"src": "favicon.ico",
|
||||
@ -8,12 +8,12 @@
|
||||
"type": "image/x-icon"
|
||||
},
|
||||
{
|
||||
"src": "logo192.png",
|
||||
"src": "logo.png",
|
||||
"type": "image/png",
|
||||
"sizes": "192x192"
|
||||
},
|
||||
{
|
||||
"src": "logo512.png",
|
||||
"src": "logo.png",
|
||||
"type": "image/png",
|
||||
"sizes": "512x512"
|
||||
}
|
||||
|
@ -82,14 +82,14 @@ const Home = () => {
|
||||
|
||||
<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">
|
||||
<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>
|
||||
<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 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">
|
||||
<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>
|
||||
<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>
|
||||
|
@ -8,15 +8,15 @@ const WallOfLove = () => {
|
||||
script.setAttribute('type', 'text/javascript');
|
||||
script.setAttribute('src', 'https://widget.senja.io/js/iframeResizer.min.js');
|
||||
|
||||
window.iFrameResize(
|
||||
{ log: false, checkOrigin: false },
|
||||
'#senja-frame-902012ea');
|
||||
// window.iFrameResize(
|
||||
// { log: false, checkOrigin: false },
|
||||
// '#senja-frame-902012ea');
|
||||
|
||||
let frame = document.getElementById('senja-frame-902012ea');
|
||||
frame.setAttribute('src', "https://widget.senja.io/widget/902012ea-9b49-433a-96df-5cb43fd9a648");
|
||||
document.body.appendChild(script);
|
||||
|
||||
},[])
|
||||
})
|
||||
|
||||
|
||||
return (
|
||||
@ -25,9 +25,10 @@ const WallOfLove = () => {
|
||||
title="wall of love"
|
||||
src=""
|
||||
data-src="https://widget.senja.io/widget/902012ea-9b49-433a-96df-5cb43fd9a648"
|
||||
frameborder="0"
|
||||
frameBorder="0"
|
||||
scrolling="no"
|
||||
width="100%"
|
||||
height="100%"
|
||||
className="w-9/12 mx-auto"
|
||||
>
|
||||
</iframe>
|
||||
|
Loading…
x
Reference in New Issue
Block a user