Merge pull request #2486 from brkcvn/text-hover

Hover animation development
This commit is contained in:
Burak Civan
2022-06-28 15:37:32 +03:00
committed by GitHub
39 changed files with 12320 additions and 856 deletions

View File

@ -0,0 +1,36 @@
<?php
namespace App\View\Components\Link;
use App\Abstracts\View\Component;
use Illuminate\Support\Str;
class Hover extends Component
{
public $color;
public $groupHover;
/**
* Create a new component instance.
*
* @return void
*/
public function __construct(
string $color = 'to-black',
bool $groupHover = false,
) {
$this->color = $color;
$this->groupHover = $groupHover;
}
/**
* Get the view / contents that represent the component.
*
* @return \Illuminate\Contracts\View\View|string
*/
public function render()
{
return view('components.link.hover');
}
}