diff --git a/.eslintrc.json b/.eslintrc.json index a4d86d3..8d82eb5 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -16,19 +16,10 @@ }, "ecmaVersion": "latest" }, - "plugins": [ - "react-refresh", - "@typescript-eslint", - "simple-import-sort", - "prettier" - ], + "plugins": ["@typescript-eslint", "simple-import-sort", "prettier"], "rules": { "prettier/prettier": "error", "simple-import-sort/imports": "error", - "simple-import-sort/exports": "error", - "react-refresh/only-export-components": [ - "warn", - { "allowConstantExport": true } - ] + "simple-import-sort/exports": "error" } } diff --git a/CHANGELOG.md b/CHANGELOG.md index 9fd9d55..24b6e32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,72 +1,69 @@ # 1.0.0 (2024-07-03) - ### Bug Fixes -* add `textColors` constant to manager colors of `Text` component ([1ce1641](https://github.com/ArtelierMaisa/artelier-maisa/commit/1ce16411952e34ecd34e2d23ce343609c5db115c)) -* add correct `favicon` image ([978ded8](https://github.com/ArtelierMaisa/artelier-maisa/commit/978ded8fec4a8277567ad52178de524c1cff9ac9)) -* add cover to profile image ([54ec48e](https://github.com/ArtelierMaisa/artelier-maisa/commit/54ec48e7aa1c13f6f4f86e059824b199f69f5165)) -* add highlight to tab products when user open platform directly in the `Product` page ([5ae34ab](https://github.com/ArtelierMaisa/artelier-maisa/commit/5ae34ab8ceed56646f410df78ec89718a281b206)) -* add safe `z-index` to overlay in `Modal` component ([903f119](https://github.com/ArtelierMaisa/artelier-maisa/commit/903f1196df4e0f94397a7043ed9178178f2769f3)) -* add scroll Y auto to `Modal` component and custom style ([29587f8](https://github.com/ArtelierMaisa/artelier-maisa/commit/29587f829131444bdd45eeeef4cdcd603ad7280c)) -* adjust in `SendMessageProps` interface when its used by `WhatsAppButton` and `Footer` ([5403d73](https://github.com/ArtelierMaisa/artelier-maisa/commit/5403d73a8dce639620668f57cf7fc3c94a304c4e)) -* bigger adjusts in colors and sizes of `Icon` types component, and size of `Text` component ([9402a49](https://github.com/ArtelierMaisa/artelier-maisa/commit/9402a49b647f8b2154591690b35e0036cfb842a6)) -* improve `Text` component and add responsiveness to `Footer` component ([c0218bc](https://github.com/ArtelierMaisa/artelier-maisa/commit/c0218bc18f87166fe96363692602443925a03787)) -* release 1.0.3 ([48dd83d](https://github.com/ArtelierMaisa/artelier-maisa/commit/48dd83d9ca8f5bee52cb61293c34a8362b8f6233)) -* remove Uri import ([4d933b6](https://github.com/ArtelierMaisa/artelier-maisa/commit/4d933b6917b545125a347be074f63d58c722d39b)) -* resolve problem when products doesn't exists in category ([d2d625e](https://github.com/ArtelierMaisa/artelier-maisa/commit/d2d625e25fc61b01e427c4432cd790e14786f8ca)) -* small adjust in favicon path image ([9da52a1](https://github.com/ArtelierMaisa/artelier-maisa/commit/9da52a185b75191f635188e411842056fd675a4d)) - +- add `textColors` constant to manager colors of `Text` component ([1ce1641](https://github.com/ArtelierMaisa/artelier-maisa/commit/1ce16411952e34ecd34e2d23ce343609c5db115c)) +- add correct `favicon` image ([978ded8](https://github.com/ArtelierMaisa/artelier-maisa/commit/978ded8fec4a8277567ad52178de524c1cff9ac9)) +- add cover to profile image ([54ec48e](https://github.com/ArtelierMaisa/artelier-maisa/commit/54ec48e7aa1c13f6f4f86e059824b199f69f5165)) +- add highlight to tab products when user open platform directly in the `Product` page ([5ae34ab](https://github.com/ArtelierMaisa/artelier-maisa/commit/5ae34ab8ceed56646f410df78ec89718a281b206)) +- add safe `z-index` to overlay in `Modal` component ([903f119](https://github.com/ArtelierMaisa/artelier-maisa/commit/903f1196df4e0f94397a7043ed9178178f2769f3)) +- add scroll Y auto to `Modal` component and custom style ([29587f8](https://github.com/ArtelierMaisa/artelier-maisa/commit/29587f829131444bdd45eeeef4cdcd603ad7280c)) +- adjust in `SendMessageProps` interface when its used by `WhatsAppButton` and `Footer` ([5403d73](https://github.com/ArtelierMaisa/artelier-maisa/commit/5403d73a8dce639620668f57cf7fc3c94a304c4e)) +- bigger adjusts in colors and sizes of `Icon` types component, and size of `Text` component ([9402a49](https://github.com/ArtelierMaisa/artelier-maisa/commit/9402a49b647f8b2154591690b35e0036cfb842a6)) +- improve `Text` component and add responsiveness to `Footer` component ([c0218bc](https://github.com/ArtelierMaisa/artelier-maisa/commit/c0218bc18f87166fe96363692602443925a03787)) +- release 1.0.3 ([48dd83d](https://github.com/ArtelierMaisa/artelier-maisa/commit/48dd83d9ca8f5bee52cb61293c34a8362b8f6233)) +- remove Uri import ([4d933b6](https://github.com/ArtelierMaisa/artelier-maisa/commit/4d933b6917b545125a347be074f63d58c722d39b)) +- resolve problem when products doesn't exists in category ([d2d625e](https://github.com/ArtelierMaisa/artelier-maisa/commit/d2d625e25fc61b01e427c4432cd790e14786f8ca)) +- small adjust in favicon path image ([9da52a1](https://github.com/ArtelierMaisa/artelier-maisa/commit/9da52a185b75191f635188e411842056fd675a4d)) ### Features -* add `.env.example` ([84922f8](https://github.com/ArtelierMaisa/artelier-maisa/commit/84922f84ed80baf438637f4ee5749a906972d32b)) -* add `CarouselButton` and `Carousel` components ([8e2e052](https://github.com/ArtelierMaisa/artelier-maisa/commit/8e2e05253e7e518186454ea823cf749fa1800e33)) -* add `CarouselEvent` component and small style adjust in `ProductCard` component ([c2580c7](https://github.com/ArtelierMaisa/artelier-maisa/commit/c2580c7bdb5aab85d92f2bf74638a11884f86409)) -* add `CarouselImage` component ([fa1a946](https://github.com/ArtelierMaisa/artelier-maisa/commit/fa1a946cb4931745261625b4fd7e6d9fa31c68e1)) -* add `firabase` config ([c6458ea](https://github.com/ArtelierMaisa/artelier-maisa/commit/c6458eac190a47f54abcd09075d93195030815d4)) -* add `flowbite` and `flowbite-react` config ([2eb6203](https://github.com/ArtelierMaisa/artelier-maisa/commit/2eb6203d62d9b850e10abda07b7a73eebba35245)) -* add `Footer` component ([ac105b9](https://github.com/ArtelierMaisa/artelier-maisa/commit/ac105b986893761ace626b363779d35b41a112dc)) -* add `GenericButton` component ([a86f529](https://github.com/ArtelierMaisa/artelier-maisa/commit/a86f5298e2c6653fea84a1db4219f2ca8c8d5b25)) -* add `Header` component ([dd0d4b9](https://github.com/ArtelierMaisa/artelier-maisa/commit/dd0d4b925f78cb447087b372b5a4849fd299e31f)) -* add `inter` font to tailwind ([125f10c](https://github.com/ArtelierMaisa/artelier-maisa/commit/125f10c0f17a90aafa1b323bef74b78146c7a9a4)) -* add `isLoading` property to `GenericButton` component ([a38c559](https://github.com/ArtelierMaisa/artelier-maisa/commit/a38c55945eff5f65b5cb055046a4f3965a39b25b)) -* add `Metric` component and custom `box-shadow` in `tailwindcss` ([f1646e5](https://github.com/ArtelierMaisa/artelier-maisa/commit/f1646e5e1a95b0bee13776a0d49f6898b9b67997)) -* add `Modal` component ([2458bea](https://github.com/ArtelierMaisa/artelier-maisa/commit/2458bea6e85aa731268f1cf6373a98350404ef6e)) -* add `Modal` component and `tailwind-scrollbar` plugin ([5e535b5](https://github.com/ArtelierMaisa/artelier-maisa/commit/5e535b5d07f0b8e90e4070bff2777e7c229ea196)) -* add `NotFound` page ([63523b7](https://github.com/ArtelierMaisa/artelier-maisa/commit/63523b7efc9a155c1315381b1b6d3729e6cb01ef)) -* add `ProductCard` component ([af05290](https://github.com/ArtelierMaisa/artelier-maisa/commit/af05290efabdb78f37506f9212f1bba736d163b2)) -* add `react-scroll` for scroll to correctly section in structure of landing page ([2e4ee45](https://github.com/ArtelierMaisa/artelier-maisa/commit/2e4ee45b20114788f2cb6ddf34fd625ec0d17cde)) -* add `ScrollTopContext` and `useScrollTop` to when we go back from `Products` page ([a14ef70](https://github.com/ArtelierMaisa/artelier-maisa/commit/a14ef700a6ce3f8aafd7b4d62e1a15e7ec62491c)) -* add `SearchInput` component ([a6abe6e](https://github.com/ArtelierMaisa/artelier-maisa/commit/a6abe6ecbc211a0c28a96f26a78076f39c8a6280)) -* add `Spinner` component ([cd57837](https://github.com/ArtelierMaisa/artelier-maisa/commit/cd578373a63b0e71ee9e9e236a782eb3e21e6983)) -* add `tailwindcss ` and setup colors ([afd6e85](https://github.com/ArtelierMaisa/artelier-maisa/commit/afd6e85942776176400409243bee14305eb04a33)) -* add `useUser` hook to handle with user requests ([08c29c9](https://github.com/ArtelierMaisa/artelier-maisa/commit/08c29c9ef3e2fd69f7f2422e33fa6c51c18598fa)) -* add `weights` and `sizes` of `Text` component in `constants` folder ([f83e82c](https://github.com/ArtelierMaisa/artelier-maisa/commit/f83e82cdf2b9ad33bf96c903bf82e3813d88753f)) -* add `WhatsAppButton` component ([c03307a](https://github.com/ArtelierMaisa/artelier-maisa/commit/c03307a46ffeab70b60627d7730f6ad3734ae366)) -* add conditional to show `additional` of the about in `LandingPage` ([309c8e9](https://github.com/ArtelierMaisa/artelier-maisa/commit/309c8e99266014b3f19593d74cfbe7dbcd2b5663)) -* add default phone and email ([e955c99](https://github.com/ArtelierMaisa/artelier-maisa/commit/e955c99fd30b8d6b1189a39882147b359cfd3677)) -* add integration in the `Products` page ([728339e](https://github.com/ArtelierMaisa/artelier-maisa/commit/728339ee590d17c6708887164bf981fea6da0c09)) -* add integration with banners ([2ad30de](https://github.com/ArtelierMaisa/artelier-maisa/commit/2ad30ded2d1d4aae0507673891d5fd3d9dc9ee51)) -* add integration with highlight data ([0e5086f](https://github.com/ArtelierMaisa/artelier-maisa/commit/0e5086f39ef838f6ba820ce01ee092123a5db085)) -* add integration with WhatsApp API ([18303e5](https://github.com/ArtelierMaisa/artelier-maisa/commit/18303e56414cc868d2fa527a11e3fad818a6fc3b)) -* add mail to in envelope icon in the `Footer` component ([99d3e86](https://github.com/ArtelierMaisa/artelier-maisa/commit/99d3e86d5ae4b6e4dc5f74c7e4752d362a2067c9)) -* add products to `LandingPage` ([997699e](https://github.com/ArtelierMaisa/artelier-maisa/commit/997699e59ea4c34f7f8b4ed86e044a1365a6f66a)) -* add project logo ([38fd301](https://github.com/ArtelierMaisa/artelier-maisa/commit/38fd301a299623c89b0ad55843bb2697da1d7895)) -* add routes in `App` ([f0886c0](https://github.com/ArtelierMaisa/artelier-maisa/commit/f0886c00398dd3c2bba1bf5f535be78c19e745ce)) -* add support ts to images ([c0dfd4e](https://github.com/ArtelierMaisa/artelier-maisa/commit/c0dfd4e391f7b39401e3d0420b27e0dee80e06f8)) -* create `envs` file to manager all environment variables ([8f58e8a](https://github.com/ArtelierMaisa/artelier-maisa/commit/8f58e8a82651678c003c49a96b80fd0c1f61f657)) -* create `react` project with `vite` ([597aab4](https://github.com/ArtelierMaisa/artelier-maisa/commit/597aab4465565f84ca35b9a753067d7e484dc515)) -* create `Text` component ([7d9551a](https://github.com/ArtelierMaisa/artelier-maisa/commit/7d9551a1a0f76cd951df7250b44ba3eed14ff2ae)) -* create Icon component ([01df400](https://github.com/ArtelierMaisa/artelier-maisa/commit/01df400fcbdafcf31423c7dc03848a41aae0ce7b)) -* finish `LandingPage` structure and style ([06a1697](https://github.com/ArtelierMaisa/artelier-maisa/commit/06a1697e2e3ed5afdd4398ea16add925d7f7d5a5)) -* finish structure and styles from Products page ([ebdeff4](https://github.com/ArtelierMaisa/artelier-maisa/commit/ebdeff4ae320a11ae5aaab56de030fdc666b2685)) -* integrate `Header` component with `react-router-dom` ([26891c9](https://github.com/ArtelierMaisa/artelier-maisa/commit/26891c911a541381c101332a75c8ed80b5144141)) -* release 1.0.0 ([152a936](https://github.com/ArtelierMaisa/artelier-maisa/commit/152a9361cedba93aac9d738918830cce424fa62e)) -* release 1.0.1 ([4a419f5](https://github.com/ArtelierMaisa/artelier-maisa/commit/4a419f5135d7875f19b7e1ef86a940d339252559)) -* release 1.0.2 ([6415cef](https://github.com/ArtelierMaisa/artelier-maisa/commit/6415cef7178b58e41592d2ac1dfbedbaba60ae01)) - +- add `.env.example` ([84922f8](https://github.com/ArtelierMaisa/artelier-maisa/commit/84922f84ed80baf438637f4ee5749a906972d32b)) +- add `CarouselButton` and `Carousel` components ([8e2e052](https://github.com/ArtelierMaisa/artelier-maisa/commit/8e2e05253e7e518186454ea823cf749fa1800e33)) +- add `CarouselEvent` component and small style adjust in `ProductCard` component ([c2580c7](https://github.com/ArtelierMaisa/artelier-maisa/commit/c2580c7bdb5aab85d92f2bf74638a11884f86409)) +- add `CarouselImage` component ([fa1a946](https://github.com/ArtelierMaisa/artelier-maisa/commit/fa1a946cb4931745261625b4fd7e6d9fa31c68e1)) +- add `firabase` config ([c6458ea](https://github.com/ArtelierMaisa/artelier-maisa/commit/c6458eac190a47f54abcd09075d93195030815d4)) +- add `flowbite` and `flowbite-react` config ([2eb6203](https://github.com/ArtelierMaisa/artelier-maisa/commit/2eb6203d62d9b850e10abda07b7a73eebba35245)) +- add `Footer` component ([ac105b9](https://github.com/ArtelierMaisa/artelier-maisa/commit/ac105b986893761ace626b363779d35b41a112dc)) +- add `GenericButton` component ([a86f529](https://github.com/ArtelierMaisa/artelier-maisa/commit/a86f5298e2c6653fea84a1db4219f2ca8c8d5b25)) +- add `Header` component ([dd0d4b9](https://github.com/ArtelierMaisa/artelier-maisa/commit/dd0d4b925f78cb447087b372b5a4849fd299e31f)) +- add `inter` font to tailwind ([125f10c](https://github.com/ArtelierMaisa/artelier-maisa/commit/125f10c0f17a90aafa1b323bef74b78146c7a9a4)) +- add `isLoading` property to `GenericButton` component ([a38c559](https://github.com/ArtelierMaisa/artelier-maisa/commit/a38c55945eff5f65b5cb055046a4f3965a39b25b)) +- add `Metric` component and custom `box-shadow` in `tailwindcss` ([f1646e5](https://github.com/ArtelierMaisa/artelier-maisa/commit/f1646e5e1a95b0bee13776a0d49f6898b9b67997)) +- add `Modal` component ([2458bea](https://github.com/ArtelierMaisa/artelier-maisa/commit/2458bea6e85aa731268f1cf6373a98350404ef6e)) +- add `Modal` component and `tailwind-scrollbar` plugin ([5e535b5](https://github.com/ArtelierMaisa/artelier-maisa/commit/5e535b5d07f0b8e90e4070bff2777e7c229ea196)) +- add `NotFound` page ([63523b7](https://github.com/ArtelierMaisa/artelier-maisa/commit/63523b7efc9a155c1315381b1b6d3729e6cb01ef)) +- add `ProductCard` component ([af05290](https://github.com/ArtelierMaisa/artelier-maisa/commit/af05290efabdb78f37506f9212f1bba736d163b2)) +- add `react-scroll` for scroll to correctly section in structure of landing page ([2e4ee45](https://github.com/ArtelierMaisa/artelier-maisa/commit/2e4ee45b20114788f2cb6ddf34fd625ec0d17cde)) +- add `ScrollTopContext` and `useScrollTop` to when we go back from `Products` page ([a14ef70](https://github.com/ArtelierMaisa/artelier-maisa/commit/a14ef700a6ce3f8aafd7b4d62e1a15e7ec62491c)) +- add `SearchInput` component ([a6abe6e](https://github.com/ArtelierMaisa/artelier-maisa/commit/a6abe6ecbc211a0c28a96f26a78076f39c8a6280)) +- add `Spinner` component ([cd57837](https://github.com/ArtelierMaisa/artelier-maisa/commit/cd578373a63b0e71ee9e9e236a782eb3e21e6983)) +- add `tailwindcss ` and setup colors ([afd6e85](https://github.com/ArtelierMaisa/artelier-maisa/commit/afd6e85942776176400409243bee14305eb04a33)) +- add `useUser` hook to handle with user requests ([08c29c9](https://github.com/ArtelierMaisa/artelier-maisa/commit/08c29c9ef3e2fd69f7f2422e33fa6c51c18598fa)) +- add `weights` and `sizes` of `Text` component in `constants` folder ([f83e82c](https://github.com/ArtelierMaisa/artelier-maisa/commit/f83e82cdf2b9ad33bf96c903bf82e3813d88753f)) +- add `WhatsAppButton` component ([c03307a](https://github.com/ArtelierMaisa/artelier-maisa/commit/c03307a46ffeab70b60627d7730f6ad3734ae366)) +- add conditional to show `additional` of the about in `LandingPage` ([309c8e9](https://github.com/ArtelierMaisa/artelier-maisa/commit/309c8e99266014b3f19593d74cfbe7dbcd2b5663)) +- add default phone and email ([e955c99](https://github.com/ArtelierMaisa/artelier-maisa/commit/e955c99fd30b8d6b1189a39882147b359cfd3677)) +- add integration in the `Products` page ([728339e](https://github.com/ArtelierMaisa/artelier-maisa/commit/728339ee590d17c6708887164bf981fea6da0c09)) +- add integration with banners ([2ad30de](https://github.com/ArtelierMaisa/artelier-maisa/commit/2ad30ded2d1d4aae0507673891d5fd3d9dc9ee51)) +- add integration with highlight data ([0e5086f](https://github.com/ArtelierMaisa/artelier-maisa/commit/0e5086f39ef838f6ba820ce01ee092123a5db085)) +- add integration with WhatsApp API ([18303e5](https://github.com/ArtelierMaisa/artelier-maisa/commit/18303e56414cc868d2fa527a11e3fad818a6fc3b)) +- add mail to in envelope icon in the `Footer` component ([99d3e86](https://github.com/ArtelierMaisa/artelier-maisa/commit/99d3e86d5ae4b6e4dc5f74c7e4752d362a2067c9)) +- add products to `LandingPage` ([997699e](https://github.com/ArtelierMaisa/artelier-maisa/commit/997699e59ea4c34f7f8b4ed86e044a1365a6f66a)) +- add project logo ([38fd301](https://github.com/ArtelierMaisa/artelier-maisa/commit/38fd301a299623c89b0ad55843bb2697da1d7895)) +- add routes in `App` ([f0886c0](https://github.com/ArtelierMaisa/artelier-maisa/commit/f0886c00398dd3c2bba1bf5f535be78c19e745ce)) +- add support ts to images ([c0dfd4e](https://github.com/ArtelierMaisa/artelier-maisa/commit/c0dfd4e391f7b39401e3d0420b27e0dee80e06f8)) +- create `envs` file to manager all environment variables ([8f58e8a](https://github.com/ArtelierMaisa/artelier-maisa/commit/8f58e8a82651678c003c49a96b80fd0c1f61f657)) +- create `react` project with `vite` ([597aab4](https://github.com/ArtelierMaisa/artelier-maisa/commit/597aab4465565f84ca35b9a753067d7e484dc515)) +- create `Text` component ([7d9551a](https://github.com/ArtelierMaisa/artelier-maisa/commit/7d9551a1a0f76cd951df7250b44ba3eed14ff2ae)) +- create Icon component ([01df400](https://github.com/ArtelierMaisa/artelier-maisa/commit/01df400fcbdafcf31423c7dc03848a41aae0ce7b)) +- finish `LandingPage` structure and style ([06a1697](https://github.com/ArtelierMaisa/artelier-maisa/commit/06a1697e2e3ed5afdd4398ea16add925d7f7d5a5)) +- finish structure and styles from Products page ([ebdeff4](https://github.com/ArtelierMaisa/artelier-maisa/commit/ebdeff4ae320a11ae5aaab56de030fdc666b2685)) +- integrate `Header` component with `react-router-dom` ([26891c9](https://github.com/ArtelierMaisa/artelier-maisa/commit/26891c911a541381c101332a75c8ed80b5144141)) +- release 1.0.0 ([152a936](https://github.com/ArtelierMaisa/artelier-maisa/commit/152a9361cedba93aac9d738918830cce424fa62e)) +- release 1.0.1 ([4a419f5](https://github.com/ArtelierMaisa/artelier-maisa/commit/4a419f5135d7875f19b7e1ef86a940d339252559)) +- release 1.0.2 ([6415cef](https://github.com/ArtelierMaisa/artelier-maisa/commit/6415cef7178b58e41592d2ac1dfbedbaba60ae01)) ### Performance Improvements -* change `Text` to span when it's a text inside text ([10969e1](https://github.com/ArtelierMaisa/artelier-maisa/commit/10969e1681bbdd92e50eba35fc209420392fb58c)) +- change `Text` to span when it's a text inside text ([10969e1](https://github.com/ArtelierMaisa/artelier-maisa/commit/10969e1681bbdd92e50eba35fc209420392fb58c)) diff --git a/index.html b/index.html index b6c1b0b..4001b85 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,7 @@ + @@ -13,6 +14,45 @@ rel="stylesheet" /> + + + + + + + + + + + + + + + + + + + + + + + +