Skip to content

Commit

Permalink
feat(editor): styled experrience selector
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonnx committed Nov 16, 2023
1 parent a4b598c commit abe0b34
Show file tree
Hide file tree
Showing 7 changed files with 1,523 additions and 856 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/EditorController.php
Expand Up @@ -8,6 +8,6 @@ class EditorController extends Controller
{
public function show(Request $request)
{
return redirect('/');
return view('editor');
}
}
28 changes: 28 additions & 0 deletions app/View/Components/Editor.php
@@ -0,0 +1,28 @@
<?php

namespace App\View\Components;

use Illuminate\View\Component;

class Editor extends Component
{
/**
* Create a new component instance.
*
* @return void
*/
public function __construct()
{
//
}

/**
* Get the view / contents that represent the component.
*
* @return \Illuminate\Contracts\View\View|\Closure|string
*/
public function render()
{
return view('components.editor');
}
}

0 comments on commit abe0b34

Please sign in to comment.