Skip to content

Commit 4078e3e

Browse files
author
Sebastian Fix
committed
wip
1 parent 7796125 commit 4078e3e

20 files changed

Lines changed: 202 additions & 118 deletions

app/Models/Configuration.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ class Configuration extends Model
1010
use HasFactory;
1111

1212
protected $casts = [
13+
'component_intro' => 'json',
1314
'section_news' => 'boolean',
1415
'section_services' => 'boolean',
1516
'section_products' => 'boolean',

database/migrations/2025_06_23_225051_create_configurations_table.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ public function up(): void
1515
$table->id();
1616

1717
$table->string('company')->nullable();
18+
$table->string('company_primary_color')->nullable();
19+
20+
$table->json('component_intro');
1821

1922
$table->boolean('section_news')->default(false);
2023
$table->boolean('section_services')->default(false);

database/seeders/Codebar/ConfigurationsTableSeeder.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace Database\Seeders\Codebar;
44

5+
use App\Enums\LocaleEnum;
56
use App\Models\Configuration;
67
use Illuminate\Database\Seeder;
78

@@ -15,6 +16,12 @@ public function run(): void
1516
Configuration::updateOrCreate([], [
1617

1718
'company' => 'codebar Solutions AG',
19+
'company_primary_color' => '#500472',
20+
21+
'component_intro' => [
22+
LocaleEnum::DE->value => file_get_contents(database_path('seeders/files/codebar_intro_de.md')),
23+
LocaleEnum::EN->value => file_get_contents(database_path('seeders/files/codebar_intro_en.md')),
24+
],
1825

1926
'section_news' => false,
2027
'section_services' => false,

database/seeders/Paperflakes/ConfigurationsTableSeeder.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace Database\Seeders\Paperflakes;
44

5+
use App\Enums\LocaleEnum;
56
use App\Models\Configuration;
67
use Illuminate\Database\Seeder;
78

@@ -14,6 +15,12 @@ public function run(): void
1415
{
1516
Configuration::updateOrCreate([], [
1617
'company' => 'paperflakes AG',
18+
'company_primary_color' => '#69b3a1',
19+
20+
'component_intro' => [
21+
LocaleEnum::DE->value => file_get_contents(database_path('seeders/files/paperflakes_intro_de.md')),
22+
LocaleEnum::EN->value => file_get_contents(database_path('seeders/files/paperflakes_intro_en.md')),
23+
],
1724

1825
'section_news' => true,
1926
'section_services' => true,

database/seeders/Paperflakes/PagesTableSeeder.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ private function enCH()
4141
],
4242
[
4343
'robots' => 'index,follow',
44-
'title' => '',
45-
'description' => '',
44+
'title' => 'News & Insights',
45+
'description' => 'Stay up to date with the latest news, expert insights and trends on DMS, ECM and digital transformation from paperflakes.',
4646
'image' => 'https://res.cloudinary.com/codebar/image/upload/c_scale,dpr_2.0,f_auto,q_auto,w_1200/www-paperflakes-ch/seo/seo_paperflakes.webp',
4747
]
4848
);
@@ -137,8 +137,8 @@ private function deCH()
137137
],
138138
[
139139
'robots' => 'index,follow',
140-
'title' => '',
141-
'description' => '',
140+
'title' => 'Neuigkeiten & Insights',
141+
'description' => 'Aktuelle News, Fachbeiträge und Trends rund um DMS, ECM und digitale Transformation mit paperflakes.',
142142
'image' => 'https://res.cloudinary.com/codebar/image/upload/c_scale,dpr_2.0,f_auto,q_auto,w_1200/www-paperflakes-ch/seo/seo_paperflakes.webp',
143143
]
144144
);
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<h2>Wer wir sind</h2>
2+
<p>Bei paperflakes unterstützen wir dich dabei, deine Informationsflüsse zu strukturieren und Geschäftsprozesse zu digitalisieren. Wir denken unternehmerisch, beraten mit Weitblick und setzen auf bewährte sowie offene Technologien. Unser Ziel: Lösungen, die auf deine echten Bedürfnisse zugeschnitten sind – und dir im Alltag spürbaren Mehrwert bringen.</p>
3+
4+
<h2>Wie wir arbeiten</h2>
5+
<p>Am Anfang hören wir dir zu. Denn nur wer Prozesse und Herausforderungen wirklich versteht, kann sinnvolle und nachhaltige Lösungen entwickeln. Gemeinsam mit dir erarbeiten wir ein durchdachtes Konzept, das fachlich und technisch überzeugt. Liegt die Umsetzung in unserem Kompetenzbereich, begleiten wir dich bis zur erfolgreichen Einführung – und darüber hinaus. Falls nicht, sorgen wir dafür, dass deine Anforderungen sauber dokumentiert sind und zuverlässig umgesetzt werden können – von uns oder deinem bevorzugten Partner.</p>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<h2>Who we are</h2>
2+
<p>The team at codebar knows how to bring innovative ideas to life using digital tools. We think economically, enjoy working conceptually, and rely on open technologies and standards. This allows us to develop software that's built around the needs of its users – and delivers real value to you.</p>
3+
4+
<h2>How we work</h2>
5+
<p>We start by listening. Because to develop effective software, you first need to understand exactly what it's meant to do. Next, we work with you to develop a concept based on the needs of future users. If the proposed solution fits our area of expertise, we're happy to support you through implementation as well. If not, we're just as pleased when others turn our plans into reality.</p>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<h2>Wer wir sind</h2>
2+
<p>Bei paperflakes unterstützen wir dich dabei, deine Informationsflüsse zu strukturieren und Dokumentenprozesse digital abzubilden – effizient, sicher und zukunftsorientiert. Wir beraten dich individuell, denken ganzheitlich und setzen Lösungen um, die exakt zu deinen Anforderungen passen. Unser Ziel: messbarer Mehrwert im Alltag – durch mehr Transparenz, klare Abläufe und spürbare Entlastung bei der täglichen Arbeit.</p>
3+
4+
<h2>Wie wir arbeiten</h2>
5+
<p>Am Anfang nehmen wir uns Zeit, deine Abläufe, Herausforderungen und Ziele genau zu verstehen. Denn nur wer wirklich durchblickt, kann sinnvolle und nachhaltige Lösungen entwickeln. Gemeinsam mit dir erstellen wir ein Umsetzungskonzept, das auf deine konkreten Anforderungen abgestimmt ist – fachlich fundiert und praxisnah. Auf dieser Basis erhältst du ein klar strukturiertes Angebot. Wenn du dich dafür entscheidest, setzen wir die Lösung gemeinsam mit dir um – von der Planung bis zur erfolgreichen Einführung.</p>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<h2>Who we are</h2>
2+
<p>At paperflakes, we help you structure your information flows and digitise document-related processes – efficiently, securely, and with a future-focused approach. We offer tailored consulting, take a holistic perspective, and implement solutions that fit your specific requirements. Our goal: measurable added value in your day-to-day operations – through greater transparency, streamlined processes, and noticeable relief in your daily workload.</p>
3+
4+
<h2>How we work</h2>
5+
<p>We start by taking the time to fully understand your workflows, challenges, and goals. Because only with real insight can effective and sustainable solutions be created. Together, we develop an implementation concept that is tailored to your specific needs – technically sound and grounded in real-world practice. Based on this, you'll receive a clearly structured proposal. If you decide to proceed, we'll implement the solution together – from planning to successful rollout.</p>

lang/de_CH.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"English": "English",
2020
"Google Maps": "Google Maps",
2121
"Headquarter": "Hauptsitz",
22+
"Home": "Start",
2223
"Imprint": "Impressum",
2324
"Info(at)paperflakes.ch": "Info(at)paperflakes.ch",
2425
"Jobs": "Stellen",
@@ -44,5 +45,6 @@
4445
"Technologies": "Technologien",
4546
"Update to english language": "Auf Englisch wechseln",
4647
"Update to german language": "Auf Deutsch wechseln",
48+
"Welcome": "Willkommen",
4749
"Zefix": "Zefix"
4850
}

0 commit comments

Comments
 (0)