Skip to content

Instantly share code, notes, and snippets.

View rotcl's full-sized avatar
reinventing

GV rotcl

reinventing
View GitHub Profile
@rotcl
rotcl / logo-slider.liquid
Created April 4, 2019 17:41
Shopify - Logo Slider
{% comment %}
@rotcl
{% endcomment %}
{% assign default = '1400x' %}
{% assign size1 = '480x' %}
{% assign size2 = '765x' %}
{% assign size3 = '900x' %}
{% assign size4 = '1000x' %}
@rotcl
rotcl / giros.json
Created August 29, 2023 15:25
Giros SII
[
{
"codigo": "011101",
"giro": "CULTIVO DE TRIGO"
},
{
"codigo": "011102",
"giro": "CULTIVO DE MAÍZ"
},
{
@rotcl
rotcl / app.js.liquid
Created April 5, 2019 16:35
Shopify - Fix Instagram feed en Turbo
/*! jQuery v3.3.1 | (c) JS Foundation and other contributors | jquery.org/license */
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=[],r=e.document,i=Object.getPrototypeOf,o=n.slice,a=n.concat,s=n.push,u=n.indexOf,l={},c=l.toString,f=l.hasOwnProperty,p=f.toString,d=p.call(Object),h={},g=function e(t){return"function"==typeof t&&"number"!=typeof t.nodeType},y=function e(t){return null!=t&&t===t.window},v={type:!0,src:!0,noModule:!0};function m(e,t,n){var i,o=(t=t||r).createElement("script");if(o.text=e,n)for(i in v)n[i]&&(o[i]=n[i]);t.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[c.call(e)]||"object":typeof e}var b="3.3.1",w=function(e,t){return new w.fn.init(e,t)},T=/^[\s\uFEFF\xA0]+|[\s\
<script src="https://cdn.shopify.com/s/files/1/0065/5074/9253/files/jquery.min.js?v=1596581720"></script>
<script src="https://cdn.shopify.com/s/files/1/0065/5074/9253/files/bs.min.js?v=1596581690"></script>
<script src="https://cdn.shopify.com/s/files/1/0065/5074/9253/files/provincias.js?v=1596583586"></script>
<link rel="stylesheet" type="text/css"
href="https://cdn.shopify.com/s/files/1/0065/5074/9253/files/bs.css?v=1596582732">
<style>
</style>
<script src="https://cdn.shopify.com/s/files/1/0065/5074/9253/files/jquery.min.js?v=1596581720"></script>
<script src="https://cdn.shopify.com/s/files/1/0065/5074/9253/files/bs.min.js?v=1596581690"></script>
<script src="https://cdn.shopify.com/s/files/1/0065/5074/9253/files/provincias.js?v=1596583586"></script>
<link rel="stylesheet" type="text/css"
href="https://cdn.shopify.com/s/files/1/0065/5074/9253/files/bs.css?v=1596582732">
{% section 'c-01' %}
<script src="https://cdn.shopify.com/s/files/1/0065/5074/9253/files/jquery.min.js?v=1596581720"></script>
<script src="https://cdn.shopify.com/s/files/1/0065/5074/9253/files/bs.min.js?v=1596581690"></script>
<script src="https://cdn.shopify.com/s/files/1/0065/5074/9253/files/provincias.js?v=1596583586"></script>
<link rel="stylesheet" type="text/css"
href="https://cdn.shopify.com/s/files/1/0065/5074/9253/files/bs.css?v=1596582732">
{% section 'b-01' %}
<script src="https://cdn.shopify.com/s/files/1/0065/5074/9253/files/jquery.min.js?v=1596581720"></script>
<script src="https://cdn.shopify.com/s/files/1/0065/5074/9253/files/bs.min.js?v=1596581690"></script>
<script src="https://cdn.shopify.com/s/files/1/0065/5074/9253/files/provincias.js?v=1596583586"></script>
<link rel="stylesheet" type="text/css"
href="https://cdn.shopify.com/s/files/1/0065/5074/9253/files/bs.css?v=1596582732">
{% section 'a-01' %}
<link rel="stylesheet" type="text/css" href="https://cdn.shopify.com/s/files/1/0065/5074/9253/files/bs.css?v=1596582732">
<div class="collabs libro-reclamaciones">
<div class="container">
{% if section.blocks.size > 0 %}
{% for block in section.blocks %}
{% if block.type == "collab" %}
<div class="row" style="margin-top: 40px !important;">
<div class="col-md-12">
@rotcl
rotcl / data-bar.liquid
Created July 23, 2020 03:40
Shopify - Data bar
{% comment %}
@rotcl
{% endcomment %}
{%- if section.settings.link == blank -%}
<div class="bar-{{ section.id }} {{ section.settings.text-align }}">
{%- else -%}
<a class="bar-{{ section.id }} {{ section.settings.text-align }}" href="{{ section.settings.link }}" >
{%- endif -%}
import Vue from 'vue';
import 'primevue/resources/themes/nova-light/theme.css';
import 'primevue/resources/primevue.min.css';
import 'primeicons/primeicons.css';
import 'primeflex/primeflex.css';
import '@mdi/font/css/materialdesignicons.min.css'
import 'nuxt-material-design-icons'
import AutoComplete from 'primevue/autocomplete';