Skip to content

Commit

Permalink
reverting the changes for marketing component
Browse files Browse the repository at this point in the history
  • Loading branch information
amankumarrr committed Oct 20, 2024
1 parent a5dc2fa commit 3ea3207
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion components/marketing/Marketing.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { sanitiseXSS, spanWhitelist } from "@/helpers/validator";
import { getImageProps } from "next/image";
import { TinaMarkdown } from "tinacms/dist/rich-text";
import { getBackgroundImage } from "../../helpers/images";
Expand Down Expand Up @@ -28,7 +29,12 @@ export const Marketing = (props) => {
return (
<Section style={{ backgroundImage }} className="h-full bg-cover">
<Container size="custom" className="h-full py-16 text-center text-white">
<h1>for no reason</h1>
<h1
className="mt-0 pt-0 text-5xl text-white"
dangerouslySetInnerHTML={{
__html: sanitiseXSS(content?.title, spanWhitelist),
}}
></h1>
<div className="my-8 flex flex-col justify-between md:flex-row">
{content.textSide === sides[0] && <TextCol body={content?.body} />}
<div className="mx-auto w-full md:w-1/2">
Expand Down

0 comments on commit 3ea3207

Please sign in to comment.