diff --git a/app/View/Components/MargueeText.php b/app/View/Components/MargueeText.php new file mode 100644 index 000000000..00617ab44 --- /dev/null +++ b/app/View/Components/MargueeText.php @@ -0,0 +1,32 @@ +width = $width; + } + + /** + * Get the view / contents that represent the component. + * + * @return \Illuminate\Contracts\View\View|string + */ + public function render() + { + return view('components.marguee-text'); + } +} diff --git a/resources/views/components/marguee-text.blade.php b/resources/views/components/marguee-text.blade.php index 7963a07c5..4abe36d4d 100644 --- a/resources/views/components/marguee-text.blade.php +++ b/resources/views/components/marguee-text.blade.php @@ -1,5 +1,8 @@