laravel-welcome-page maintained by lopatin96
Description
Laravel welcome page
Author
Last update
2023/10/29 11:45
(dev-master)
License
Downloads
2 198
Install
Publish config
php artisan vendor:publish --tag="laravel-welcome-page-config"
Select which variants of sections in you want. You can do it in config/welcome-page.php:
'sections' => [
'main' => 'v1',
'others' => [
[
'name' => 'how-it-works',
'variant' => 'v1',
],
[
'name' => 'call-to-action',
'variant' => 'v2',
],
by specifying variants of sections and their orders. Also, choose primary and secondary colors and add their to safelist key in tailwind.config.js:
safelist: [
'from-zinc-100',
'to-sky-300',
'text-sky-600',
'text-sky-300',
'bg-sky-600',
'bg-sky-300',
'bg-red-500',
'text-link',
],
Publish localization
php artisan vendor:publish --tag="laravel-welcome-page-lang"
Add local strings in lang/vendor/welcome-page/en/.php for selected sections.
Publishing
Localization
php artisan vendor:publish --tag="laravel-welcome-page-lang"
Views
php artisan vendor:publish --tag="laravel-welcome-page-views"
Config
php artisan vendor:publish --tag="laravel-welcome-page-config"