This file contains hidden or 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
| import App from "@/js/App"; | |
| import PageLoader from "@/js/components/PageLoader"; | |
| import Component from "gia/Component"; | |
| import { sampleSize, shuffle } from "lodash"; | |
| import * as THREE from "three"; | |
| // import TWEEN from "three/addons/libs/tween.module.js"; | |
| import { | |
| CSS3DRenderer, | |
| CSS3DObject, | |
| } from "three/addons/renderers/CSS3DRenderer.js"; |
This file contains hidden or 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
| <?php | |
| // create srcset images for kirby | |
| function img($image, $options = array()) { | |
| // defaults | |
| $defaults = array( | |
| "alt" => $image->title()->or(''), | |
| "widths" => [100, 100, 100], | |
| "class" => "", | |
| "lazy" => false, | |
| ); |