Compare commits
2 Commits
44bff06c03
...
782946bdbe
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
782946bdbe | ||
|
|
892bce348c |
|
|
@ -14,7 +14,7 @@ public function run(): void
|
|||
{
|
||||
$admin = Admin::factory()->create([
|
||||
'email' => 'admin@admin.com',
|
||||
'password' => Hash::make('password'),
|
||||
'password' => Hash::make('12345678'),
|
||||
]);
|
||||
|
||||
}
|
||||
|
|
|
|||
36
database/seeders/ContactSeeder.php
Normal file
36
database/seeders/ContactSeeder.php
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use App\Models\Contact;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class ContactSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
Contact::insert([
|
||||
[
|
||||
'image' => '/images/contact/contact_473c7e88-37ea-4f32-8549-141e5b0306e6.png',
|
||||
'title' => 'CONTACT',
|
||||
'sub_title' => 'CONTACT US TODAY!',
|
||||
'description' => 'Misbar is a pioneer in software development. It provides high-quality consulting and software solutions to educational institutions. It works to meet the needs of users and improve their experience through innovative and safe educational applications.',
|
||||
'direction' => 1,
|
||||
'is_have_button' => 1,
|
||||
],
|
||||
[
|
||||
'image' => '/images/contact/contact_6aeee044-2adf-4075-ae22-bc054cf42b53.png',
|
||||
'title' => 'Misbar',
|
||||
'sub_title' => 'WHAT CONCERNS US',
|
||||
'description' => 'There are anumber of topics and terms related to our service portfolio that concern us. we look forward to descovering somethings interesting for you in our subject areas.There are anumber of topics and terms related to our service portfolio that concern us. we look forward to descovering somethings interesting for you in our subject areas.',
|
||||
'direction' => 0,
|
||||
'is_have_button' => 0,
|
||||
]
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
@ -16,6 +16,12 @@ class DatabaseSeeder extends Seeder
|
|||
public function run()
|
||||
{
|
||||
$this->call([AdminSeeder::class]);
|
||||
|
||||
$this->call([StaticInfoSeeder::class]);
|
||||
$this->call([ProjectSeeder::class]);
|
||||
$this->call([ContactSeeder::class]);
|
||||
$this->call([RecentWorksSedder::class]);
|
||||
$this->call([ServiceSeeder::class]);
|
||||
$this->call([SocialMediaSeeder::class]);
|
||||
$this->call([WorksSeeder::class]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
69
database/seeders/ProjectSeeder.php
Normal file
69
database/seeders/ProjectSeeder.php
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use App\Models\Projects;
|
||||
use Illuminate\Database\Seeder;
|
||||
use Carbon\Carbon;
|
||||
|
||||
class ProjectSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
Projects::insert([
|
||||
[
|
||||
'image' => '/images/projects/projects_1a1b6614-72a0-4fec-9512-f9a6e1398ba7.png',
|
||||
'hover_image' => '/images/projects/projects_d0428c2b-fabb-4174-8291-9aa7f70dda70.png',
|
||||
'video' => '/images/projects/projects_a0624537-369b-4a76-97f5-114596f0394f.png',
|
||||
'title' => 'School App',
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
],
|
||||
[
|
||||
'image' => '/images/projects/projects_bfbef439-b12c-4a39-80bc-5fde909a23dc.png',
|
||||
'hover_image' => '/images/projects/projects_f7bd1cf7-fde2-4769-9aad-a1d29b4fae67.png',
|
||||
'video' => '/images/projects/projects_d4efce00-89ff-4dca-8d11-79eaabacc68a.png',
|
||||
'title' => 'Sham Al-maarefa App',
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
],
|
||||
[
|
||||
'image' => '/images/projects/projects_07e5e77f-5887-4ec7-84df-9eb13a525629.png',
|
||||
'hover_image' => '/images/projects/projects_e430dff1-64bc-4b04-9825-46d9ee7b090d.png',
|
||||
'video' => '/images/projects/projects_72d703b3-3932-4fe2-a4cb-c5abff9ed5b3.png',
|
||||
'title' => 'Education App',
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
],
|
||||
[
|
||||
'image' => '/images/projects/projects_a26d2dea-bf0c-4070-b44f-280121301ee6.png',
|
||||
'hover_image' => '/images/projects/projects_8bb65d5b-8528-4030-b4db-3e0490d3045f.png',
|
||||
'video' => '/images/projects/projects_467caf44-05a1-4c9c-8232-702d92512c99.png',
|
||||
'title' => 'Education App',
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
],
|
||||
[
|
||||
'image' => '/images/projects/projects_a493ff1b-3cf4-459e-8594-5f55a5e930ba.png',
|
||||
'hover_image' => '/images/projects/projects_bb9d9139-e51a-426b-9fcc-bfb1f68f7792.png',
|
||||
'video' => '/images/projects/projects_7cb5e99c-8ba2-408a-8889-47cb70f280c1.png',
|
||||
'title' => 'E-Learning App',
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
],
|
||||
[
|
||||
'image' => '/images/projects/projects_4aa43dcb-76d0-4509-ac95-1c481e529917.png',
|
||||
'hover_image' => '/images/projects/projects_3c59b6c3-d4aa-4a29-86a7-a8007cf23f24.png',
|
||||
'video' => '/images/projects/projects_e97d0986-767a-4d86-b76f-c28b068f97b0.MP4',
|
||||
'title' => 'Pakistani School',
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
]
|
||||
]);
|
||||
}
|
||||
}
|
||||
36
database/seeders/RecentWorksSedder.php
Normal file
36
database/seeders/RecentWorksSedder.php
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use App\Models\RecentWorks;
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class RecentWorksSedder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
RecentWorks::insert([
|
||||
[
|
||||
'image' => '/images/recent_works/recent_works_be0f7b74-414d-45ab-a0e6-5e87465d4374.png',
|
||||
'title' => 'Sham Al-maarefa App',
|
||||
'description' => 'Get in touch with us if you want to optimize your controlling and accounting processes with system support! We would be happy to present our solution portfolio to you and support you as a partner in the design and implementation.',
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
],
|
||||
[
|
||||
'image' => '/images/recent_works/recent_works_28df93e9-3078-46a6-aa42-b0e3c8ee4052.png',
|
||||
'title' => 'E-Learning App',
|
||||
'description' => 'Get in touch with us if you want to optimize your controlling and accounting processes with system support! We would be happy to present our solution portfolio to you and support you as a partner in the design and implementation.',
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
]
|
||||
]);
|
||||
}
|
||||
}
|
||||
42
database/seeders/ServiceSeeder.php
Normal file
42
database/seeders/ServiceSeeder.php
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use App\Models\Services;
|
||||
use Illuminate\Database\Seeder;
|
||||
use Carbon\Carbon;
|
||||
|
||||
class ServiceSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
Services::insert([
|
||||
[
|
||||
'image' => '/images/services/services_d31feddb-403d-4177-8874-7f1f925c3024.png',
|
||||
'title' => 'Mobile App Development',
|
||||
'description' => 'Design and develop mobile apps, with testing and deployment of apps on app stores such as Google Play and App Store.',
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
],
|
||||
[
|
||||
'image' => '/images/services/services_349d417c-3db1-4905-a370-5feccaefac17.png',
|
||||
'title' => 'Custom Software Development',
|
||||
'description' => 'Scelerisque eget scelerisque lectus orci tempor orci turpis mauris. Cursus venenatis mattis aliquam sed tempus in suspendisse faucibus. Bibendum at sed senectus lectus nunc a. Est eget feugiat eget massa eget tellus tellus. Quis pharetra sed cursus ornare metus quis urna etiam convallis. Et dignissim ultrices at adipiscing at integer gravida.',
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
],
|
||||
[
|
||||
'image' => '/images/services/services_0c6a128d-2af4-4d8f-9300-395309b36f0c.png',
|
||||
'title' => 'Improve business results',
|
||||
'description' => 'Improve work efficiency through the use of appropriate software.',
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
]
|
||||
]);
|
||||
}
|
||||
}
|
||||
42
database/seeders/SocialMediaSeeder.php
Normal file
42
database/seeders/SocialMediaSeeder.php
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use App\Models\SocialMedia;
|
||||
use Illuminate\Database\Seeder;
|
||||
use Carbon\Carbon;
|
||||
|
||||
class SocialMediaSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
SocialMedia::insert([
|
||||
[
|
||||
'image' => '/images/social_media/social_media_2763e35b-64a3-4272-b20d-d9228a85d2c7.png',
|
||||
'link' => 'https://facebook.com',
|
||||
'is_active' => 1,
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
],
|
||||
[
|
||||
'image' => '/images/social_media/social_media_d36abbbd-a10c-4f18-b4ec-9eae6ebf6e10.png',
|
||||
'link' => 'https://instagram.com',
|
||||
'is_active' => 1,
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
],
|
||||
[
|
||||
'image' => '/images/social_media/social_media_8d782699-11ee-443b-a999-5b6d57875910.png',
|
||||
'link' => 'https://twitter.com',
|
||||
'is_active' => 1,
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
]
|
||||
]);
|
||||
}
|
||||
}
|
||||
50
database/seeders/StaticInfoSeeder.php
Normal file
50
database/seeders/StaticInfoSeeder.php
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use App\Models\StaticInfo;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class StaticInfoSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
StaticInfo::insert([
|
||||
[
|
||||
'key' => 'ABOUT US',
|
||||
'value' => 'Risus mattis cum imperdiet lorem tellus ut elementum. Lacinia natoque sem ut nisi pellentesque. Leo viverra nisi mauris euismod ligula dignissim nibh in urna. Porta non ut facilisi ultrices tempus ultricies leo. Proin odio suscipit consectetur id cursus nulla egestas. Volutpat aliquet ac mauris sit varius in elementum. Porttitor placerat odio et ipsum amet ac pulvinar luctus. Nunc ullamcorper in felis tempus. Sed bibendum pellentesque ornare magna. Non neque ullamcorper pellentesque feugiat nunc et massa.',
|
||||
'value_type' => 'string',
|
||||
],
|
||||
[
|
||||
'key' => 'Terms & Conditions',
|
||||
'value' => 'Purus pharetra est ipsum etiam velit purus et. Eu duis orci viverra ultrices condimentum. Ipsum eget vehicula nullam pharetra. Vivamus donec adipiscing auctor mattis. Nullam tellus amet neque risus id. Posuere neque donec convallis nec sed. Adipiscing habitant urna etiam pretium. Tristique viverra nisl id cursus. Felis adipiscing lacus id phasellus tortor in nibh nunc. Commodo aliquet vitae neque donec risus porttitor sem sed. Arcu nunc est ipsum adipiscing luctus mauris odio laoreet ullamcorper. Neque odio ultrices sed odio praesent integer. Neque scelerisque non gravida tempus feugiat neque est. Penatibus nullam quis netus auctor vestibulum. Imperdiet convallis suscipit pulvinar aliquet nibh.',
|
||||
'value_type' => 'string',
|
||||
],
|
||||
[
|
||||
'key' => 'Privacy Policy',
|
||||
'value' => 'Purus pharetra est ipsum etiam velit purus et. Eu duis orci viverra ultrices condimentum. Ipsum eget vehicula nullam pharetra. Vivamus donec adipiscing auctor mattis. Nullam tellus amet neque risus id. Posuere neque donec convallis nec sed. Adipiscing habitant urna etiam pretium. Tristique viverra nisl id cursus. Felis adipiscing lacus id phasellus tortor in nibh nunc. Commodo aliquet vitae neque donec risus porttitor sem sed. Arcu nunc est ipsum adipiscing luctus mauris odio laoreet ullamcorper. Neque odio ultrices sed odio praesent integer. Neque scelerisque non gravida tempus feugiat neque est. Penatibus nullam quis netus auctor vestibulum. Imperdiet convallis suscipit pulvinar aliquet nibh.',
|
||||
'value_type' => 'string',
|
||||
],
|
||||
[
|
||||
'key' => 'Call Us :',
|
||||
'value' => '+963 683052004',
|
||||
'value_type' => 'string',
|
||||
],
|
||||
[
|
||||
'key' => 'Email Us :',
|
||||
'value' => 'Mesbar@gmail.com',
|
||||
'value_type' => 'string',
|
||||
],
|
||||
[
|
||||
'key' => 'logo',
|
||||
'value' => '/images/static_info/static_info_5dcc6149-3b41-4dcb-9b24-a0471984a1d9.png',
|
||||
'value_type' => 'image',
|
||||
]
|
||||
]);
|
||||
}
|
||||
}
|
||||
51
database/seeders/WorksSeeder.php
Normal file
51
database/seeders/WorksSeeder.php
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use App\Models\Works;
|
||||
use Illuminate\Database\Seeder;
|
||||
use Carbon\Carbon;
|
||||
|
||||
class WorksSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
Works::insert([
|
||||
[
|
||||
'image' => '/images/works/works_749b72b8-d261-4a93-88aa-025c49f49301.png',
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
],
|
||||
[
|
||||
'image' => '/images/works/works_fbefdde8-c17b-4eb7-b0a2-7b3923c94a37.png',
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
],
|
||||
[
|
||||
'image' => '/images/works/works_75e07d40-5109-4030-8712-3ae148fe560d.png',
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
],
|
||||
[
|
||||
'image' => '/images/works/works_37e2bb50-284f-4101-85fd-fd348142d02a.png',
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
],
|
||||
[
|
||||
'image' => '/images/works/works_8037129c-4099-4be8-8ebb-8290d78a5b41.png',
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
],
|
||||
[
|
||||
'image' => '/images/works/works_bee7e3aa-f22c-42f6-b0c9-8f0f82e5cbd5.png',
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
],
|
||||
]);
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 246 KiB |
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 927 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.2 KiB |
Loading…
Reference in New Issue
Block a user