Skip to content

Commit

Permalink
setup tailwindcss and create section component and layout
Browse files Browse the repository at this point in the history
  • Loading branch information
ardhptr21 committed Feb 17, 2022
1 parent 0d461dc commit 361fb78
Show file tree
Hide file tree
Showing 14 changed files with 36,852 additions and 163 deletions.
31 changes: 31 additions & 0 deletions app/View/Components/Section.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php

namespace App\View\Components;

use Illuminate\View\Component;

class Section extends Component
{

public string $class;

/**
* Create a new component instance.
*
* @return void
*/
public function __construct(string $class = '')
{
$this->class = $class;
}

/**
* Get the view / contents that represent the component.
*
* @return \Illuminate\Contracts\View\View|\Closure|string
*/
public function render()
{
return view('components.section');
}
}
16,526 changes: 16,526 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@
"production": "mix --production"
},
"devDependencies": {
"autoprefixer": "^10.4.2",
"axios": "^0.25",
"laravel-mix": "^6.0.6",
"lodash": "^4.17.19",
"postcss": "^8.1.14"
"postcss": "^8.4.6",
"tailwindcss": "^3.0.23"
}
}
Loading

0 comments on commit 361fb78

Please sign in to comment.