186 Commits

Author SHA1 Message Date
Henrik Larsson
616a177058 Locale switcher fix 2023-08-14 09:20:36 +02:00
Henrik Larsson
e1f0d4e54c
Update locale-switcher.tsx 2023-08-13 23:10:46 +02:00
Henrik Larsson
30e9b591ce Locale switcher fix 2023-08-13 23:03:03 +02:00
Henrik Larsson
b95cca0fcc Locale switcher fix 2023-08-13 23:00:00 +02:00
Henrik Larsson
671e3744db Hero updates 2023-08-13 22:38:58 +02:00
Henrik Larsson
ce9c62084e Links and data fetching for dynamic routes 2023-08-13 22:16:15 +02:00
Henrik Larsson
ed97bafd66 Tried some updates 2023-08-13 14:43:31 +02:00
Henrik Larsson
ac9d8c4386 Tried some updates 2023-08-13 14:06:02 +02:00
Henrik Larsson
60d1810707 Restructured app to work better with localized slugs 2023-08-12 13:55:30 +02:00
Henrik Larsson
f14d0cb865 Rewrite URLs for app router folders 2023-08-11 23:37:34 +02:00
Henrik Larsson
6a5aa06841 Fixed bugs 2023-08-11 16:04:47 +02:00
Henrik Larsson
86f2475aad Search fixes 2023-08-11 11:54:50 +02:00
Henrik Larsson
767245672c Tried to optimize product page 2023-08-11 10:19:55 +02:00
Henrik Larsson
dc2856c4c8 Tested to add algolia search 2023-08-10 20:49:53 +02:00
Henrik Larsson
04477fe83a Test suspense in dynamic content manager 2023-08-10 15:16:45 +02:00
Henrik Larsson
e566c1f451 Dynamic imports 2023-08-08 22:36:13 +02:00
Henrik Larsson
047e5fe566 Updates 2023-08-08 17:06:04 +02:00
Henrik Larsson
22aab2f657 Updates 2023-08-08 16:20:45 +02:00
Henrik Larsson
3e513eaf99 Updates 2023-08-08 11:46:46 +02:00
Henrik Larsson
6527974989 Catch all routes 2023-08-07 16:40:42 +02:00
Henrik Larsson
a75a2e7feb Structural changes 2023-08-07 15:06:13 +02:00
Henrik Larsson
67bd84ebf9 Update revalidate path 2023-07-07 13:10:00 +02:00
Henrik Larsson
5c2f3d5e3e Locale switcher updates 2023-07-07 12:56:33 +02:00
Henrik Larsson
4327a10dc9 Locale switcher 2023-07-07 11:46:16 +02:00
Henrik Larsson
37e2ef06fc Implement client fetch 2023-07-03 14:05:31 +02:00
Henrik Larsson
05c6a4d71f Added prettier plugin tailwindcss to project 2023-05-22 09:15:53 +02:00
Henrik Larsson
0a2e289d85 Implemented preview functionality with next js 13 app dir 2023-05-16 12:52:44 +02:00
Henrik Larsson
a740f19f8a Added styles for usp section and started on reusable section 2023-05-15 16:36:57 +02:00
Martin Westerlund
b954a14d25 Added USP section styling 2023-05-08 11:49:40 +02:00
Henrik Larsson
861de650f5 Played around with language options 2023-05-08 09:32:08 +02:00
Henrik Larsson
748439803c Tweaks 2023-05-05 20:02:11 +02:00
Henrik Larsson
d328f1ed96 Testing to relocate CSS according to new App dir functionality 2023-05-05 11:39:18 +02:00
Henrik Larsson
c93e76c567 Hero tweak and remove locale switcher text 2023-05-05 10:30:55 +02:00
Henrik Larsson
4bf59a61f6 Iterations and TS error fixes 2023-05-05 10:12:15 +02:00
Henrik Larsson
c68f95e454 Ported more functionality 2023-05-04 09:20:26 +02:00
Henrik Larsson
a9ad63d056 Work with displaying content 2023-05-03 23:16:19 +02:00
Henrik Larsson
603bd2b880 Iterated with translations 2023-05-03 15:16:42 +02:00
Henrik Larsson
a1ae2357db Iterated with translations 2023-05-03 10:20:25 +02:00
Henrik Larsson
cca3250557 Iterated with translations 2023-05-03 09:58:35 +02:00
Luis Alvarez D
0afe686fe9
Monorepo with Turborepo (#651)
* Moved everything

* Figuring out how to make imports work

* Updated exports

* Added missing exports

* Added @vercel/commerce-local to `site`

* Updated commerce config

* Updated exports and commerce config

* Updated commerce hoc

* Fixed exports in local

* Added publish config

* Updated imports in site

* It's actually working

* Don't use debugger in dev for better speeds

* Improved DX when editing packages

* Set up eslint with husky

* Updated prettier config

* Added prettier setup to every package

* Moved bigcommerce

* Moved Bigcommerce to src and package updates

* Updated setup of bigcommerce

* Moved definitions script

* Moved commercejs

* Move to src

* Fixed types in commercejs

* Moved kibocommerce

* Moved kibocommerce to src

* Added package/tsconfig to kibocommerce

* Fixed imports and other things

* Moved ordercloud

* Moved ordercloud to src

* Fixed imports

* Added missing prettier files

* Moved Saleor

* Moved Saleor to src

* Fixed imports

* Replaced all imports to @commerce

* Added prettierignore/rc to all providers

* Moved shopify to src

* Build shopify in packages

* Moved Spree

* Moved spree to src

* Updated spree

* Moved swell

* Moved swell to src

* Fixed type imports in swell

* Moved Vendure to packages

* Moved vendure to src

* Fixed imports in vendure

* Added codegen to saleor

* Updated codegen setup for shopify

* Added codegen to vendure

* Added codegen to kibocommerce

* Added all packages to site's deps

* Updated codegen setup in bigcommerce

* Minor fixes

* Updated providers' names in site

* Updated packages based on Bel's changes

* Updated turbo to latest

* Fixed ts complains

* Set npm engine in root

* New lockfile install

* remove engines

* Regen lockfile

* Switched from npm to yarn

* Updated typesVersions in all packages

* Moved dep

* Updated SWR to the just released 1.2.0

* Removed "isolatedModules" from packages

* Updated list of providers and default

* Updated swell declaration

* Removed next import from kibocommerce

* Added COMMERCE_PROVIDER log

* Added another log

* Updated turbo config

* Updated docs

* Removed test logs

Co-authored-by: Jared Palmer <jared@jaredpalmer.com>
2022-02-01 14:14:05 -05:00
B
f3cdbe682b
Bump (#642)
* Packages Bump

* Code Updated

* More API Changes

* Working updates

* Updated Tailwind Config

* SWR API updates

* More changes

* Commercejs Types

* Commercejs Types

* Commercejs Types
2022-01-13 15:30:14 +01:00
Lars Salling
98af5f4615
Remove unnecessary check in the Sidebar component (#606)
* refactor: remove unneccessary code

* refactor: remove excessive function call in modal

Co-authored-by: Gonzalo Pozzo <gonzalo.pozzo4@gmail.com>
2021-12-17 11:55:04 -03:00
Nine
82cb719ad6
Feature/hamburger menu (#540)
* Setup Mobile Menu Sidebar

* Setup Basic Mobile Menu Items Styling

* Implement full width styling for mobile devices

* Cleanup

Co-authored-by: Nine <at059214@Abdurahmans-MacBook-Pro.local>
2021-11-25 15:09:21 -03:00
Gonzalo Pozzo
73470c9232
Run prettier fix on all files (#581) 2021-11-25 09:17:13 -03:00
Leah Wagner
fd10eba10d
Add title to page and add styling for base typography elements for Text component (#383)
* Add title to page and add styling for base typography elements for Text component

* Remove additional title

Co-authored-by: B <curciobelen@gmail.com>
Co-authored-by: Luis Alvarez D <luis@vercel.com>
2021-09-22 20:40:20 -05:00
Federico Joel Orlandau
61d075daf1
Improve a11y on the cart and sidebar (#411)
* Improve a11y on the cart

* Fix button style

* Remove extra space

* Move cart item count to the right position

Co-authored-by: Luis Alvarez D <luis@vercel.com>
2021-09-07 14:14:28 -05:00
Luis Alvarez D
0e7e7b7d5f
Add Next.js ESLint (#425)
* Added Next.js eslint

* added eslint to lint-staged

* Added eslint config for prettier

* Fixed eslint issues in multiple files

* Fixed error in linter
2021-08-02 21:54:58 -05:00
B
78cc378a72
New Release (#371)
* Custom Checkout Progress

* Updates to Checkout

* Custom Checkout Progress

* Adding tabs

* Adding Collapse

* Adding Collapse

* Improving Sidebar Scroll

* Modif footer

* Changes

* More design updates

* sidebar cart

* More design updates

* More design updates

* More design updates

* More design updates

* Types

* Types

* Design Updates

* More changes

* More changes

* More changes

* Changes

* Changes

* Changes

* New tailwind required changes

* Sidebar Styling issues with Mobile

* Latest changes - Normalizing cart

* Styling Fixes

* New changes

* Changes

* latest

* Refactor and Renaming some UI Props

* Adding Quantity Component

* Adding Rating Component

* Rating Component

* More updates

* User Select disabled, plus hidding horizontal scroll bars

* Changes

* Adding ProductOptions Component and more helpers

* Styling updates

* Styling updates

* Fix for slim tags

* Missmatch with RightArrow

* Footer updates and some styles

* Latest Updates

* Latest Updates

* Latest Updates

* Removing Portal, since it's not needed. We might add it later I'd rather not to.

* Removing Portal, since it's not needed. We might add it later I'd rather not to.

* Sam backdrop filter

* General UI Improvements

* General UI Improvements

* Search now with Geist Colors

* Now with Geist Colors

* Changes

* Scroll for Mobile on IOs devises

* LoadingDots Working (:

* Changes

* More Changes

* Perf changes

* More perf changes

* Fade to the Nametags in the ProductCard

* changes

* Search issue ui

* Search issue ui

* Make sure to only refresh navbar and modals when required

* Index revalidate

* Fixed image issue

* hide album scroll on windows

* Fix scrollbar

* Changing

* Adding 404 with Layout

* Removing Toast

* Adding Assets

* Adding Assets

* Progress with LocalProvider

* New productTag

* Only images for the drop

* changes

* Empty SWRhooks

* Adding Local Provider

* Working local

* Working view of a LocalProvider

* More updates

* Changes

* Removed react-ticker

* default to local if no env available

* default to local if no env available

* add missing `@` to css import

* rewrite search rewrites to multiple pages

* allow requests in getStaticProps to execute in parallel

* make type import explicit

* add a tsconfig.js file

* use local provider in tsconfig.js

* avoid a circular dependency

* Saleor was not in the providers list

* avoid circular dependency in bigcommerce

* Adding more to the Local Provider (#366)

* Adding more data

* Adding more data

* optimize assets (#370)

* Optimize assets (#372)

* optimize assets

* remove assets

* remove assets

* cart enabled

* Adding saleor

* Changes with Webpack

* Changes

Co-authored-by: Luis Alvarez <luis@vercel.com>
Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
Co-authored-by: Shu Ding <g@shud.in>
2021-06-15 20:23:17 -03:00
Jakub Neander
3b2bf654fe
Updated Saleor Provider (#356)
* Initial work, copied from the Shopify provider

* Added basis setup and type generation for the products queries

* refactor: adjust the types

* task: relax the Node.js constraint

* fix: page/product properties

* disable unknown fields

* mention Saleor in the README

* setup debugging for Next.js

* Check nextjs-commerce bug if no images are added for a product

* fix: client/server pecularities for env visibility

Must prefix with `NEXT_PUBLIC_` so that the API URL is
visible on the client

* re: make search work with Saleor API (WIP)

* task: update deps

* task: move to Webpack 5.x

* saleor: initial cart integration

* update deps

* saleor: shall the cart appear!

* task: remove deprecated packages

* saleor: adding/removing from the cart

* saleor: preliminary signup process

* saleor: fix the prices in the cart

* update deps

* update deps

* Added the options for a variant to the product page

* Mapped options to variants

* Mapped options to variants

* saleor: refine the auth process

* saleor: remove unused code

* saleor: handle customer find via refresh

temporary solution

* saleor: update deps

* saleor: fix the session handling

* saleor: fix the variants

* saleor: simplify the naming for GraphQL statements

* saleor: fix the type for collection

* saleor: arrange the error codes

* saleor: integrate collections

* saleor: fix product sorting

* saleor: set cookie location

* saleor: update the schema

* saleor: attach checkout to customer

* saleor: fix the checkout flow

* saleor: unify GraphQL naming approach

* task: update deps

* Add the env variables for saleor to the template

* task: prettier

* saleor: stub API for build/typescript compilation

thanks @cond0r

* task: temporarily disable for the `build`

* saleor: refactor GraphQL queries

* saleor: adjust the config

* task: update dependencies

* revert: Next.js to `10.0.9`

* saleor: fix the checkout fetch query

* task: update dependencies

* saleor: adapt for displaying featured products

* saleor: update the provider structure

* saleor: make the home page representable

* feature/cart: display the variant name (cond)

Co-authored-by: Patryk Zawadzki <patrys@room-303.com>
Co-authored-by: royderks <10717410+royderks@users.noreply.github.com>
2021-06-10 01:46:28 -05:00
B
50be2a7e6e
Removing Blog and changes in Footer (#328) 2021-05-26 18:57:03 -03:00