├── .babelrc ├── .gitignore ├── LICENSE.md ├── README.md ├── __mocks__ └── next │ └── config.js ├── __tests__ ├── ProductCard.test.js └── __snapshots__ │ └── ProductCard.test.js.snap ├── components ├── Category.js ├── Category │ ├── Paginate.js │ └── Sidebar.js ├── CmsPage.js ├── Menu.js ├── Product.js ├── Product │ ├── Details.js │ └── Gallery.js └── shared │ ├── Loading.js │ ├── ProductCard.js │ └── ProductsGrid.js ├── enzyme.config.js ├── gql └── queries │ ├── category-anchor.graphql │ ├── category.graphql │ ├── cms-page.graphql │ ├── index.js │ ├── product.graphql │ └── products.graphql ├── jest.config.js ├── lib ├── init-apollo.js ├── url-resolver.js └── with-apollo-client.js ├── next.config.js ├── now.json ├── package.json ├── pages ├── _app.js ├── content.js └── index.js ├── postcss.config.js ├── routes.js ├── server.js ├── static └── leaf.png ├── styles.css ├── tailwind.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/.babelrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | 3 | /.next 4 | /node_modules 5 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/README.md -------------------------------------------------------------------------------- /__mocks__/next/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/__mocks__/next/config.js -------------------------------------------------------------------------------- /__tests__/ProductCard.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/__tests__/ProductCard.test.js -------------------------------------------------------------------------------- /__tests__/__snapshots__/ProductCard.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/__tests__/__snapshots__/ProductCard.test.js.snap -------------------------------------------------------------------------------- /components/Category.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/components/Category.js -------------------------------------------------------------------------------- /components/Category/Paginate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/components/Category/Paginate.js -------------------------------------------------------------------------------- /components/Category/Sidebar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/components/Category/Sidebar.js -------------------------------------------------------------------------------- /components/CmsPage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/components/CmsPage.js -------------------------------------------------------------------------------- /components/Menu.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/components/Menu.js -------------------------------------------------------------------------------- /components/Product.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/components/Product.js -------------------------------------------------------------------------------- /components/Product/Details.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/components/Product/Details.js -------------------------------------------------------------------------------- /components/Product/Gallery.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/components/Product/Gallery.js -------------------------------------------------------------------------------- /components/shared/Loading.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/components/shared/Loading.js -------------------------------------------------------------------------------- /components/shared/ProductCard.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/components/shared/ProductCard.js -------------------------------------------------------------------------------- /components/shared/ProductsGrid.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/components/shared/ProductsGrid.js -------------------------------------------------------------------------------- /enzyme.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/enzyme.config.js -------------------------------------------------------------------------------- /gql/queries/category-anchor.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/gql/queries/category-anchor.graphql -------------------------------------------------------------------------------- /gql/queries/category.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/gql/queries/category.graphql -------------------------------------------------------------------------------- /gql/queries/cms-page.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/gql/queries/cms-page.graphql -------------------------------------------------------------------------------- /gql/queries/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/gql/queries/index.js -------------------------------------------------------------------------------- /gql/queries/product.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/gql/queries/product.graphql -------------------------------------------------------------------------------- /gql/queries/products.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/gql/queries/products.graphql -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/jest.config.js -------------------------------------------------------------------------------- /lib/init-apollo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/lib/init-apollo.js -------------------------------------------------------------------------------- /lib/url-resolver.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/lib/url-resolver.js -------------------------------------------------------------------------------- /lib/with-apollo-client.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/lib/with-apollo-client.js -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/next.config.js -------------------------------------------------------------------------------- /now.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/now.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/package.json -------------------------------------------------------------------------------- /pages/_app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/pages/_app.js -------------------------------------------------------------------------------- /pages/content.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/pages/content.js -------------------------------------------------------------------------------- /pages/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/pages/index.js -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/postcss.config.js -------------------------------------------------------------------------------- /routes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/routes.js -------------------------------------------------------------------------------- /server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/server.js -------------------------------------------------------------------------------- /static/leaf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/static/leaf.png -------------------------------------------------------------------------------- /styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/styles.css -------------------------------------------------------------------------------- /tailwind.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/tailwind.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/restoreddev/basil/HEAD/yarn.lock --------------------------------------------------------------------------------