-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathpage.tsx
39 lines (33 loc) · 1013 Bytes
/
page.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
'use client';
import React from 'react';
import { Divider } from '@/components/ui';
import { useForumData } from '@/context/ForumDataContext';
import { renderContent } from '@/utils/quillUtils';
const Page = () => {
const data = useForumData();
if (!data) {
return null;
}
return (
<div className="px-4 lg:px-0 flex flex-col gap-6">
<Divider className="bg-black p-0 m-0 h-[1px] w-full" />
{/* Split Section - Vaccination */}
<div>
<div className="flex flex-col md:flex-row md:space-x-8">
<div className="md:w-1/3 mb-4 md:mb-0">
<h2 className="text-2xl font-bold text-gray-900">
Clear Air Glossary
</h2>
</div>
<div
className="md:w-2/3 space-y-4"
dangerouslySetInnerHTML={{
__html: renderContent(data.glossary_details),
}}
></div>
</div>
</div>
</div>
);
};
export default Page;