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\Helpers\Nova\Action; | |
use DateTime; | |
use Illuminate\Contracts\Queue\ShouldQueue; | |
use Illuminate\Support\Collection; | |
use Illuminate\Support\Facades\Queue; | |
use Laravel\Nova\Actions\Action; | |
use Laravel\Nova\Actions\ActionEvent; |
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() { | |
smoothScroll(300); | |
}); | |
function smoothScroll(duration) { | |
$('a[href^="#"]').on("click", function(event) { | |
var target = $($(this).attr("href")); | |
if (target.length) { | |
event.preventDefault(); |
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
# Deployment with zero downtime | |
# By default keeps 2 last deployments in KEEP_DEPLOYMENTS_DIR and current deployment | |
# Project domain | |
PROJECT_NAME=test.com | |
# Project directory | |
PROJECT_DIR=/home/forge/test.com | |
# Deployments directory | |
KEEP_DEPLOYMENTS_DIR=/home/forge/deploy |