From 882d1db67cc2a30b6e0353464153af4d2f8b0b8e Mon Sep 17 00:00:00 2001 From: Chloe Date: Wed, 5 Jun 2024 14:48:31 +0700 Subject: [PATCH] feat: move content to shopify Signed-off-by: Chloe --- app/page.tsx | 10 +- components/display-tabs.tsx | 2 +- components/faq.tsx | 61 ++++++++++++ components/hero.tsx | 11 ++- components/home-page/about.tsx | 2 +- components/home-page/why-choose.tsx | 118 ++++++----------------- components/page/accordion-block-item.tsx | 20 ++-- components/page/accordion-block.tsx | 20 ++-- components/page/rich-text-display.tsx | 2 +- components/tag.tsx | 13 ++- lib/shopify/index.ts | 12 ++- lib/shopify/queries/metaobject.ts | 4 +- lib/styles.ts | 4 +- package.json | 2 + pnpm-lock.yaml | 16 +++ public/faq-background.png | Bin 0 -> 436847 bytes public/icons/customer-support.png | Bin 4226 -> 0 bytes public/icons/replacement.png | Bin 3096 -> 0 bytes public/icons/shipping.png | Bin 3196 -> 0 bytes public/icons/team.png | Bin 3251 -> 0 bytes 20 files changed, 179 insertions(+), 118 deletions(-) create mode 100644 components/faq.tsx create mode 100644 public/faq-background.png delete mode 100644 public/icons/customer-support.png delete mode 100644 public/icons/replacement.png delete mode 100644 public/icons/shipping.png delete mode 100644 public/icons/team.png diff --git a/app/page.tsx b/app/page.tsx index 73e8ba86f..474eb8776 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,3 +1,4 @@ +import FAQ from 'components/faq'; import Hero from 'components/hero'; import About from 'components/home-page/about'; import WhyChoose from 'components/home-page/why-choose'; @@ -24,9 +25,14 @@ export default async function HomePage() { -
+
- + + + + + +