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
<?php | |
/** | |
* Yii Application Config | |
* | |
* Edit this file at your own risk! | |
* | |
* The array returned by this file will get merged with | |
* vendor/craftcms/cms/src/config/app.php and app.[web|console].php, when | |
* Craft's bootstrap script is defining the configuration for the entire | |
* application. |
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
[ | |
{ | |
countryAbbreviation: 'AF', | |
region: 'EMEA', | |
region2: 'EUROPE-MIDDLE-EAST-AFRICA' | |
}, | |
{ | |
countryAbbreviation: 'AX', | |
region: 'EMEA', | |
region2: 'EUROPE-MIDDLE-EAST-AFRICA' |
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
[ | |
{ | |
countryAbbreviation: 'AF', | |
region: 'EMEA', | |
region2: 'EUROPE-MIDDLE-EAST-AFRICA' | |
}, | |
{ | |
countryAbbreviation: 'AX', | |
region: 'EMEA', | |
region2: 'EUROPE-MIDDLE-EAST-AFRICA' |
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
/* Matrix CSS */ | |
#fields-dtmContentBuilderMatrix-field .matrixblock { | |
margin-bottom: 30px; | |
} | |
#fields-dtmContentBuilderMatrix-field .matrixblock[data-type^="blockSection"] { | |
margin-top: 50px; |
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
values = | |
locale_country_code: [ | |
{ title: "Andorra", value: "AD" }, | |
{ title: "United Arab Emirates", value: "AE" }, | |
{ title: "Afghanistan", value: "AF" }, | |
{ title: "Antigua and Barbuda", value: "AG" }, | |
{ title: "Anguilla", value: "AI" }, | |
{ title: "Albania", value: "AL" }, | |
{ title: "Armenia", value: "AM" }, | |
{ title: "Angola", value: "AO" }, |
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
[ | |
{ | |
"country": "Afghanistan", | |
"countryAbbreviation": "AF", | |
"continent": "Asia", | |
"continentAbbreviation": "AS", | |
"region": "EMEA" | |
}, | |
{ | |
"country": "Åland Islands", |
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
@use 'sass:map'; | |
$themes: ['default', 'yellow', 'purple-yellow', 'gold', 'midnight-blue', 'purple-blue']; | |
@mixin themesIcon($icon) { | |
@each $theme in $themes { | |
.t-color--#{$theme} & { | |
background-image: url('~ASSETS/svg/single/#{$theme}/#{$icon}.svg'); | |
} | |
} |
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
@use 'sass:map'; | |
$themes: ['default', 'yellow', 'purple-yellow', 'gold', 'midnight-blue', 'purple-blue']; | |
$themeIcons: (); | |
@each $theme in $themes { | |
$index: index($themes, $theme); | |
$themeIcons: map.set($themeIcons, $theme, 'theme#{$index}') | |
} |
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
import axios from "axios"; | |
async function request(request) { | |
if (!request) { | |
return { data: undefined, error: "no request" }; | |
} | |
const data = typeof FormData !== "undefined" ? new FormData() : {}; | |
if (request.data) { | |
Object.entries(request.data).forEach(([key, value]) => { |
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
/* | |
// build the clamp property | |
const clamp = (multiMin = 0, multiMax = null) => { | |
const _calcMulti = calcMulti(multiMin, multiMax || multiMin) | |
const _fsMin = _calcMulti.fsMin | |
const _fsMax = _calcMulti.fsMax | |
return `clamp(${_fsMin}rem, calc(${_fsMin}rem + (${_fsMax} - ${_fsMin}) * ((100vw - ${screenMin}rem) / (${screenMax} - ${screenMin}))), ${_fsMax}rem)` | |
} | |
*/ |
NewerOlder