From bfcaea22b740c7738056aa4882032ae1ac35d8da Mon Sep 17 00:00:00 2001 From: Margarita Golubeva Date: Fri, 26 Apr 2024 19:43:25 +0300 Subject: [PATCH 1/3] chore: set up project folder structure --- index.html | 2 +- src/app/App/.gitkeep | 0 src/app/Router/.gitkeep | 0 src/app/styles/.gitkeep | 0 src/entities/InputField/.gitkeep | 0 src/entities/Navigation/.gitkeep | 0 src/features/InputFieldValidator/.gitkeep | 0 src/pages/LoginPage/.gitkeep | 0 src/pages/MainPage/.gitkeep | 0 src/pages/NotFoundPage/.gitkeep | 0 src/pages/RegistrationPage/.gitkeep | 0 src/shared/API/.gitkeep | 0 src/shared/EventMediator/.gitkeep | 0 src/{ => shared}/img/favicon.ico | Bin src/shared/img/svg/.gitkeep | 0 src/shared/lib/Store/.gitkeep | 0 src/shared/types/.gitkeep | 0 src/shared/utils/.gitkeep | 0 src/widget/Footer/.gitkeep | 0 src/widget/Header/.gitkeep | 0 src/widget/LoginForm/.gitkeep | 0 src/widget/RegistrationForm/.gitkeep | 0 vite.config.js | 2 +- 23 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 src/app/App/.gitkeep create mode 100644 src/app/Router/.gitkeep create mode 100644 src/app/styles/.gitkeep create mode 100644 src/entities/InputField/.gitkeep create mode 100644 src/entities/Navigation/.gitkeep create mode 100644 src/features/InputFieldValidator/.gitkeep create mode 100644 src/pages/LoginPage/.gitkeep create mode 100644 src/pages/MainPage/.gitkeep create mode 100644 src/pages/NotFoundPage/.gitkeep create mode 100644 src/pages/RegistrationPage/.gitkeep create mode 100644 src/shared/API/.gitkeep create mode 100644 src/shared/EventMediator/.gitkeep rename src/{ => shared}/img/favicon.ico (100%) create mode 100644 src/shared/img/svg/.gitkeep create mode 100644 src/shared/lib/Store/.gitkeep create mode 100644 src/shared/types/.gitkeep create mode 100644 src/shared/utils/.gitkeep create mode 100644 src/widget/Footer/.gitkeep create mode 100644 src/widget/Header/.gitkeep create mode 100644 src/widget/LoginForm/.gitkeep create mode 100644 src/widget/RegistrationForm/.gitkeep diff --git a/index.html b/index.html index df068c7a..caaf4d12 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ - + eCommerce Application diff --git a/src/app/App/.gitkeep b/src/app/App/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/src/app/Router/.gitkeep b/src/app/Router/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/src/app/styles/.gitkeep b/src/app/styles/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/src/entities/InputField/.gitkeep b/src/entities/InputField/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/src/entities/Navigation/.gitkeep b/src/entities/Navigation/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/src/features/InputFieldValidator/.gitkeep b/src/features/InputFieldValidator/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/src/pages/LoginPage/.gitkeep b/src/pages/LoginPage/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/src/pages/MainPage/.gitkeep b/src/pages/MainPage/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/src/pages/NotFoundPage/.gitkeep b/src/pages/NotFoundPage/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/src/pages/RegistrationPage/.gitkeep b/src/pages/RegistrationPage/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/src/shared/API/.gitkeep b/src/shared/API/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/src/shared/EventMediator/.gitkeep b/src/shared/EventMediator/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/src/img/favicon.ico b/src/shared/img/favicon.ico similarity index 100% rename from src/img/favicon.ico rename to src/shared/img/favicon.ico diff --git a/src/shared/img/svg/.gitkeep b/src/shared/img/svg/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/src/shared/lib/Store/.gitkeep b/src/shared/lib/Store/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/src/shared/types/.gitkeep b/src/shared/types/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/src/shared/utils/.gitkeep b/src/shared/utils/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/src/widget/Footer/.gitkeep b/src/widget/Footer/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/src/widget/Header/.gitkeep b/src/widget/Header/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/src/widget/LoginForm/.gitkeep b/src/widget/LoginForm/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/src/widget/RegistrationForm/.gitkeep b/src/widget/RegistrationForm/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/vite.config.js b/vite.config.js index 39af7cee..6b18a0f0 100644 --- a/vite.config.js +++ b/vite.config.js @@ -6,7 +6,7 @@ import createSvgSpritePlugin from 'vite-plugin-svg-spriter'; import tsconfigPaths from 'vite-tsconfig-paths'; const SRC_PATH = path.resolve(__dirname, 'src'); -const SVG_FOLDER_PATH = path.resolve(SRC_PATH, 'img'); +const SVG_FOLDER_PATH = path.resolve(SRC_PATH, 'shared/img/svg'); export default { base: '', From df88ed8d34913a8f1466a03298a760acdfb805c2 Mon Sep 17 00:00:00 2001 From: Margarita Golubeva Date: Fri, 26 Apr 2024 19:55:49 +0300 Subject: [PATCH 2/3] fix: replace gitkeep with svg file --- src/shared/img/svg/.gitkeep | 0 src/shared/img/svg/cat.svg | 256 ++++++++++++++++++++++++++++++++++++ 2 files changed, 256 insertions(+) delete mode 100644 src/shared/img/svg/.gitkeep create mode 100644 src/shared/img/svg/cat.svg diff --git a/src/shared/img/svg/.gitkeep b/src/shared/img/svg/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/src/shared/img/svg/cat.svg b/src/shared/img/svg/cat.svg new file mode 100644 index 00000000..d95e2f33 --- /dev/null +++ b/src/shared/img/svg/cat.svg @@ -0,0 +1,256 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 5d82c9b8a914ff592079e4fced89129d841ae3bd Mon Sep 17 00:00:00 2001 From: Margarita Golubeva Date: Fri, 26 Apr 2024 19:56:18 +0300 Subject: [PATCH 3/3] fix: a typo in PR template --- .github/pull_request_template.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 237dd4c1..83b922b1 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -8,7 +8,7 @@ 👀 Example: `feat(RSS-ECOMM-1_01): description` -## PR Decription 🧙‍♂️ +## PR Description 🧙‍♂️ _Add a description of the changes in the PR_ 🤔