<?php

namespace web\assets;


use base\web\AssetBundle;
use base\web\FancyboxAsset;

class AppAssets extends AssetBundle
{
    public $css = [
        '//cdnjs.cloudflare.com/ajax/libs/fotorama/4.6.4/fotorama.css',
        'css/all.css',
    ];

    public $js = [
        '//cdnjs.cloudflare.com/ajax/libs/fotorama/4.6.4/fotorama.js',
        'js/all.min.js',
    ];

    public $depends = [
        FancyboxAsset::class
    ];

    public function init()
    {
        $this->sourcePath = __DIR__ . '/app/www';

        parent::init();
    }
}