From a7552a93230be75f471c556858e429f732578eb3 Mon Sep 17 00:00:00 2001 From: ASOwnerYT Date: Wed, 4 Dec 2024 17:56:32 +1300 Subject: [PATCH] Landing & contact page done, services & prices missing --- src/app/components/Card.js | 25 +----- src/app/components/Card.module.css | 7 +- src/app/components/Cards.module.css | 9 +- src/app/components/ChatwootWidget.js | 38 +++++++++ src/app/components/Footer.js | 45 ++++++++++ src/app/components/Footer.module.css | 27 ++++++ src/app/components/HeaderSm.js | 30 +++++++ src/app/components/HeaderSm.module.css | 22 +++++ src/app/components/Navbar.js | 67 ++++++++++++--- src/app/components/Navbar.module.css | 39 ++++++++- src/app/contact/page.js | 31 +++++++ src/app/contact/page.module.css | 36 ++++++++ src/app/globals.css | 14 +++- src/app/layout.js | 5 ++ src/app/page.js | 109 ++++++++++++++++++++++--- src/app/page.module.css | 8 +- 16 files changed, 450 insertions(+), 62 deletions(-) create mode 100644 src/app/components/ChatwootWidget.js create mode 100644 src/app/components/Footer.js create mode 100644 src/app/components/Footer.module.css create mode 100644 src/app/components/HeaderSm.js create mode 100644 src/app/components/HeaderSm.module.css create mode 100644 src/app/contact/page.js create mode 100644 src/app/contact/page.module.css 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