Run Composer Require Command
composer require doctype_admin/landing_pagephp artisan DoctypeAdminLanding:install -aThis command will publish
- config file named landing.php
- views files
- migrations files
- seed files
- landing page assets
- larecipe
php artisan DoctypeAdminLanding:install -cphp artisan DoctypeAdminLanding:install -fphp artisan DoctypeAdminLanding:install -mphp artisan DoctypeAdminLanding:install -dphp artisan DoctypeAdminLanding:install -lphp artisan DoctypeAdminLanding:install -gphp artisan migrateThis Package includes three seed
- LandingsTableSeeder
- FeaturesTableSeeder
- ServicesTableSeeder
publish the seeds if haven't then initialize them in DatabaseSeeder.php
<?php
use doctype_admin\Landing\Models\Service;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
// $this->call(UserSeeder::class);
$this->call(LandingsTableSeeder::class);
$this->call(FeaturesTableSeeder::class);
$this->call(ServicesTableSeeder::class);
}
}
If seed class is not found try running composer dump-autoload
Some of the minor text that may not be changed frequently and is not required to be stored in db is represented from config file feel free to change them
<?php
return [
/*
|--------------------------------------------------------------------------
| Prefix of landing page backend
|--------------------------------------------------------------------------
|
| Option to set the prefix of link to the backend.
| Prefix "admin" recommended
|
*/
'prefix' => 'admin',
/*
|--------------------------------------------------------------------------
| Landing Page App Title
|--------------------------------------------------------------------------
|
*/
'app_name' => 'Doctype Admin',
/*
|--------------------------------------------------------------------------
| Landing Page Service Description
|--------------------------------------------------------------------------
|
*/
'service_description' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation.',
/*
|--------------------------------------------------------------------------
| Describing App
|--------------------------------------------------------------------------
|
*/
'app_description_heading_1' => 'UNIQUE SCREENS THAT WORK PERFECTLY',
'app_description_1' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation.',
/*
|--------------------------------------------------------------------------
| Download Our App Descriprion
|--------------------------------------------------------------------------
|
*/
'download_our_app_Heading' => 'We are here to listen from you deliver exellence',
'download_our_app_description' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod temp or incididunt ut labore et dolore magna aliqua. Ut enim ad minim.',
/*
|--------------------------------------------------------------------------
| Describing App
|--------------------------------------------------------------------------
|
*/
'app_description_heading_2' => 'We’ve made a life that will change you',
'app_description_2' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod temp or incididunt ut labore et dolore magna aliqua. Ut enim ad minim.',
];
In your admin panel go to config/adminlte.php then in menu section add
[
'text' => 'Landing Page',
'icon' => 'fas fa-chess-rook',
'submenu' => [
[
'text' => 'Feature',
'icon' => 'fas fa-fire',
'url' => 'admin/feature',
],
[
'text' => 'Service',
'icon' => 'fas fa-concierge-bell',
'url' => 'admin/service',
],
[
'text' => 'Plans',
'icon' => 'fas fa-money-check',
'url' => 'admin/plan',
],
[
'text' => 'Landing Setting',
'icon' => 'fas fa-cog',
'url' => 'admin/landing_setting',
],
[
'text' => 'Contact',
'icon' => 'fas fa-envelope-square',
'url' => 'admin/contact',
],
]
],- Turbolink
- Better UI
- Support Chat
MIT
DOCTYPE NEPAL ||DR.H2SO4


