blog api created
This commit is contained in:
1 parent
4f101885a8
commit
d98bc7bbb0
27 files changed
+1022
-44
No files matched your search
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use App\Models\AboutMe;
|
||||
use App\Models\Skill;
|
||||
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
||||
@@ -15,44 +16,53 @@ class AboutMeSeeder extends Seeder
|
||||
{
|
||||
// ایجاد رکورد AboutMe
|
||||
$aboutMe = AboutMe::create([
|
||||
'title' => 'About Me Title',
|
||||
'description' => 'This is a brief description about me.',
|
||||
'title' => 'About Me',
|
||||
'description' => 'I am a web developer with over 10 years of experience in creating dynamic and user-centric web applications. Specializing in React and Next.js, I build scalable solutions that enhance performance and user experience. I enjoy tackling complex challenges, from improving legacy systems to developing new applications. My focus on frontend development and seamless backend integration allows me to deliver innovative results while staying current with industry trends.',
|
||||
'image' => '/images/profile.png',
|
||||
]);
|
||||
|
||||
// ایجاد رکوردهای Skill
|
||||
Skill::create([
|
||||
'title' => 'FrontEnd',
|
||||
'title' => 'HTML & CSS (SASS, Responsive Design)',
|
||||
'image' => '/images/frontend.png',
|
||||
'description' => 'UI design description.',
|
||||
'description' => 'HTML & CSS (SASS, Responsive Design) description',
|
||||
'link' => 'http://example.com/frontend',
|
||||
'percentage' => 95,
|
||||
'about_me_id' => $aboutMe->id,
|
||||
]);
|
||||
|
||||
Skill::create([
|
||||
'title' => 'React.js and Next.js Development',
|
||||
'image' => '/images/backend.png',
|
||||
'description' => 'React.js and Next.js Development description.',
|
||||
'link' => 'http://example.com/backend',
|
||||
'percentage' => 90,
|
||||
'about_me_id' => $aboutMe->id,
|
||||
]);
|
||||
Skill::create([
|
||||
'title' => 'Backend Development (RESTful APIs, Laravel)',
|
||||
'image' => '/images/ui.png',
|
||||
'description' => 'Backend Development (RESTful APIs, Laravel) description.',
|
||||
'link' => 'http://example.com/ui',
|
||||
'percentage' => 85,
|
||||
'about_me_id' => $aboutMe->id,
|
||||
]);
|
||||
|
||||
Skill::create([
|
||||
'title' => 'WordPress Development and Customization',
|
||||
'image' => '/images/ux.png',
|
||||
'description' => 'WordPress Development and Customization description.',
|
||||
'link' => 'http://example.com/ux',
|
||||
'percentage' => 90,
|
||||
'about_me_id' => $aboutMe->id,
|
||||
]);
|
||||
|
||||
Skill::create([
|
||||
'title' => 'BackEnd',
|
||||
'image' => '/images/backend.png',
|
||||
'description' => 'BackEnd description.',
|
||||
'link' => 'http://example.com/backend',
|
||||
'percentage' => 80,
|
||||
'about_me_id' => $aboutMe->id,
|
||||
]);
|
||||
Skill::create([
|
||||
'title' => 'UI Design',
|
||||
'image' => '/images/ui.png',
|
||||
'description' => 'UI design description.',
|
||||
'link' => 'http://example.com/ui',
|
||||
'percentage' => 70,
|
||||
'about_me_id' => $aboutMe->id,
|
||||
]);
|
||||
|
||||
Skill::create([
|
||||
'title' => 'UX Design',
|
||||
'title' => 'Version Control (Git, GitHub)',
|
||||
'image' => '/images/ux.png',
|
||||
'description' => 'UX design description.',
|
||||
'description' => 'Version Control (Git, GitHub) description.',
|
||||
'link' => 'http://example.com/ux',
|
||||
'percentage' => 83,
|
||||
'percentage' => 80,
|
||||
'about_me_id' => $aboutMe->id,
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user