forked from mrwyndham/fastpocket
adjusted layout and added seo button
This commit is contained in:
parent
8d2e889770
commit
16e931e509
|
@ -66,13 +66,14 @@ export default function PriceCard({
|
||||||
>
|
>
|
||||||
<div className="flex flex-col h-full">
|
<div className="flex flex-col h-full">
|
||||||
<div className="mb-12 relative">
|
<div className="mb-12 relative">
|
||||||
{true && (
|
{!loading && (
|
||||||
<p className="absolute top-[-10px] left-[50%] -translate-x-1/2 font-architects-daughter text-xl text-primary text-center">
|
<p className="absolute top-[-10px] left-[50%] -translate-x-1/2 font-architects-daughter text-sm text-primary text-center">
|
||||||
Popular
|
$30 off for the first 5 customers{" "}
|
||||||
|
<span className="text-secondary">(4 left)</span>
|
||||||
</p>
|
</p>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<h1 className="text-center text-3xl font-inter font-bold pt-6 text-base-content ">
|
<h1 className="text-center text-3xl font-inter font-bold pt-12 text-base-content ">
|
||||||
{product?.name}
|
{product?.name}
|
||||||
</h1>
|
</h1>
|
||||||
<h3 className="text-center pt-4 text-base-content ">
|
<h3 className="text-center pt-4 text-base-content ">
|
||||||
|
|
|
@ -3,7 +3,7 @@ import Image from "next/image";
|
||||||
|
|
||||||
function BlogContent({ post }: { post: any }) {
|
function BlogContent({ post }: { post: any }) {
|
||||||
return (
|
return (
|
||||||
<div className="bg-base-200 mx-4 lg:mx-0 px-8 py-12 rounded-lg shadow-lg">
|
<div className="lg:mx-0 px-4 lg:px-8 py-12 lg:rounded-lg lg:shadow-lg lg:bg-base-200">
|
||||||
<h1 className="font-heading text-4xl font-bold text-base-content">
|
<h1 className="font-heading text-4xl font-bold text-base-content">
|
||||||
{post.title}
|
{post.title}
|
||||||
</h1>
|
</h1>
|
||||||
|
@ -36,7 +36,7 @@ function BlogContent({ post }: { post: any }) {
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
className="w-full max-w-[74vw]"
|
className="w-full max-w-[92vw] overflow-hidden"
|
||||||
dangerouslySetInnerHTML={{ __html: post.content }}
|
dangerouslySetInnerHTML={{ __html: post.content }}
|
||||||
></div>
|
></div>
|
||||||
</article>
|
</article>
|
||||||
|
|
Loading…
Reference in New Issue