Files
roi-theme/_planeacion/theme_referencias/_old/2025 Construction Cost Books with RSMeans data_files/require-cookie.min.js.descarga
FrankZamora ea38a12055 [NIVEL 2 AVANCE] Issues #49-#53 - Componentes Principales Verificados
Todos los componentes del NIVEL 2 ya están implementados correctamente:
-  Notification Bar (#49)
-  Navbar (#50)
-  Hero Section (#51)
-  Sidebar (#52)
-  Footer (#53)

Solo se actualizó notification-bar.css para usar variables CSS.

Próximo paso: NIVEL 3 (Refinamientos visuales)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-04 20:01:07 -06:00

2 lines
735 B
Plaintext

define(['jquery','Magento_Ui/js/modal/alert','jquery-ui-modules/widget','mage/mage','mage/translate'],function($,alert){'use strict';$.widget('mage.requireCookie',{options:{event:'click',noCookieUrl:'enable-cookies',triggers:['.action.login','.action.submit'],isRedirectCmsPage:true},_create:function(){this._bind();},_bind:function(){var events={};$.each(this.options.triggers,function(index,value){events['click '+value]='_checkCookie';});this._on(events);},_checkCookie:function(event){if(navigator.cookieEnabled){return;}
event.preventDefault();if(this.options.isRedirectCmsPage){window.location=this.options.noCookieUrl;}else{alert({content:$.mage.__('Cookies are disabled in your browser.')});}}});return $.mage.requireCookie;});