mirror of
https://github.com/FranP-code/API-and-CRUD-for-Ecommerce-with-Node.js-FRONTEND.git
synced 2025-10-12 23:52:33 +00:00
payment logic done
This commit is contained in:
12
payment/script/logoLink.js
Normal file
12
payment/script/logoLink.js
Normal file
@@ -0,0 +1,12 @@
|
||||
const logoLink = () => {
|
||||
|
||||
const logo = document.querySelector('header .logo')
|
||||
|
||||
logo.addEventListener('click', () => {
|
||||
|
||||
window.location = '../'
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
export default logoLink
|
||||
Reference in New Issue
Block a user