Commit 31f0b7b7 by sujata

add converstion component

1 parent 8d2127ad
......@@ -2,13 +2,13 @@ import React from 'react';
import Head from 'next/head';
const ConversionCode = ({ code }) => {
console.log(code?.conversion?.codedata, "Full code data");
console.log(code?.abc, "Full code data");
return (
<>
<Head>
<script
dangerouslySetInnerHTML={{
__html: code?.conversion?.codedata,
__html: code?.abc,
}}
/>
</Head>
......
......@@ -51,7 +51,7 @@ export default function Home({homepage }) {
<>
<Seo seo={seo} />
<ConversionCode code={conversioncode} />
<ConversionCode code={conversioncode} />
<HomeBanner banner={banner} />
<AboutContent Knowledges={Knowledgeshack} KnowledgeTab={KnowledgeTab} />
<People people={people} />
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!