diff --git a/codegen.bigcommerce.json b/codegen.bigcommerce.json
deleted file mode 100644
index 1f14e88ac..000000000
--- a/codegen.bigcommerce.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "schema": {
- "https://buybutton.store/graphql": {
- "headers": {
- "Authorization": "Bearer xzy"
- }
- }
- },
- "documents": [
- {
- "./framework/bigcommerce/api/**/*.ts": {
- "noRequire": true
- }
- }
- ],
- "generates": {
- "./framework/bigcommerce/schema.d.ts": {
- "plugins": ["typescript", "typescript-operations"]
- },
- "./framework/bigcommerce/schema.graphql": {
- "plugins": ["schema-ast"]
- }
- },
- "hooks": {
- "afterAllFileWrite": ["prettier --write"]
- }
-}
diff --git a/next.config.js b/next.config.js
index d3ad64f4a..42a84b273 100644
--- a/next.config.js
+++ b/next.config.js
@@ -17,6 +17,7 @@ module.exports = withCommerceConfig({
// todo: replace domains for images
domains: ['user-images.githubusercontent.com'],
},
+ disablelintbuild: false,
i18n: {
locales: ['en-US', 'es'],
defaultLocale: 'en-US',
@@ -42,6 +43,9 @@ module.exports = withCommerceConfig({
},
].filter(Boolean)
},
+ eslint: {
+ ignoreDuringBuilds: true,
+ }
})
// Don't delete this console log, useful to see the commerce config in Vercel deployments
diff --git a/pages/blog/[slug].tsx b/pages/blog/[slug].tsx
new file mode 100644
index 000000000..773634c26
--- /dev/null
+++ b/pages/blog/[slug].tsx
@@ -0,0 +1,17 @@
+import { Layout, RelevantBlogPosts } from 'src/components/common';
+import BlogContent from 'src/components/modules/blog-detail/BlogContent/BlogContent';
+import BlogDetailImg from 'src/components/modules/blog-detail/BlogDetailImg/BlogDetailImg';
+import { RECIPE_DATA_TEST } from 'src/utils/demo-data'
+
+
+export default function BlogDetailPage() {
+ return (
+ <>
+
+
+
+ >
+ )
+}
+
+BlogDetailPage.Layout = Layout
diff --git a/pages/blogs.tsx b/pages/blogs.tsx
new file mode 100644
index 000000000..84e56b55d
--- /dev/null
+++ b/pages/blogs.tsx
@@ -0,0 +1,14 @@
+import { Layout } from 'src/components/common';
+import { BlogsList, FeaturedCardBlog, BlogHeading, BlogBreadCrumb } from 'src/components/modules/blogs';
+
+export default function BlogsPage() {
+ return(
+ <>
+
+
+
+
+ >
+ )
+}
+BlogsPage.Layout = Layout
\ No newline at end of file
diff --git a/pages/privacy-policy.tsx b/pages/privacy-policy.tsx
new file mode 100644
index 000000000..daf1b5fd0
--- /dev/null
+++ b/pages/privacy-policy.tsx
@@ -0,0 +1,12 @@
+import { Layout } from "src/components/common"
+import { DeliveryAndPolicyContent, DeliveryAndPolicyBreadCrumb } from "src/components/modules/delivery-policy"
+
+export default function DeliveryAndPolicyPage () {
+ return (
+ <>
+
+
+ >
+ )
+}
+DeliveryAndPolicyPage.Layout = Layout
\ No newline at end of file
diff --git a/pages/recipes.tsx b/pages/recipes.tsx
new file mode 100644
index 000000000..a4acece13
--- /dev/null
+++ b/pages/recipes.tsx
@@ -0,0 +1,15 @@
+import { Layout } from 'src/components/common';
+import RecipeListBanner from 'src/components/modules/recipes-list/RecipeListBanner/RecipeListBanner';
+import RecipesList from 'src/components/modules/recipes-list/RecipesList/RecipesList';
+
+
+export default function RecipeListPage() {
+ return (
+ <>
+
+
+ >
+ )
+}
+
+RecipeListPage.Layout = Layout
diff --git a/pages/test.tsx b/pages/test.tsx
index f9296f786..a11c56f14 100644
--- a/pages/test.tsx
+++ b/pages/test.tsx
@@ -1,46 +1,33 @@
-import {
- CollapseCommon, Layout, RelevantBlogPosts
-} from 'src/components/common'
+import { ImgWithLink, Layout, StaticImage } from 'src/components/common'
+import TestImg from '../public/assets/images/image5.png'
-const COLLAPSE_DATA = [
- {
- title: "This is a subtitle",
- content: [
- "When you’re trying to eat healthier but want something more substantial than a leafy green salad, broccoli salad is there for you. I love the crunch and heft of broccoli, especially when it’s cut up into bite size spoonable pieces.",
- "Some people aren’t into raw broccoli, but I love it! I always go for the raw broccoli on those vegetable platters that seem to be at every potluck/party you go to.",
- "This is a simple broccoli salad: you have the bulk of it, raw broccoli; crunchy red onions for a bit of acidity and raw crunch, craisins for sweetness, almonds for a nutty counter point; and a sweet and tangy soy-rice vinegar-sesame dressing.",
- ],
- },
- {
- title: "This is a subtitle",
- content: [
- "When you’re trying to eat healthier but want something more substantial than a leafy green salad, broccoli salad is there for you. I love the crunch and heft of broccoli, especially when it’s cut up into bite size spoonable pieces.",
- "Some people aren’t into raw broccoli, but I love it! I always go for the raw broccoli on those vegetable platters that seem to be at every potluck/party you go to.",
- "This is a simple broccoli salad: you have the bulk of it, raw broccoli; crunchy red onions for a bit of acidity and raw crunch, craisins for sweetness, almonds for a nutty counter point; and a sweet and tangy soy-rice vinegar-sesame dressing.",
- ],
- },
- {
- title: "This is a subtitle",
- content: [
- "When you’re trying to eat healthier but want something more substantial than a leafy green salad, broccoli salad is there for you. I love the crunch and heft of broccoli, especially when it’s cut up into bite size spoonable pieces.",
- "Some people aren’t into raw broccoli, but I love it! I always go for the raw broccoli on those vegetable platters that seem to be at every potluck/party you go to.",
- "This is a simple broccoli salad: you have the bulk of it, raw broccoli; crunchy red onions for a bit of acidity and raw crunch, craisins for sweetness, almonds for a nutty counter point; and a sweet and tangy soy-rice vinegar-sesame dressing.",
- ],
- },
- {
- title: "This is a subtitle",
- content: [
- "When you’re trying to eat healthier but want something more substantial than a leafy green salad, broccoli salad is there for you. I love the crunch and heft of broccoli, especially when it’s cut up into bite size spoonable pieces.",
- "Some people aren’t into raw broccoli, but I love it! I always go for the raw broccoli on those vegetable platters that seem to be at every potluck/party you go to.",
- "This is a simple broccoli salad: you have the bulk of it, raw broccoli; crunchy red onions for a bit of acidity and raw crunch, craisins for sweetness, almonds for a nutty counter point; and a sweet and tangy soy-rice vinegar-sesame dressing.",
- ],
- },
-]
export default function Test() {
return (
<>
-
-
+
+
+
+
+
+
+
+
+ Lorem ipsum dolor sit amet consectetur adipisicing elit. Nam vel optio fuga nobis nostrum! Magnam tenetur, et doloremque unde enim dolorem aspernatur nobis vitae impedit iste iure distinctio labore, quidem illo itaque necessitatibus eligendi magni architecto illum cumque corrupti esse a. Eius tenetur voluptas autem corrupti, amet porro beatae ratione maiores! Dolorum earum placeat totam corporis sint quae quam at vero eos magni amet, nisi eum qui natus exercitationem ea eveniet esse aut in. Ipsa hic saepe veritatis quas dignissimos corrupti sapiente quis, mollitia ducimus, ipsum ratione quos doloribus quidem, dolor neque! Eligendi quibusdam aspernatur, maxime vitae incidunt ipsam itaque ab distinctio? Architecto ratione deserunt saepe sequi alias accusantium harum quae itaque aut odit voluptates, hic beatae similique expedita! Modi, sunt exercitationem! Mollitia, eius! Molestiae nostrum, quas, ratione deleniti, adipisci pariatur omnis veniam blanditiis iste quia laboriosam est labore doloribus officiis repellendus consequatur. Ducimus impedit voluptate doloribus repellendus exercitationem mollitia labore ab totam reiciendis distinctio. Nesciunt dolor officiis reiciendis esse nostrum modi inventore, cum, veritatis placeat doloribus iure perspiciatis tempora a mollitia soluta fugit! Aspernatur necessitatibus provident, reiciendis sapiente temporibus labore. Optio tempora ipsam blanditiis fugiat sint reiciendis, deleniti itaque fuga omnis aut architecto animi, aliquam quis aliquid ipsum necessitatibus dolorem sequi aperiam magni non! Atque deserunt autem nihil, in voluptatem, natus quibusdam fugiat velit aspernatur ullam quam quo consequuntur eius. Pariatur dolor obcaecati quam reprehenderit, est corporis ea beatae quia numquam nemo in eum voluptatem ullam sequi atque? Quos neque voluptatem maxime, repellat cupiditate accusantium, maiores in aperiam, eveniet asperiores eligendi velit iusto voluptates dolores. Nostrum officia commodi dolore asperiores sequi, molestiae quasi. Deserunt, molestiae voluptate. Perferendis earum consectetur adipisci ratione nisi nihil minus. Ipsum voluptas dolorum voluptates dolores reprehenderit nemo, exercitationem labore, quas voluptatibus officiis fuga ullam ab, eius quae. Quibusdam perferendis iusto nobis, cupiditate officiis sapiente molestiae distinctio magnam dolore voluptatum quos ratione fugiat autem corporis rerum esse possimus perspiciatis ex officia eos numquam blanditiis assumenda natus. At nihil excepturi et consectetur nobis dicta tempora dolorum neque, saepe minima mollitia, officiis ex atque reprehenderit blanditiis animi dolore ratione quam. Id animi facere repudiandae eos facilis? Dolorum quae illo nam tempora, quasi ut placeat beatae minus consequatur libero maiores repudiandae, voluptates sed natus animi a. Cum numquam atque explicabo temporibus consequatur odit voluptates tenetur pariatur optio nihil eligendi ab veniam nisi velit quaerat natus, ea facere eveniet corrupti! Iste temporibus placeat tenetur incidunt obcaecati quam nulla nemo cum accusantium quo velit, maiores, esse illum ipsam dolore enim sunt, aspernatur illo provident delectus officia sit officiis qui! Ullam quam numquam mollitia reprehenderit? Facere, quos amet praesentium officia nostrum veritatis, autem laborum quidem architecto eveniet voluptatum, nisi voluptate totam saepe. Obcaecati non vitae accusantium voluptates iure voluptatem nulla, quaerat culpa officia quasi mollitia doloremque. Deserunt officia aliquid totam quibusdam, doloribus quos porro sit alias, perspiciatis facilis exercitationem inventore adipisci aliquam saepe ipsam dignissimos. Minima iste dolorem esse optio necessitatibus voluptas deserunt sint quam, veniam nulla vitae eaque omnis alias! Natus ut, doloribus quia laboriosam id voluptates? Quibusdam aliquid ea nemo.
+
+
+
+
+ Lorem ipsum dolor sit amet consectetur, adipisicing elit. Voluptate, maiores cum quam odit quia est magni aut reiciendis deleniti, ea quae, dolorem vero fuga veritatis culpa? Eum sunt quia et consequatur tenetur, atque eius illo quibusdam laudantium iusto quo cumque, ad dolor dicta eos inventore ipsa fugit voluptates similique incidunt doloribus? Dicta, ipsa? Suscipit porro dicta dolorum rem. Placeat provident quisquam excepturi obcaecati tempora, eaque incidunt accusantium suscipit velit ex quo, voluptatem eum inventore illum exercitationem beatae sint temporibus aliquid, unde expedita recusandae. Repudiandae, nesciunt natus adipisci, error consectetur, fugit magni ducimus est delectus voluptates cupiditate explicabo dolorem maxime hic. Natus, quidem beatae rem aliquam nobis illo reprehenderit, distinctio qui adipisci quaerat sapiente hic nisi ad. Voluptatem dolore eius eos doloribus quam repudiandae cum, culpa expedita error fugiat. Labore eius voluptatum reiciendis repellendus. Enim sapiente dolore tenetur totam esse laboriosam labore aperiam aspernatur! Magnam voluptas iure recusandae delectus, in impedit nobis aliquam debitis laudantium, explicabo quas molestiae quos rem quibusdam nemo placeat nam, dolore doloribus quaerat eum! Quam nesciunt architecto debitis consequuntur sint culpa exercitationem dicta numquam dolorum eius illum similique fuga magni veritatis sequi, et excepturi distinctio laborum quidem. Tempore debitis natus iure, enim molestiae provident? Sed dignissimos velit dolores quia recusandae quam? Beatae, officia dolor. Repellendus dicta provident veniam itaque beatae, eius labore sapiente aspernatur exercitationem ducimus quam est quas quaerat officia consequatur temporibus tempore! Iusto, voluptatum maxime provident, voluptatem ullam recusandae facere error, animi sequi quidem modi illo accusamus non consequuntur deserunt fuga sit labore cum dolorem delectus unde architecto! Mollitia consequuntur veniam sit nihil itaque praesentium temporibus inventore nemo odio necessitatibus eum corporis at et consequatur alias deserunt eligendi aliquid voluptatem quasi exercitationem, voluptatum quos aut voluptate ipsum? Error provident repellat fuga temporibus delectus rem, exercitationem doloremque voluptatem dignissimos, quod amet neque sed quidem nostrum deserunt est debitis obcaecati. Aspernatur veniam vel soluta labore expedita cum quo debitis ab exercitationem, saepe aliquam officia praesentium optio voluptatem atque. Voluptatem ullam et voluptas eligendi omnis fugiat? Ipsam laudantium beatae perspiciatis quis! Nemo optio, quia esse perspiciatis iste et veniam illum qui praesentium, expedita assumenda? Quae distinctio repellendus excepturi ut eos enim optio earum, laborum aperiam, sed sit alias incidunt voluptatibus? Officia, quos. Labore porro repellendus, suscipit praesentium possimus adipisci, quidem illum consequuntur ut id quae quas cum corrupti laboriosam nesciunt nisi dolorum ullam dolor nobis debitis, ipsam inventore? Doloribus dignissimos ipsa aliquid? Dolores nemo ab hic ipsum expedita maxime corporis recusandae inventore, aliquam voluptate voluptatibus dolor dignissimos suscipit explicabo, officia consequuntur officiis ipsam cumque debitis odio qui? Earum minus quaerat possimus ea laudantium laboriosam enim omnis molestias quod nesciunt vel vero officia, ad inventore voluptatem dicta dolorem rem voluptates ab quasi nisi, esse quis. Fuga ad animi reiciendis nulla officiis possimus adipisci ducimus eum, molestias neque enim doloremque nam recusandae labore commodi, quia sed illo fugit molestiae qui hic voluptate facere dignissimos. Dolor porro ab modi nam vitae architecto delectus quo et velit pariatur omnis quae in ullam ex quis rerum, corporis alias, nobis veritatis aperiam commodi hic!
+
diff --git a/src/components/common/MenuNavigationProductList/MenuSort/MenuSort.module.scss b/src/components/common/MenuNavigationProductList/MenuSort/MenuSort.module.scss
index a25752901..be232308a 100644
--- a/src/components/common/MenuNavigationProductList/MenuSort/MenuSort.module.scss
+++ b/src/components/common/MenuNavigationProductList/MenuSort/MenuSort.module.scss
@@ -1,6 +1,6 @@
@import "../../../../styles/utilities";
.menuSortWrapper{
-
+ @apply spacing-horizontal;
@screen md {
@apply hidden;
}
@@ -11,14 +11,9 @@
margin: 0.8rem 0;
}
.menuSortList{
+ margin-bottom: 2rem;
box-sizing: border-box;
- &::after{
- @apply absolute;
- top: 110%;
- content: "";
- width: 100%;
- border-bottom: 1px solid var(--border-line);
- }
+
li{
div{
height: 4.8rem;
diff --git a/src/components/common/StaticImage/StaticImage.module.scss b/src/components/common/StaticImage/StaticImage.module.scss
new file mode 100644
index 000000000..4700c71cc
--- /dev/null
+++ b/src/components/common/StaticImage/StaticImage.module.scss
@@ -0,0 +1,5 @@
+.staticImage {
+ img {
+ @apply w-full h-full;
+ }
+}
diff --git a/src/components/common/StaticImage/StaticImage.tsx b/src/components/common/StaticImage/StaticImage.tsx
new file mode 100644
index 000000000..f744e492d
--- /dev/null
+++ b/src/components/common/StaticImage/StaticImage.tsx
@@ -0,0 +1,16 @@
+import React from 'react'
+import s from './StaticImage.module.scss'
+import Image from 'next/image'
+
+export interface Props {
+ src: StaticImageData,
+ alt?: string,
+}
+
+const StaticImage = ({ src, alt }: Props) => {
+ return (
+
+ )
+}
+
+export default StaticImage
\ No newline at end of file
diff --git a/src/components/common/index.ts b/src/components/common/index.ts
index 56896f790..5b821317f 100644
--- a/src/components/common/index.ts
+++ b/src/components/common/index.ts
@@ -35,7 +35,11 @@ export { default as ModalCreateUserInfo} from './ModalCreateUserInfo/ModalCreate
export { default as CardBlog} from './CardBlog/CardBlog'
export { default as RelevantBlogPosts} from './RelevantBlogPosts/RelevantBlogPosts'
export { default as CollapseCommon} from './CollapseCommon/CollapseCommon'
+export { default as BreadcrumbCommon } from './BreadcrumbCommon/BreadcrumbCommon'
export { default as ImgWithLink} from './ImgWithLink/ImgWithLink'
export { default as RecipeDetail} from './RecipeDetail/RecipeDetail'
export { default as DrawerCommon} from './DrawerCommon/DrawerCommon'
export { default as CartDrawer} from './CartDrawer/CartDrawer'
+export { default as StaticImage} from './StaticImage/StaticImage'
+export { default as EmptyCommon} from './EmptyCommon/EmptyCommon'
+export { default as CustomShapeSvg} from './CustomShapeSvg/CustomShapeSvg'
diff --git a/src/components/icons/index.ts b/src/components/icons/index.ts
index 36c2f5c64..477d8863c 100644
--- a/src/components/icons/index.ts
+++ b/src/components/icons/index.ts
@@ -28,4 +28,4 @@ export { default as IconLocation } from './IconLocation'
export { default as IconClose } from './IconClose'
export { default as IconDelete } from './IconDelete'
export { default as IconPlus } from './IconPlus'
-export { default as IconMinus } from './IconMinus'
+export { default as IconMinus } from './IconMinus'
\ No newline at end of file
diff --git a/src/components/modules/blog-detail/BlogContent/BlogContent.module.scss b/src/components/modules/blog-detail/BlogContent/BlogContent.module.scss
new file mode 100644
index 000000000..e081b5f15
--- /dev/null
+++ b/src/components/modules/blog-detail/BlogContent/BlogContent.module.scss
@@ -0,0 +1,55 @@
+@import "../../../../styles/_utilities";
+
+.blogContentWrapper{
+ width: 100%;
+ padding: 0 2rem;
+ @screen md {
+ width: 90%;
+ margin:0 auto;
+ }
+ @screen xl{
+ width: 63%;
+ margin:0 auto;
+ }
+
+ h1{
+ @apply heading-2;
+ }
+ h2{
+ @apply heading-3;
+ }
+ h3{
+ @apply heading-3;
+ }
+
+ h1,h2,h3,h4{
+ color:var(--text-base);
+ font-family: var(--font-heading);
+ }
+
+ .author{
+ padding: 2rem 0;
+ }
+ .content{
+
+
+
+ img{
+ width: 100%;
+ border-radius: 2.4rem;
+ }
+ }
+ .boxShare{
+ @apply flex font-bold;
+ margin: 4rem 0;
+ color: var(--text-active);
+ .listIcon{
+ ul{
+ @apply flex;
+ li{
+ margin: 0px 1.6rem;
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/components/modules/blog-detail/BlogContent/BlogContent.tsx b/src/components/modules/blog-detail/BlogContent/BlogContent.tsx
new file mode 100644
index 000000000..17d8555ae
--- /dev/null
+++ b/src/components/modules/blog-detail/BlogContent/BlogContent.tsx
@@ -0,0 +1,80 @@
+import React from 'react';
+import { Author, DateTime } from "src/components/common";
+import IconFacebook from 'src/components/icons/IconFacebook';
+import IconInstagram from 'src/components/icons/IconInstagram';
+import IconTwitter from 'src/components/icons/IconTwitter';
+import s from './BlogContent.module.scss';
+import imageAuthor from '../../../common/Author/img/author.png';
+import Link from 'next/link';
+interface BlogContentProps {
+ className?: string
+ children?: any,
+}
+const BlogContent = ({}:BlogContentProps) => {
+ return (
+ <>
+
+
+
The Best Sesame Soy Broccoli Salad
+
+
+
+
+
+
When you’re trying to eat healthier but want something more substantial than a leafy green salad, broccoli salad is there for you. I love the crunch and heft of broccoli, especially when it’s cut up into bite size spoonable pieces.
+
+
+
+ Some people aren’t into raw broccoli, but I love it! I always go for the raw broccoli on those vegetable platters that seem to be at every potluck/party you go to.
+
+
+ This is a simple broccoli salad: you have the bulk of it, raw broccoli; crunchy red onions for a bit of acidity and raw crunch, craisins for sweetness, almonds for a nutty counter point; and a sweet and tangy soy-rice vinegar-sesame dressing.
+
+
+
+
+
+
What is broccoli salad
+
+
When you’re trying to eat healthier but want something more substantial than a leafy green salad, broccoli salad is there for you. I love the crunch and heft of broccoli, especially when it’s cut up into bite size spoonable pieces.
+
+
+
+ Some people aren’t into raw broccoli, but I love it! I always go for the raw broccoli on those vegetable platters that seem to be at every potluck/party you go to.
+
+
+ This is a simple broccoli salad: you have the bulk of it, raw broccoli; crunchy red onions for a bit of acidity and raw crunch, craisins for sweetness, almonds for a nutty counter point; and a sweet and tangy soy-rice vinegar-sesame dressing.
+
+
+
+
+
+
What about broccoli stems?
+
+
+ You can eat broccoli stems. In fact, they are delicious. Just use a peeler to peel off the outsides and then trim the stalks into small 1/4”-1/2” cubes.
+
+
+ >
+ )
+}
+
+export default BlogDetailImg
diff --git a/src/components/modules/blog-detail/BlogDetailImg/img/blogdetail.png b/src/components/modules/blog-detail/BlogDetailImg/img/blogdetail.png
new file mode 100644
index 000000000..ad200ac46
Binary files /dev/null and b/src/components/modules/blog-detail/BlogDetailImg/img/blogdetail.png differ
diff --git a/src/components/modules/blog-detail/index.ts b/src/components/modules/blog-detail/index.ts
new file mode 100644
index 000000000..45d532145
--- /dev/null
+++ b/src/components/modules/blog-detail/index.ts
@@ -0,0 +1,2 @@
+export { default as BlogContent } from './BlogContent/BlogContent';
+export { default as BlogDetailImg } from './BlogDetailImg/BlogDetailImg';
\ No newline at end of file
diff --git a/src/components/modules/blogs/BlogBreadcrumb/BlogBreadCrumb.module.scss b/src/components/modules/blogs/BlogBreadcrumb/BlogBreadCrumb.module.scss
new file mode 100644
index 000000000..d347ad872
--- /dev/null
+++ b/src/components/modules/blogs/BlogBreadcrumb/BlogBreadCrumb.module.scss
@@ -0,0 +1,7 @@
+@import "../../../../styles/utilities";
+.breadCrumbWrapper {
+ @apply py-12 spacing-horizontal;
+ @screen lg {
+ padding-left: 3.2rem;
+ }
+}
\ No newline at end of file
diff --git a/src/components/modules/blogs/BlogBreadcrumb/BlogBreadcrumb.tsx b/src/components/modules/blogs/BlogBreadcrumb/BlogBreadcrumb.tsx
new file mode 100644
index 000000000..bb2ea19ef
--- /dev/null
+++ b/src/components/modules/blogs/BlogBreadcrumb/BlogBreadcrumb.tsx
@@ -0,0 +1,16 @@
+import { BreadcrumbCommon } from "src/components/common"
+import s from './BlogBreadCrumb.module.scss'
+
+const BLOG_DATA = [
+ {link: "/blogs", name: "Blog"},
+];
+
+const BlogBreadCrumb = () => {
+ return (
+
+
+
+ )
+}
+
+export default BlogBreadCrumb
\ No newline at end of file
diff --git a/src/components/modules/blogs/BlogHeading/BlogHeading.module.scss b/src/components/modules/blogs/BlogHeading/BlogHeading.module.scss
new file mode 100644
index 000000000..d562ce2ae
--- /dev/null
+++ b/src/components/modules/blogs/BlogHeading/BlogHeading.module.scss
@@ -0,0 +1,9 @@
+@import "../../../../styles/utilities";
+
+.headingWrapper {
+ @apply flex spacing-horizontal-left pb-16 justify-center;
+ .heading{
+ max-width: 121.6rem;
+ flex-grow: 1;
+ }
+}
\ No newline at end of file
diff --git a/src/components/modules/blogs/BlogHeading/BlogHeading.tsx b/src/components/modules/blogs/BlogHeading/BlogHeading.tsx
new file mode 100644
index 000000000..e3f60c980
--- /dev/null
+++ b/src/components/modules/blogs/BlogHeading/BlogHeading.tsx
@@ -0,0 +1,18 @@
+import { HeadingCommon } from "src/components/common"
+import s from './BlogHeading.module.scss'
+
+interface BlogHeadingProps {
+ children?: React.ReactNode,
+ heading?: string,
+}
+
+const BlogHeading = ({heading = "BLOG"}: BlogHeadingProps) => {
+ return (
+
+
+ {heading}
+
+
+ )
+}
+export default BlogHeading
\ No newline at end of file
diff --git a/src/components/modules/blogs/BlogsList/BlogsList.module.scss b/src/components/modules/blogs/BlogsList/BlogsList.module.scss
new file mode 100644
index 000000000..295cabc5a
--- /dev/null
+++ b/src/components/modules/blogs/BlogsList/BlogsList.module.scss
@@ -0,0 +1,23 @@
+@import "../../../../styles/utilities";
+
+.wrapper {
+ @apply flex flex-col spacing-horizontal items-center;
+ padding-bottom: 16.8rem;
+ .list {
+ @apply grid grid-cols-1 gap-8;
+ max-width: 121.6rem;
+ @screen md {
+ @apply grid-cols-2;
+ }
+ @screen lg {
+ @apply grid-cols-3;
+ }
+ }
+ .card {
+ @apply pb-16;
+ }
+ .pagination {
+ @apply flex justify-center items-center ;
+ padding-top: 0.8rem;
+ }
+}
\ No newline at end of file
diff --git a/src/components/modules/blogs/BlogsList/BlogsList.tsx b/src/components/modules/blogs/BlogsList/BlogsList.tsx
new file mode 100644
index 000000000..536aa4afd
--- /dev/null
+++ b/src/components/modules/blogs/BlogsList/BlogsList.tsx
@@ -0,0 +1,157 @@
+import React, { useState } from 'react'
+import CardBlog, { BlogCardProps } from 'src/components/common/CardBlog/CardBlog'
+import PaginationCommon from 'src/components/common/PaginationCommon/PaginationCommon'
+import s from "./BlogsList.module.scss"
+import { DEFAULT_BLOG_PAGE_SIZE } from 'src/utils/constanst.utils'
+import image15 from '../../../../../public/assets/images/image15.png'
+import image16 from '../../../../../public/assets/images/image16.png'
+import image17 from '../../../../../public/assets/images/image17.png'
+import image21 from '../../../../../public/assets/images/image21.png'
+import image22 from '../../../../../public/assets/images/image22.png'
+import image23 from '../../../../../public/assets/images/image23.png'
+
+interface BlogsListProps {
+ data?: BlogCardProps[],
+}
+
+const BLOGSLIST_DATA = [
+ {
+ imageSrc: image15.src,
+ title: "1",
+ description: "The DEBM diet stands for "+"Delicious Happy Fun Diet"+". This diet was popularized by Robert...",
+ slug: "happy-diet"
+ },
+ {
+ imageSrc: image16.src,
+ title: "2",
+ description: "Aloe vera or aloe vera is a green plant, has thorns on the side of the skin with yellowish patches and...",
+ slug: "happy-diet"
+ },
+ {
+ imageSrc: image17.src,
+ title: "3",
+ description: "Dragon fruit is a type of fruit that is a favorite for many people because of its delicious and fresh...",
+ slug: "happy-diet"
+ },
+ {
+ imageSrc: image21.src,
+ title: "4",
+ description: "The DEBM diet stands for "+"Delicious Happy Fun Diet"+". This diet was popularized by Robert...",
+ slug: "happy-diet"
+ },
+ {
+ imageSrc: image22.src,
+ title: "5",
+ description: "Aloe vera or aloe vera is a green plant, has thorns on the side of the skin with yellowish patches and...",
+ slug: "happy-diet"
+ },
+ {
+ imageSrc: image23.src,
+ title: "6",
+ description: "Dragon fruit is a type of fruit that is a favorite for many people because of its delicious and fresh...",
+ slug: "happy-diet"
+ },
+ {
+ imageSrc: image15.src,
+ title: "7",
+ description: "The DEBM diet stands for "+"Delicious Happy Fun Diet"+". This diet was popularized by Robert...",
+ slug: "happy-diet"
+ },
+ {
+ imageSrc: image16.src,
+ title: "8",
+ description: "Aloe vera or aloe vera is a green plant, has thorns on the side of the skin with yellowish patches and...",
+ slug: "happy-diet"
+ },
+ {
+ imageSrc: image17.src,
+ title: "9",
+ description: "Dragon fruit is a type of fruit that is a favorite for many people because of its delicious and fresh...",
+ slug: "happy-diet"
+ },
+ {
+ imageSrc: image23.src,
+ title: "10",
+ description: "Dragon fruit is a type of fruit that is a favorite for many people because of its delicious and fresh...",
+ slug: "happy-diet"
+ },
+ {
+ imageSrc: image21.src,
+ title: "11",
+ description: "The DEBM diet stands for "+"Delicious Happy Fun Diet"+". This diet was popularized by Robert...",
+ slug: "happy-diet"
+ },
+ {
+ imageSrc: image22.src,
+ title: "12",
+ description: "Aloe vera or aloe vera is a green plant, has thorns on the side of the skin with yellowish patches and...",
+ slug: "happy-diet"
+ },
+ {
+ imageSrc: image15.src,
+ title: "13",
+ description: "The DEBM diet stands for "+"Delicious Happy Fun Diet"+". This diet was popularized by Robert...",
+ slug: "happy-diet"
+ },
+ {
+ imageSrc: image16.src,
+ title: "14",
+ description: "Aloe vera or aloe vera is a green plant, has thorns on the side of the skin with yellowish patches and...",
+ slug: "happy-diet"
+ },
+ {
+ imageSrc: image17.src,
+ title: "15",
+ description: "Dragon fruit is a type of fruit that is a favorite for many people because of its delicious and fresh...",
+ slug: "happy-diet"
+ },
+ {
+ imageSrc: image21.src,
+ title: "16",
+ description: "The DEBM diet stands for "+"Delicious Happy Fun Diet"+". This diet was popularized by Robert...",
+ slug: "happy-diet"
+ },
+ {
+ imageSrc: image23.src,
+ title: "17",
+ description: "Dragon fruit is a type of fruit that is a favorite for many people because of its delicious and fresh...",
+ slug: "happy-diet"
+ },
+ {
+ imageSrc: image22.src,
+ title: "18",
+ description: "Aloe vera or aloe vera is a green plant, has thorns on the side of the skin with yellowish patches and...",
+ slug: "happy-diet"
+ },
+
+ ]
+
+const BlogsList = ({ data = BLOGSLIST_DATA }:BlogsListProps) => {
+ const [currentPage, setCurrentPage] = useState(0)
+ const onPageChange = (page:number) => {
+ setCurrentPage(page)
+ }
+
+ return (
+
+
+
+ )
+}
+
+export default BlogsList
\ No newline at end of file
diff --git a/src/components/modules/blogs/FeaturedCardBlog/FeaturedCardBlog.module.scss b/src/components/modules/blogs/FeaturedCardBlog/FeaturedCardBlog.module.scss
new file mode 100644
index 000000000..6fb16450c
--- /dev/null
+++ b/src/components/modules/blogs/FeaturedCardBlog/FeaturedCardBlog.module.scss
@@ -0,0 +1,34 @@
+@import "../../../../styles/utilities";
+
+.featuredCard {
+ @apply flex flex-row justify-center spacing-horizontal pb-16;
+ .featuredCardWrapper {
+ @apply flex flex-col;
+ @screen lg {
+ @apply flex-row justify-between;
+ }
+ max-width: 121.6rem;
+ }
+}
+.left {
+ max-width: 59.8rem;
+ img {
+ border-radius: 2.4rem;
+ }
+}
+.right {
+ flex-shrink: 3;
+ @screen lg {
+ margin-left: 6.4rem;
+ }
+}
+.titleWrapper {
+ @apply flex flex-col items-start font-heading heading-3;
+ margin-bottom: 1.6rem;
+ .title {
+ margin-top: 0.4rem;
+ }
+}
+.content {
+ margin-top: 1.6rem
+}
\ No newline at end of file
diff --git a/src/components/modules/blogs/FeaturedCardBlog/FeaturedCardBlog.tsx b/src/components/modules/blogs/FeaturedCardBlog/FeaturedCardBlog.tsx
new file mode 100644
index 000000000..2bd158d79
--- /dev/null
+++ b/src/components/modules/blogs/FeaturedCardBlog/FeaturedCardBlog.tsx
@@ -0,0 +1,52 @@
+import s from './FeaturedCardBlog.module.scss'
+import { Author, DateTime } from 'src/components/common'
+import Image from "next/image";
+import image20 from '../../../../../public/assets/images/image20.png'
+import author from '../../../../../public/assets/images/author.png'
+
+interface FeaturedCardBlogProps{
+ title?: string,
+ content?: string,
+ imgSrc?: any,
+ imgAuthor?: any,
+ date?: string,
+ authorName?: string,
+}
+
+const FEATURED_DATA = {
+ title: "Flammekueche with green asparagus",
+ content: "Traditionally, the Flammekueche is made with rapeseed oil, which, contrary to popular belief, is indeed an oil that can be cooked hot and is not limited to seasoning. It is important to vary the oils in the kitchen to take advantage of the benefits of each. Rapeseed oil is an oil rich in omega 3 which participate in the proper functioning of the cardiovascular system as well as in vitamins E which contributes to the protection of cells against oxidative stress. In short, oils are your friends 😉",
+ imgSrc: image20,
+ imgAuthor: author.src,
+ date: "APRIL 30, 2021",
+ author: "Alessandro Del Piero"
+}
+
+const FeaturedCardBlog = ({
+ title = FEATURED_DATA.title,
+ content = FEATURED_DATA.content,
+ imgSrc = FEATURED_DATA.imgSrc,
+ imgAuthor = FEATURED_DATA.imgAuthor,
+ date = FEATURED_DATA.date,
+ authorName = FEATURED_DATA.author
+}: FeaturedCardBlogProps) => {
+ return (
+
+
+
+ )
+}
+
+export default FeaturedCardBlog
\ No newline at end of file
diff --git a/src/components/modules/blogs/index.tsx b/src/components/modules/blogs/index.tsx
new file mode 100644
index 000000000..0f8e1b281
--- /dev/null
+++ b/src/components/modules/blogs/index.tsx
@@ -0,0 +1,4 @@
+export { default as FeaturedCardBlog } from './FeaturedCardBlog/FeaturedCardBlog'
+export { default as BlogsList } from './BlogsList/BlogsList'
+export { default as BlogHeading } from './BlogHeading/BlogHeading'
+export { default as BlogBreadCrumb } from './BlogBreadcrumb/BlogBreadcrumb'
\ No newline at end of file
diff --git a/src/components/modules/delivery-policy/DeliveryAndPolicyBreadCrumb/DeliveryAndPolicyBreadCrumb.module.scss b/src/components/modules/delivery-policy/DeliveryAndPolicyBreadCrumb/DeliveryAndPolicyBreadCrumb.module.scss
new file mode 100644
index 000000000..abf7ef84f
--- /dev/null
+++ b/src/components/modules/delivery-policy/DeliveryAndPolicyBreadCrumb/DeliveryAndPolicyBreadCrumb.module.scss
@@ -0,0 +1,8 @@
+@import "../../../../styles/utilities";
+
+.breadCrumb {
+ @apply absolute z-10 pt-12 spacing-horizontal;
+ @screen lg{
+ padding-left: 3.2rem;
+ }
+}
\ No newline at end of file
diff --git a/src/components/modules/delivery-policy/DeliveryAndPolicyBreadCrumb/DeliveryAndPolicyBreadCrumb.tsx b/src/components/modules/delivery-policy/DeliveryAndPolicyBreadCrumb/DeliveryAndPolicyBreadCrumb.tsx
new file mode 100644
index 000000000..992370ce5
--- /dev/null
+++ b/src/components/modules/delivery-policy/DeliveryAndPolicyBreadCrumb/DeliveryAndPolicyBreadCrumb.tsx
@@ -0,0 +1,17 @@
+import { BreadcrumbCommon } from 'src/components/common'
+import s from './DeliveryAndPolicyBreadCrumb.module.scss'
+
+const CRUMB_DATA = [
+ {
+ link: "/delivery-policy",
+ name: "Delivery And Policy"
+ }
+]
+const DeliveryAndPolicyBreadCrumb = () => {
+ return (
+
+
+
+ )
+}
+export default DeliveryAndPolicyBreadCrumb
\ No newline at end of file
diff --git a/src/components/modules/delivery-policy/DeliveryAndPolicyContent/DeliveryAndPolicyContent.module.scss b/src/components/modules/delivery-policy/DeliveryAndPolicyContent/DeliveryAndPolicyContent.module.scss
new file mode 100644
index 000000000..be88621b5
--- /dev/null
+++ b/src/components/modules/delivery-policy/DeliveryAndPolicyContent/DeliveryAndPolicyContent.module.scss
@@ -0,0 +1,26 @@
+@import "../../../../styles/utilities";
+
+.wrapper {
+ @apply flex justify-center pt-20 pb-28 spacing-horizontal;
+ .deliveryAndPolicyContentWrapper {
+ max-width: 80.4rem;
+ min-height: 4rem;
+ .titleWrapper {
+ @apply flex flex-col items-start;
+ .date {
+ @apply inline flex flex-row;
+ margin-bottom: 0.4rem;
+ .update {
+ @apply uppercase leading-8;
+ color:var(--text-label);
+ font-size: 1.2rem;
+ letter-spacing: 0.01em;
+ }
+ }
+ }
+ .content {
+ @apply pb-16 whitespace-pre-line;
+ padding-top: 1.6rem;
+ }
+ }
+}
diff --git a/src/components/modules/delivery-policy/DeliveryAndPolicyContent/DeliveryAndPolicyContent.tsx b/src/components/modules/delivery-policy/DeliveryAndPolicyContent/DeliveryAndPolicyContent.tsx
new file mode 100644
index 000000000..6045288f6
--- /dev/null
+++ b/src/components/modules/delivery-policy/DeliveryAndPolicyContent/DeliveryAndPolicyContent.tsx
@@ -0,0 +1,81 @@
+import { CollapseCommon, DateTime, HeadingCommon } from 'src/components/common'
+import s from './DeliveryAndPolicyContent.module.scss'
+
+interface DeliveryAndPolicyContentProps{
+ title?: string,
+ date?: string,
+ content?: string,
+}
+const HEADER_CONTENT =
+`When you’re trying to eat healthier but want something more substantial than a leafy green salad, broccoli salad is there for you. I love the crunch and heft of broccoli, especially when it’s cut up into bite size spoonable pieces.
+
+Some people aren’t into raw broccoli, but I love it! I always go for the raw broccoli on those vegetable platters that seem to be at every potluck/party you go to.
+
+This is a simple broccoli salad: you have the bulk of it, raw broccoli; crunchy red onions for a bit of acidity and raw crunch, craisins for sweetness, almonds for a nutty counter point; and a sweet and tangy soy-rice vinegar-sesame dressing.`;
+
+const DELIVERYANDPOLICY_DATA = [
+ {
+ title: "This is a subtitle",
+ content: `When you’re trying to eat healthier but want something more substantial than a leafy green salad, broccoli salad is there for you. I love the crunch and heft of broccoli, especially when it’s cut up into bite size spoonable pieces.
+
+ Some people aren’t into raw broccoli, but I love it! I always go for the raw broccoli on those vegetable platters that seem to be at every potluck/party you go to.
+
+ This is a simple broccoli salad: you have the bulk of it, raw broccoli; crunchy red onions for a bit of acidity and raw crunch, craisins for sweetness, almonds for a nutty counter point; and a sweet and tangy soy-rice vinegar-sesame dressing.`,
+ },
+ {
+ title: "This is a subtitle",
+ content: `When you’re trying to eat healthier but want something more substantial than a leafy green salad, broccoli salad is there for you. I love the crunch and heft of broccoli, especially when it’s cut up into bite size spoonable pieces.
+
+ Some people aren’t into raw broccoli, but I love it! I always go for the raw broccoli on those vegetable platters that seem to be at every potluck/party you go to.
+
+ This is a simple broccoli salad: you have the bulk of it, raw broccoli; crunchy red onions for a bit of acidity and raw crunch, craisins for sweetness, almonds for a nutty counter point; and a sweet and tangy soy-rice vinegar-sesame dressing.`,
+ },
+ {
+ title: "This is a subtitle",
+ content: `When you’re trying to eat healthier but want something more substantial than a leafy green salad, broccoli salad is there for you. I love the crunch and heft of broccoli, especially when it’s cut up into bite size spoonable pieces.
+
+ Some people aren’t into raw broccoli, but I love it! I always go for the raw broccoli on those vegetable platters that seem to be at every potluck/party you go to.
+
+ This is a simple broccoli salad: you have the bulk of it, raw broccoli; crunchy red onions for a bit of acidity and raw crunch, craisins for sweetness, almonds for a nutty counter point; and a sweet and tangy soy-rice vinegar-sesame dressing.`,
+ },
+ {
+ title: "This is a subtitle",
+ content: `When you’re trying to eat healthier but want something more substantial than a leafy green salad, broccoli salad is there for you. I love the crunch and heft of broccoli, especially when it’s cut up into bite size spoonable pieces.
+
+ Some people aren’t into raw broccoli, but I love it! I always go for the raw broccoli on those vegetable platters that seem to be at every potluck/party you go to.
+
+ This is a simple broccoli salad: you have the bulk of it, raw broccoli; crunchy red onions for a bit of acidity and raw crunch, craisins for sweetness, almonds for a nutty counter point; and a sweet and tangy soy-rice vinegar-sesame dressing.`,
+ },
+ {
+ title: "This is a subtitle",
+ content: `When you’re trying to eat healthier but want something more substantial than a leafy green salad, broccoli salad is there for you. I love the crunch and heft of broccoli, especially when it’s cut up into bite size spoonable pieces.
+
+ Some people aren’t into raw broccoli, but I love it! I always go for the raw broccoli on those vegetable platters that seem to be at every potluck/party you go to.
+
+ This is a simple broccoli salad: you have the bulk of it, raw broccoli; crunchy red onions for a bit of acidity and raw crunch, craisins for sweetness, almonds for a nutty counter point; and a sweet and tangy soy-rice vinegar-sesame dressing.`,
+ },
+]
+
+const DeliveryAndPolicyContent = ( { title="Delivery & Policy", date="APRIL 30, 2021", content = HEADER_CONTENT } : DeliveryAndPolicyContentProps) => {
+ return (
+
+
+
+
+
+
LASTEST UPDATED:
+
+
+ {title}
+
+
+ {content}
+
+
+
+
+
+ )
+}
+
+export default DeliveryAndPolicyContent
\ No newline at end of file
diff --git a/src/components/modules/delivery-policy/index.tsx b/src/components/modules/delivery-policy/index.tsx
new file mode 100644
index 000000000..bb23bd6c8
--- /dev/null
+++ b/src/components/modules/delivery-policy/index.tsx
@@ -0,0 +1,2 @@
+export { default as DeliveryAndPolicyContent } from './DeliveryAndPolicyContent/DeliveryAndPolicyContent'
+export { default as DeliveryAndPolicyBreadCrumb } from './DeliveryAndPolicyBreadCrumb/DeliveryAndPolicyBreadCrumb'
\ No newline at end of file
diff --git a/src/components/modules/recipes-list/RecipeListBanner/RecipeListBanner.module.scss b/src/components/modules/recipes-list/RecipeListBanner/RecipeListBanner.module.scss
new file mode 100644
index 000000000..2e5f65a1c
--- /dev/null
+++ b/src/components/modules/recipes-list/RecipeListBanner/RecipeListBanner.module.scss
@@ -0,0 +1,8 @@
+@import "../../../../styles/_utilities";
+
+.recipeListBanner{
+ @apply spacing-horizontal;
+ @screen md {
+ padding:0 3.2rem;
+ }
+}
\ No newline at end of file
diff --git a/src/components/modules/recipes-list/RecipeListBanner/RecipeListBanner.tsx b/src/components/modules/recipes-list/RecipeListBanner/RecipeListBanner.tsx
new file mode 100644
index 000000000..0db63d2e3
--- /dev/null
+++ b/src/components/modules/recipes-list/RecipeListBanner/RecipeListBanner.tsx
@@ -0,0 +1,27 @@
+import React from 'react'
+import { Banner } from 'src/components/common'
+import BannerRight from './assets/bannerrecipes.png'
+import s from './RecipeListBanner.module.scss'
+
+interface Props {
+}
+
+const RecipeListBanner = ({ }: Props) => {
+ return (
+