diff --git a/database/seeders/LocalEnvironmentSeeder.php b/database/seeders/LocalEnvironmentSeeder.php index 1c7b71dc..08aabc9d 100644 --- a/database/seeders/LocalEnvironmentSeeder.php +++ b/database/seeders/LocalEnvironmentSeeder.php @@ -6,7 +6,6 @@ use Blumilk\Website\Models\ContactForm; use Blumilk\Website\Models\News; -use Blumilk\Website\Models\Project; use Blumilk\Website\Models\Reference; use Blumilk\Website\Models\Tag; use Illuminate\Database\Seeder; @@ -20,75 +19,11 @@ public function run(): void } $this->call(UsersSeeder::class); + $this->call(ProjectsSeeder::class); Tag::factory()->count(12)->create(); News::factory()->count(12)->create(); - $this->createSpecificProjects(); - Project::factory()->count(12)->create(); ContactForm::factory()->count(12)->create(); Reference::factory()->count(12)->create(); } - - private function createSpecificProjects(): void - { - Project::factory()->create([ - "name_first_part" => [ - "pl" => "Aplikacja do", - "en" => "Application for", - ], - "name_second_part" => [ - "pl" => "zamawiania usług medycznych", - "en" => "ordering medical services", - ], - "name_third_part" => [ - "pl" => "z przychodni Vita+", - "en" => "from the Vita+ clinic", - ], - "color" => "#9676F9", - "photo" => "factory/case_study.jpg", - "published" => true, - "slug" => "vita", - "template" => "vita", - ]); - - Project::factory()->create([ - "name_first_part" => [ - "pl" => "Aplikacja shared economy do", - "en" => "Shared economy application for", - ], - "name_second_part" => [ - "pl" => "przewozów przesyłek", - "en" => "the transport of parcels", - ], - "name_third_part" => [ - "pl" => null, - "en" => null, - ], - "color" => "#FAD12A", - "photo" => "factory/case_study.jpg", - "published" => true, - "slug" => "getthebox", - "template" => "getthebox", - ]); - - Project::factory()->create([ - "name_first_part" => [ - "pl" => "System", - "en" => "System for", - ], - "name_second_part" => [ - "pl" => "zarządzania licencjami i dystrybucji", - "en" => "managing licenses and distributing", - ], - "name_third_part" => [ - "pl" => "oprogramowania", - "en" => "Software", - ], - "color" => "#FF5555", - "photo" => "factory/case_study.jpg", - "published" => true, - "slug" => "k1", - "template" => "k1", - ]); - } } diff --git a/database/seeders/ProjectsSeeder.php b/database/seeders/ProjectsSeeder.php new file mode 100644 index 00000000..ca4a89d6 --- /dev/null +++ b/database/seeders/ProjectsSeeder.php @@ -0,0 +1,113 @@ +seedVita(); + $this->seedGetTheBox(); + $this->seedK1(); + $this->seedCarbon(); + + Project::factory()->count(12)->create(); + } + + private function seedVita(): void + { + Project::factory()->create([ + "name_first_part" => [ + "pl" => "Aplikacja do", + "en" => "Application for", + ], + "name_second_part" => [ + "pl" => "zamawiania usług medycznych", + "en" => "ordering medical services", + ], + "name_third_part" => [ + "pl" => "z przychodni Vita+", + "en" => "from the Vita+ clinic", + ], + "color" => "#9676F9", + "photo" => "factory/case_study.jpg", + "published" => true, + "slug" => "vita", + "template" => "vita", + ]); + } + + private function seedGetTheBox(): void + { + Project::factory()->create([ + "name_first_part" => [ + "pl" => "Aplikacja shared economy do", + "en" => "Shared economy application for", + ], + "name_second_part" => [ + "pl" => "przewozów przesyłek", + "en" => "the transport of parcels", + ], + "name_third_part" => [ + "pl" => null, + "en" => null, + ], + "color" => "#FAD12A", + "photo" => "factory/case_study.jpg", + "published" => true, + "slug" => "getthebox", + "template" => "getthebox", + ]); + } + + private function seedK1(): void + { + Project::factory()->create([ + "name_first_part" => [ + "pl" => "System", + "en" => "System for", + ], + "name_second_part" => [ + "pl" => "zarządzania licencjami i dystrybucji", + "en" => "managing licenses and distributing", + ], + "name_third_part" => [ + "pl" => "oprogramowania", + "en" => "Software", + ], + "color" => "#FF5555", + "photo" => "factory/case_study.jpg", + "published" => true, + "slug" => "k1", + "template" => "k1", + ]); + } + + private function seedCarbon(): void + { + Project::factory()->create([ + "name_first_part" => [ + "pl" => "Aplikacja do zbierania danych i generowania raportów", + "en" => "Application for collecting data and generating reports", + ], + "name_second_part" => [ + "pl" => "dotyczących śladu węglowego", + "en" => "regarding carbon footprint", + ], + "name_third_part" => [ + "pl" => null, + "en" => null, + ], + "color" => "#F39200", + "photo" => "factory/case_study.jpg", + "published" => true, + "slug" => "carbon", + "template" => "carbon", + ]); + } +} diff --git a/lang/en/projects.php b/lang/en/projects.php index f144de23..f551be30 100644 --- a/lang/en/projects.php +++ b/lang/en/projects.php @@ -205,4 +205,56 @@ "mobile" => "phone with the application", ], ], + "carbon" => [ + "title_1" => "Application for collecting data and generating reports", + "title_2" => "regarding carbon footprint", + "project_description" => "The tool allows users to independently calculate CO2 emissions, providing a large set of indicators that are the basis for calculations.", + "challenges" => [ + "challenge_1" => [ + "title" => "Advanced role system", + "description" => "enabling work in the system on many levels", + ], + "challenge_2" => [ + "title" => "Implementation of CO2 counting algorithms", + "description" => "understanding the complexity of calculations", + ], + "challenge_3" => [ + "title" => "Data security", + "description" => "in the field of access control and authentication", + ], + ], + "functionalities" => [ + "functionality_1" => [ + "title" => "Application management", + "description" => "in the context of users, locations, processes and products", + ], + "functionality_2" => [ + "title" => "Indicator database", + "description" => "global and individual user list", + ], + "functionality_3" => [ + "title" => "CO2 Emissions Calculator", + "description" => "for the entire process based on indicators", + ], + "functionality_4" => [ + "title" => "Generating a report", + "description" => "for a selected year and location with the option of export", + ], + "functionality_5" => [ + "title" => "Controlled access to the system", + "description" => "managed from the administrator level", + ], + ], + "testimonial" => [ + "name" => "Dominika Pasternak", + "company" => "Deputy Chief Accountant", + "description" => "The created application significantly improved the processes within the company. The team demonstrated experience, great flexibility and understanding of our specific needs. Thanks to free communication, we were able to participate in the development of the software on an ongoing basis and submit our suggestions.", + ], + "alt" => [ + "laptop_1" => "laptop with application page", + "laptop_2" => "laptop standing on a desk with an open application", + "sitemap" => "sitemap", + "monitor" => "monitor on yellow background with application", + ], + ], ]; diff --git a/lang/pl/projects.php b/lang/pl/projects.php index 3778de8a..e6f28a83 100644 --- a/lang/pl/projects.php +++ b/lang/pl/projects.php @@ -205,4 +205,56 @@ "mobile" => "telefon z aplikacją", ], ], + "carbon" => [ + "title_1" => "Aplikacja do zbierania danych i generowania raportów", + "title_2" => "dotyczących śladu węglowego", + "project_description" => "Narzędzie pozwala użytkownikom na samodzielne wyliczenie emisyjności CO2, dostarczając duży zasób wskaźników będących podstawą wyliczeń.", + "challenges" => [ + "challenge_1" => [ + "title" => "Zaawansowany system ról", + "description" => "umożliwiający pracę w systemie na wielu poziomach", + ], + "challenge_2" => [ + "title" => "Implementacja algorytmów do liczenia CO2", + "description" => "zrozumienie złożoności wyliczeń", + ], + "challenge_3" => [ + "title" => "Bezpieczeństwo danych", + "description" => "w zakresie kontroli dostępu i uwierzytelniania", + ], + ], + "functionalities" => [ + "functionality_1" => [ + "title" => "Zarządzanie aplikacją", + "description" => "w kontekście użytkowników, lokalizacji, procesów i produktów", + ], + "functionality_2" => [ + "title" => "Baza wskaźników", + "description" => "globalna oraz indywidualna lista użytkownika", + ], + "functionality_3" => [ + "title" => "Kalkulator emisji CO2", + "description" => "dla całego procesu na podstawie wskaźników", + ], + "functionality_4" => [ + "title" => "Generowanie raportu", + "description" => "dla wybranego roku i lokalizacji z możliwością eksportu", + ], + "functionality_5" => [ + "title" => "Kontrolowany dostęp do systemu", + "description" => "zarządzany z poziomu administratora", + ], + ], + "testimonial" => [ + "name" => "Dominika Pasternak", + "company" => "Deputy Chief Accountant", + "description" => "Stworzona aplikacja znacznie usprawniła procesy wewnątrz firmy. Zespół wykazał się doświadczeniem, dużą elastycznością i zrozumieniem naszych specyficznych potrzeb. Dzięki swobodnej komunikacji mogliśmy na bieżąco uczestniczyć w tworzeniu oprogramowania i zgłaszać swoje sugestie.", + ], + "alt" => [ + "laptop_1" => "laptop ze stroną aplikacji", + "laptop_2" => "laptop stojący na biurku z otwartą aplikacją", + "sitemap" => "mapa aplikacji", + "monitor" => "monitor na żółtym tle z aplikacją", + ], + ], ]; diff --git a/public/images/projects/carbon/desktop.png b/public/images/projects/carbon/desktop.png new file mode 100644 index 00000000..cc2e7af8 Binary files /dev/null and b/public/images/projects/carbon/desktop.png differ diff --git a/public/images/projects/carbon/en/sitemap.svg b/public/images/projects/carbon/en/sitemap.svg new file mode 100644 index 00000000..5af5bb6f --- /dev/null +++ b/public/images/projects/carbon/en/sitemap.svg @@ -0,0 +1,94 @@ + diff --git a/public/images/projects/carbon/laptop_1.png b/public/images/projects/carbon/laptop_1.png new file mode 100644 index 00000000..9de99bfa Binary files /dev/null and b/public/images/projects/carbon/laptop_1.png differ diff --git a/public/images/projects/carbon/laptop_2.png b/public/images/projects/carbon/laptop_2.png new file mode 100644 index 00000000..a4021c4b Binary files /dev/null and b/public/images/projects/carbon/laptop_2.png differ diff --git a/public/images/projects/carbon/pl/sitemap.svg b/public/images/projects/carbon/pl/sitemap.svg new file mode 100644 index 00000000..2d66ee69 --- /dev/null +++ b/public/images/projects/carbon/pl/sitemap.svg @@ -0,0 +1,94 @@ + diff --git a/resources/views/components/icons/binary-tree.blade.php b/resources/views/components/icons/binary-tree.blade.php new file mode 100644 index 00000000..0736eae1 --- /dev/null +++ b/resources/views/components/icons/binary-tree.blade.php @@ -0,0 +1,13 @@ + diff --git a/resources/views/components/icons/chart-dots.blade.php b/resources/views/components/icons/chart-dots.blade.php new file mode 100644 index 00000000..738989b6 --- /dev/null +++ b/resources/views/components/icons/chart-dots.blade.php @@ -0,0 +1,13 @@ + diff --git a/resources/views/components/icons/file-analytics.blade.php b/resources/views/components/icons/file-analytics.blade.php new file mode 100644 index 00000000..56203ed3 --- /dev/null +++ b/resources/views/components/icons/file-analytics.blade.php @@ -0,0 +1,11 @@ + diff --git a/resources/views/components/icons/math-symbols.blade.php b/resources/views/components/icons/math-symbols.blade.php new file mode 100644 index 00000000..7df65e98 --- /dev/null +++ b/resources/views/components/icons/math-symbols.blade.php @@ -0,0 +1,15 @@ + diff --git a/resources/views/components/icons/user-exclamation.blade.php b/resources/views/components/icons/user-exclamation.blade.php new file mode 100644 index 00000000..0bf87fc3 --- /dev/null +++ b/resources/views/components/icons/user-exclamation.blade.php @@ -0,0 +1,10 @@ + diff --git a/resources/views/components/tile.blade.php b/resources/views/components/tile.blade.php index 2d9e372d..899cf4d9 100644 --- a/resources/views/components/tile.blade.php +++ b/resources/views/components/tile.blade.php @@ -7,11 +7,11 @@