Skip to content

Conversation

@Sviatl
Copy link
Collaborator

@Sviatl Sviatl commented Aug 15, 2023

Add a router

Description of changes 🗣️

Create a Router class that captures the window.onpopstate events and manages the visibility of content in the SPA application

Related Tasks 🔗

  • ECOMM-2_08: [Login Page] Add a button to navigate to the registration page
  • ECOMM-2_16: [Registration Page] Add a button or link on the registration page that allows users to navigate to the login page

Special Instructions for the Reviewers☝🏻

N/A

Additional Information 📚

N/A

@Sviatl Sviatl self-assigned this Aug 15, 2023
@Sviatl Sviatl requested a review from akrutsko August 15, 2023 19:58
@Sviatl Sviatl merged commit 1848c03 into login-registration-main Aug 15, 2023
Luchiweb pushed a commit that referenced this pull request Aug 16, 2023
* feat: add class router

* feat: merged with login-registration-main

* feat: routing login/signup/main

* refactor: change type of routes: Record<string, string>

* refactor: change AS to instanceof

* refactor: use foreach nstead of let i = 0...

* feat: add laizy loading for routing views

* feat: change main view for routing

* feat: add 404 to main view and router

* feat: add 404 to main view and router

* refactor: remove unuser async

* refactor: remove unuser async

* refactor: remove unuser async

* refactor: saparate list of routers

* feat: add hashValue in router

* feat: add hashValue in router

* fix: sintax link ice-adventures

* refactor: delete unused navigateToLogin

* refactor: change click event on mouseover in header categories

* refactor: change click event on mouseover in header categories
Luchiweb pushed a commit that referenced this pull request Aug 16, 2023
* feat: add class router

* feat: merged with login-registration-main

* feat: routing login/signup/main

* refactor: change type of routes: Record<string, string>

* refactor: change AS to instanceof

* refactor: use foreach nstead of let i = 0...

* feat: add laizy loading for routing views

* feat: change main view for routing

* feat: add 404 to main view and router

* feat: add 404 to main view and router

* refactor: remove unuser async

* refactor: remove unuser async

* refactor: remove unuser async

* refactor: saparate list of routers

* feat: add hashValue in router

* feat: add hashValue in router

* fix: sintax link ice-adventures

* refactor: delete unused navigateToLogin

* refactor: change click event on mouseover in header categories

* refactor: change click event on mouseover in header categories
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done (Sprint 2)

Development

Successfully merging this pull request may close these issues.

6 participants