This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Code to download | |
const path = variables[/* public - value */ '6a7181eb-2a13-4bd8-ba04-fc8f48e62d0e-value']?.['name'] // replace by your variable | |
const { data, error } = await wwLib.wwPlugins.supabase.instance.storage | |
.from('bucket_public') | |
.upload(path, variables[/* public - value */ '6a7181eb-2a13-4bd8-ba04-fc8f48e62d0e-value'], {upsert:true}) // replace by your variable | |
if (error) throw error | |
return data | |
// End |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const link = wwLib.getFrontDocument().createElement('a'); | |
const fileName = context.item.data?.['summary']?.['name']; // replace by your file name | |
const apiUrl = context.item.data?.['summary']?.['url']; // replace by your file URL | |
link.href = apiUrl; | |
link.download = fileName; | |
wwLib.getFrontDocument().body.appendChild(link); | |
fetch(apiUrl, { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function mr_parallax(){"use strict";function a(a){for(var b=0;b<a.length;b++)if("undefined"!=typeof document.body.style[a[b]])return a[b];return null}function b(){var a,b=0;return f()?(b=jQuery(".viu").find("nav:first").outerHeight(!0),a=jQuery(".viu").find("nav:first").css("position"),("absolute"===a||"fixed"===a)&&(b=0)):b=jQuery(document).find("nav:first").outerHeight(!0),Math.floor(b)}function c(){return/Android/i.test(navigator.userAgent||navigator.vendor||window.opera)?screen.height*window.devicePixelRatio:/iPad|iPhone|iPod/i.test(navigator.userAgent||navigator.vendor||window.opera)?0===window.orientation&&screen.height>screen.width?screen.height:screen.width:Math.max(document.documentElement.clientHeight,window.innerHeight||0)}function d(){p===!1&&(p=!0,h(q.mr_parallaxBackground))}function e(a){var b={};return a&&"[object Function]"===b.toString.call(a)}function f(){return"undefined"==typeof window.mr_variant?!1:!0}var g,h=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const xanoBaseUrl = 'https://xc0b-vcze-d4we.n7.xano.io' // Edit this variable to match your Xano instance subdomain | |
let table = base.getTable('property') | |
let config = input.config() | |
let recordId = config.updatedRecordId | |
let record = await table.selectRecordAsync(recordId, {fields: table.fields}) | |
let images = record.getCellValue('images') // Update this value to match your image/file attachment column | |
let imagesUrlCdn = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.mr = window.mr || {}; | |
mr = (function (mr, $, window, document){ | |
"use strict"; | |
mr = mr || {}; | |
var components = {documentReady: [],documentReadyDeferred: [], windowLoad: [], windowLoadDeferred: []}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* Isotope PACKAGED v3.0.1 | |
* | |
* Licensed GPLv3 for open source use | |
* or Isotope Commercial License for commercial use | |
* | |
* http://isotope.metafizzy.co | |
* Copyright 2016 Metafizzy | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/ungrim/.oh-my-zsh | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
ZSH_THEME="agnoster" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! Place your custom styles here */ | |
.btn__header--secondary { | |
margin-top: 1.85714286em; | |
} | |
.menu-horizontal > .dropdown > .dropdown__trigger:after { | |
content: ''; | |
} | |
.row__articles { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Sticky Plugin v1.0.4 for jQuery | |
// ============= | |
// Author: Anthony Garand | |
// Improvements by German M. Bravo (Kronuz) and Ruud Kamphuis (ruudk) | |
// Improvements by Leonardo C. Daronco (daronco) | |
// Created: 02/14/2011 | |
// Date: 07/20/2015 | |
// Website: http://stickyjs.com/ | |
// Description: Makes an element on the page stick on the screen as you scroll | |
// It will only set the 'top' and 'position' of your element, you |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! Copyright (c) Go Make Things, LLC | |
https://github.com/cferdinandi/smooth-scroll | |
Permission is hereby granted, free of charge, to any person obtaining | |
a copy of this software and associated documentation files (the "Software"), | |
to deal in the Software without restriction, including without limitation | |
the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, | |
subject to the following conditions: |
NewerOlder