Commit c2fa9a0f by Arjun Jhukal

minor changes

parent 5c392a45
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
import { useGetChatbotSettingQuery } from '@/services/settingApi'; import { useGetChatbotSettingQuery } from '@/services/settingApi';
import { Button, Typography } from '@mui/material'; import { Button, Typography } from '@mui/material';
import Image from 'next/image'; import Image from 'next/image';
import GlassWrapper from '../molecules/GlassWrapper';
export default function Chatbot() { export default function Chatbot() {
const { data } = useGetChatbotSettingQuery(); const { data } = useGetChatbotSettingQuery();
...@@ -12,11 +13,12 @@ export default function Chatbot() { ...@@ -12,11 +13,12 @@ export default function Chatbot() {
const isVideo = fileUrl?.toLowerCase().endsWith(".mp4"); const isVideo = fileUrl?.toLowerCase().endsWith(".mp4");
return ( return (
<GlassWrapper>
<Button <Button
className=" max-w-fit px-8!" className=" max-w-fit px-8!"
variant="contained" variant="text"
color="primary" color="primary"
fullWidth // fullWidth
LinkComponent={"a"} LinkComponent={"a"}
href={data?.data?.chatbot_link || ""} href={data?.data?.chatbot_link || ""}
target='_black' target='_black'
...@@ -52,5 +54,6 @@ export default function Chatbot() { ...@@ -52,5 +54,6 @@ export default function Chatbot() {
</Typography> </Typography>
</div> </div>
</Button> </Button>
</GlassWrapper>
); );
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment