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
{{-- Tabs --}} | |
<x-tabs defaultValue="year"> | |
<x-tabs-list> | |
<x-tabs-trigger icon="chart-bar" value="year">Charts by year</x-tabs-trigger> | |
<x-tabs-trigger icon="trending-up" value="trends">Trends</x-tabs-trigger> | |
</x-tabs-list> | |
<x-tabs-content value="year"> Chart for Year </x-tabs-content> | |
<x-tabs-content value="trends"> Chart for Trends </x-tabs-content> | |
</x-tabs> |
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
export default { | |
gzip: true, | |
multipass: false, | |
transformPrecision: '5', | |
floatPrecision: '3', | |
pretty: false, | |
plugins: [ | |
'removeDoctype', | |
'removeXMLProcInst', | |
'removeComments', |
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 | |
namespace App\Console\Commands; | |
use Corcel\Model\Post; | |
use Corcel\Model\Category; | |
use Corcel\Model\Taxonomy; | |
use Illuminate\Console\Command; | |
use Illuminate\Support\Str; | |
use Statamic\Facades\Entry; |
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
--- | |
sizes: | |
sm: 'text-sm' | |
md: 'text-base' | |
lg: 'text-lg' | |
weights: | |
normal: 'font-normal' | |
bold: 'font-bold' | |
medium: 'font-medium' | |
types: |
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
valet stop | |
brew unlink php@7.0 php@7.1 php@7.2 php@7.3 php@7.4 | |
brew link --force --overwrite php@7.4 | |
brew services start php@7.4 | |
composer global update | |
rm -f ~/.config/valet/valet.sock | |
valet install |
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 | |
/** | |
* How to properly iterate a relationship | |
* and map only select fields. | |
* | |
*/ | |
$organizations => Auth::user()->account->organizations() | |
->orderBy('name') | |
->get() |