-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TMZ-279 Header layout and updates #170
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor tweak
super(); | ||
|
||
elementorFrontend.elementsHandler.attachHandler( 'ehp-header', [ | ||
() => import( /* webpackChunkName: 'js/header' */ './handlers/hello-plus-header' ), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please name it "js/ehp-hader-fe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed!
webpack.config.js
Outdated
@@ -26,7 +26,7 @@ const entryPoints = { | |||
'css/helloplus-template-parts-preview': path.resolve( modulesDir, 'template-parts/assets/scss', 'hello-plus-template-parts-preview.scss' ), | |||
'css/helloplus-header': path.resolve( modulesDir, 'template-parts/assets/scss', 'hello-plus-header.scss' ), | |||
'css/helloplus-footer': path.resolve( modulesDir, 'template-parts/assets/scss', 'hello-plus-footer.scss' ), | |||
'js/helloplus-header': path.resolve( modulesDir, 'template-parts/assets/js', 'hello-plus-header.js' ), | |||
'js/helloplus-header-frontend': path.resolve( modulesDir, 'template-parts/assets/js', 'frontend.js' ), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'js/helloplus-header-frontend': path.resolve( modulesDir, 'template-parts/assets/js', 'frontend.js' ), | |
'js/helloplus-header-fe': path.resolve( modulesDir, 'template-parts/assets/js', 'frontend.js' ), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed!
modules/template-parts/module.php
Outdated
'helloplus-header', | ||
HELLOPLUS_SCRIPTS_URL . 'helloplus-header.js', | ||
'helloplus-header-frontend', | ||
HELLOPLUS_SCRIPTS_URL . 'helloplus-header-frontend.js', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HELLOPLUS_SCRIPTS_URL . 'helloplus-header-frontend.js', | |
HELLOPLUS_SCRIPTS_URL . 'helloplus-header-fe.js', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed!
No description provided.