Skip to content

Commit

Permalink
Merge pull request #24 from rafaelstz/feature/upgrade-quicklinks
Browse files Browse the repository at this point in the history
Close #17
  • Loading branch information
rafaelstz committed Dec 7, 2022
2 parents e4f5da3 + 7100721 commit c6f1e59
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "rafaelcg/magento2-quicklink",
"description": "Faster subsequent page-loads by prefetching in-viewport links during idle time",
"homepage": "https://github.com/rafaelstz/magento2-quicklink",
"version": "2.2.0",
"version": "2.2.1",
"require": {
"php": "~7.4.0||~8.1.0",
"magento/framework": "~103.0.0||~104.0.0"
Expand Down
2 changes: 1 addition & 1 deletion etc/acl.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!--
~ @author Rafael Corrêa Gomes <rafaelcgstz@gmail.com>
~ @copyright Copyright (c) 2020.
~ @copyright Copyright (c) 2023.
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
<acl>
Expand Down
2 changes: 1 addition & 1 deletion etc/config.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!--
~ @author Rafael Corrêa Gomes <rafaelcgstz@gmail.com>
~ @copyright Copyright (c) 2020.
~ @copyright Copyright (c) 2023.
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd">
Expand Down
2 changes: 1 addition & 1 deletion etc/csp_whitelist.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!--
~ @author Rafael Corrêa Gomes <rafaelcgstz@gmail.com>
~ @copyright (c) 2020.
~ @copyright (c) 2023.
-->

<csp_whitelist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Csp:etc/csp_whitelist.xsd">
Expand Down
7 changes: 4 additions & 3 deletions view/frontend/layout/default.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
<?xml version="1.0"?><!--
<?xml version="1.0"?>
<!--
~ @author Rafael Corrêa Gomes <rafaelcgstz@gmail.com>
~ @copyright Copyright (c) 2020.
~ @copyright Copyright (c) 2023.
-->

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="before.body.end">
<block class="Rafaelcg\Quicklink\Block\Quicklink" after="-" name="quicklink"
template="Rafaelcg_Quicklink::quicklink.phtml">
template="Rafaelcg_Quicklink::quicklink.phtml" ifconfig="quicklink/general/active">
<arguments>
<argument name="view_model" xsi:type="object">Rafaelcg\Quicklink\ViewModel\Quicklink</argument>
</arguments>
Expand Down
2 changes: 1 addition & 1 deletion view/frontend/requirejs-config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* @author Rafael Corrêa Gomes <rafaelcgstz@gmail.com>
* @copyright Copyright (c) 2020.
* @copyright Copyright (c) 2023.
*/

var config = {
Expand Down

0 comments on commit c6f1e59

Please sign in to comment.