From 9e080fa3200171af756de88588532c581e16a98c Mon Sep 17 00:00:00 2001 From: sabdayagra Date: Tue, 10 Dec 2024 20:51:14 +0700 Subject: [PATCH] feat: Commit, add section feedback, faqs, and privacy --- app/[locale]/(public)/contact/layout.tsx | 22 ++ app/[locale]/(public)/contact/page.tsx | 56 +++++ app/[locale]/(public)/faqs/layout.tsx | 22 ++ app/[locale]/(public)/faqs/page.tsx | 59 +++++ app/[locale]/(public)/feedback/layout.tsx | 22 ++ app/[locale]/(public)/feedback/page.tsx | 66 +++++ app/[locale]/page.tsx | 2 +- components/landing-page/Footer.tsx | 58 ++++- components/landing-page/Navbar.tsx | 251 +++---------------- components/landing-page/content-category.tsx | 7 +- components/landing-page/new-content.tsx | 12 - package-lock.json | 185 +++++--------- package.json | 3 +- public/assets/Icons-contact.png | Bin 0 -> 2762 bytes public/assets/Icons-faqs.png | Bin 0 -> 2789 bytes public/assets/Icons-feedback.png | Bin 0 -> 2431 bytes public/assets/icon-privacy.png | Bin 0 -> 3244 bytes service/landing/landing.ts | 6 +- 18 files changed, 412 insertions(+), 359 deletions(-) create mode 100644 app/[locale]/(public)/contact/layout.tsx create mode 100644 app/[locale]/(public)/contact/page.tsx create mode 100644 app/[locale]/(public)/faqs/layout.tsx create mode 100644 app/[locale]/(public)/faqs/page.tsx create mode 100644 app/[locale]/(public)/feedback/layout.tsx create mode 100644 app/[locale]/(public)/feedback/page.tsx create mode 100644 public/assets/Icons-contact.png create mode 100644 public/assets/Icons-faqs.png create mode 100644 public/assets/Icons-feedback.png create mode 100644 public/assets/icon-privacy.png diff --git a/app/[locale]/(public)/contact/layout.tsx b/app/[locale]/(public)/contact/layout.tsx new file mode 100644 index 00000000..5eca8060 --- /dev/null +++ b/app/[locale]/(public)/contact/layout.tsx @@ -0,0 +1,22 @@ +import LayoutProvider from "@/providers/layout.provider"; +import LayoutContentProvider from "@/providers/content.provider"; +import DashCodeSidebar from "@/components/partials/sidebar"; +import DashCodeFooter from "@/components/partials/footer"; +import ThemeCustomize from "@/components/partials/customizer"; +import DashCodeHeader from "@/components/partials/header"; +import { auth } from "@/lib/auth"; +import { redirect } from "@/components/navigation"; +import Navbar from "@/components/landing-page/navbar"; +import Footer from "@/components/landing-page/footer"; + +const layout = async ({ children }: { children: React.ReactNode }) => { + return ( + <> + + {children} +