First commit
This commit is contained in:
commit
7cf3558ba7
12933 changed files with 1180047 additions and 0 deletions
13
app/Livewire/Web/Components/Demo/ButtonDemo.php
Normal file
13
app/Livewire/Web/Components/Demo/ButtonDemo.php
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
namespace App\Livewire\Web\Components\Demo;
|
||||
|
||||
use Livewire\Component;
|
||||
|
||||
class ButtonDemo extends Component
|
||||
{
|
||||
public function render()
|
||||
{
|
||||
return view('livewire.web.components.demo.button-demo');
|
||||
}
|
||||
}
|
||||
13
app/Livewire/Web/Components/Demo/ColorDemo.php
Normal file
13
app/Livewire/Web/Components/Demo/ColorDemo.php
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
namespace App\Livewire\Web\Components\Demo;
|
||||
|
||||
use Livewire\Component;
|
||||
|
||||
class ColorDemo extends Component
|
||||
{
|
||||
public function render()
|
||||
{
|
||||
return view('livewire.web.components.demo.color-demo');
|
||||
}
|
||||
}
|
||||
24
app/Livewire/Web/Components/Demo/DemoSection.php
Normal file
24
app/Livewire/Web/Components/Demo/DemoSection.php
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
|
||||
namespace App\Livewire\Web\Components\Demo;
|
||||
|
||||
use Livewire\Component;
|
||||
|
||||
class DemoSection extends Component
|
||||
{
|
||||
public $title;
|
||||
public $description;
|
||||
public $component;
|
||||
|
||||
public function mount($title, $description = null, $component = null)
|
||||
{
|
||||
$this->title = $title;
|
||||
$this->description = $description;
|
||||
$this->component = $component;
|
||||
}
|
||||
|
||||
public function render()
|
||||
{
|
||||
return view('livewire.web.components.demo.demo-section');
|
||||
}
|
||||
}
|
||||
13
app/Livewire/Web/Components/Demo/LogoDemo.php
Normal file
13
app/Livewire/Web/Components/Demo/LogoDemo.php
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
namespace App\Livewire\Web\Components\Demo;
|
||||
|
||||
use Livewire\Component;
|
||||
|
||||
class LogoDemo extends Component
|
||||
{
|
||||
public function render()
|
||||
{
|
||||
return view('livewire.web.components.demo.logo-demo');
|
||||
}
|
||||
}
|
||||
13
app/Livewire/Web/Components/Demo/ThemeInfo.php
Normal file
13
app/Livewire/Web/Components/Demo/ThemeInfo.php
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
namespace App\Livewire\Web\Components\Demo;
|
||||
|
||||
use Livewire\Component;
|
||||
|
||||
class ThemeInfo extends Component
|
||||
{
|
||||
public function render()
|
||||
{
|
||||
return view('livewire.web.components.demo.theme-info');
|
||||
}
|
||||
}
|
||||
25
app/Livewire/Web/Components/Demo/ThemeSwitcher.php
Normal file
25
app/Livewire/Web/Components/Demo/ThemeSwitcher.php
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
|
||||
namespace App\Livewire\Web\Components\Demo;
|
||||
|
||||
use Livewire\Component;
|
||||
|
||||
class ThemeSwitcher extends Component
|
||||
{
|
||||
public $domains = [];
|
||||
|
||||
public function mount()
|
||||
{
|
||||
$this->domains = config('domains.domains');
|
||||
foreach ($this->domains as $key => $domain) {
|
||||
if ($domain['domain_name'] == config('domains.domain_portal')) {
|
||||
unset($this->domains[$key]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function render()
|
||||
{
|
||||
return view('livewire.web.components.demo.theme-switcher');
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue