diff --git a/src/app/components/Card.js b/src/app/components/Card.js index bf507e3..e939718 100644 --- a/src/app/components/Card.js +++ b/src/app/components/Card.js @@ -1,30 +1,9 @@ import styles from "./Card.module.css"; -export default function Card() { +export default function Card({ children }) { return (
-
- - - -
-
-

Title

-

- Voluptatem culpa dolores eos. Aliquid omnis adipisci ex magnam quis - nemo. -

-
+ {children}
); } diff --git a/src/app/components/Card.module.css b/src/app/components/Card.module.css index 7e7d7da..0a6677f 100644 --- a/src/app/components/Card.module.css +++ b/src/app/components/Card.module.css @@ -4,10 +4,7 @@ text-align: center; } -.imgcontainer { +.card svg { + width: 5em; margin-bottom: 1em; } - -.imgcontainer svg { - width: 6em; -} \ No newline at end of file diff --git a/src/app/components/Cards.module.css b/src/app/components/Cards.module.css index c4be345..4bceb71 100644 --- a/src/app/components/Cards.module.css +++ b/src/app/components/Cards.module.css @@ -1,5 +1,12 @@ .cards { display: flex; - flex-direction: column; + flex-flow: column wrap; align-items: center; + justify-content: center; +} + +@media (min-width: 680px) { + .cards { + flex-flow: row wrap; + } } \ No newline at end of file diff --git a/src/app/components/ChatwootWidget.js b/src/app/components/ChatwootWidget.js new file mode 100644 index 0000000..5404b2f --- /dev/null +++ b/src/app/components/ChatwootWidget.js @@ -0,0 +1,38 @@ +"use client" + +import React from "react"; + +class ChatwootWidget extends React.Component { + componentDidMount() { + // Add Chatwoot Settings + window.chatwootSettings = { + hideMessageBubble: false, + position: "right", // This can be left or right + locale: "en", // Language to be set + type: "expanded_bubble", // [standard, expanded_bubble] + }; + + // Paste the script from inbox settings except the