]> _ Git - psq.git/commitdiff
linkedin & twitter share buttons
authorLouis Jeckel <louis.jeckel@outlook.com>
Fri, 6 Nov 2020 10:48:43 +0000 (11:48 +0100)
committerLouis Jeckel <louis.jeckel@outlook.com>
Fri, 6 Nov 2020 10:48:43 +0000 (11:48 +0100)
app/View/Components/ShareComponent.php [new file with mode: 0644]

diff --git a/app/View/Components/ShareComponent.php b/app/View/Components/ShareComponent.php
new file mode 100644 (file)
index 0000000..198d489
--- /dev/null
@@ -0,0 +1,28 @@
+<?php
+
+namespace App\View\Components;
+
+use Illuminate\View\Component;
+
+class ShareComponent extends Component
+{
+    /**
+     * Create a new component instance.
+     *
+     * @return void
+     */
+    public function __construct()
+    {
+        //
+    }
+
+    /**
+     * Get the view / contents that represent the component.
+     *
+     * @return \Illuminate\View\View|string
+     */
+    public function render()
+    {
+        return view('components.share-component');
+    }
+}