Skip to content

Commit 0c26af3

Browse files
author
Sebastian Fix
committed
wip
1 parent e81a035 commit 0c26af3

9 files changed

Lines changed: 91 additions & 23 deletions

File tree

app/Http/Controllers/AboutUs/AboutUsIndexController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ class AboutUsIndexController extends Controller
1414
*/
1515
public function __invoke(): View
1616
{
17-
1817
$locale = app()->getLocale();
1918

2019
return view('app.about-us.index')->with([

app/Http/Controllers/Sitemap/SitemapController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class SitemapController extends Controller
1919

2020
protected const array DEFAULT_ROUTES = [
2121
'start.index',
22+
'about-us.index',
2223
'products.index',
2324
'services.index',
2425
'contact.index',

app/Security/Presets/MyCspPreset.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public function configure(Policy $policy): void
4040
$policy->add(Directive::IMG, [
4141
Keyword::SELF,
4242
'data:',
43+
'res.cloudinary.com',
4344
]);
4445

4546
$policy->add(Directive::FONT, Keyword::SELF);

database/seeders/Paperflakes/ContactsTableSeeder.php

Lines changed: 29 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ public function run(): void
2323
'en_CH' => 'DMS/ECM Specialist',
2424
],
2525
],
26-
ContactSectionEnum::EMPLOYEE_PRODUCTS => [
26+
/* ContactSectionEnum::EMPLOYEE_PRODUCTS => [
2727
'key' => ContactSectionEnum::EMPLOYEE_PRODUCTS,
2828
'role' => [
2929
'de_CH' => 'Software-Architekt',
3030
'en_CH' => 'Software-Engineer',
3131
],
32-
],
32+
],*/
3333
ContactSectionEnum::BOARD_MEMBERS => [
3434
'key' => ContactSectionEnum::BOARD_MEMBERS,
3535
],
@@ -38,7 +38,7 @@ public function run(): void
3838
'email' => 'sebastian.buergin@paperflakes.ch',
3939
'linkedin' => 'https://www.linkedin.com/in/fix-sebastian/',
4040
],
41-
'image' => 'https://res.cloudinary.com/codebar/image/upload/c_scale,dpr_2.0,f_auto,q_auto,w_500/www-paperflakes-ch/people/20201001_new_sebastian_fix_square.webp',
41+
'image' => 'https://res.cloudinary.com/codebar/image/upload/w_400,h_400,f_auto,q_auto/www-paperflakes-ch/people/s_fix_e_background_removal_f_png.webp',
4242
]
4343
);
4444

@@ -62,7 +62,7 @@ public function run(): void
6262
'email' => 'mischa.lanz@paperflakes.ch',
6363
'linkedin' => 'https://www.realestateclub.ch/images/REC_social_linkedin.svg',
6464
],
65-
'image' => 'https://res.cloudinary.com/codebar/image/upload/c_scale,dpr_2.0,f_auto,q_auto,w_500/www-paperflakes-ch/people/e2ch9rzadt0hamytyzc8.webp',
65+
'image' => 'https://res.cloudinary.com/codebar/image/upload/w_400,h_400,f_auto,q_auto/www-paperflakes-ch/people/6528f7c6bddf8430fb5d154c_Mischa_Hemd.webp',
6666
]
6767
);
6868

@@ -80,7 +80,7 @@ public function run(): void
8080
'email' => 'dominique.ernst@paperflakes.ch',
8181
'linkedin' => 'https://www.linkedin.com/in/dominique-ernst',
8282
],
83-
'image' => 'https://res.cloudinary.com/codebar/image/upload/c_scale,dpr_2.0,f_auto,q_auto,w_500/www-paperflakes-ch/people/ujywqubl5rkkm5hjqjsa.webp',
83+
'image' => 'https://res.cloudinary.com/codebar/image/upload/w_400,h_400,f_auto,q_auto/www-paperflakes-ch/people/ujywqubl5rkkm5hjqjsa_e_background_removal_f_png.webp',
8484
]
8585
);
8686

@@ -102,7 +102,7 @@ public function run(): void
102102
'email' => 'rhys.leess@paperflakes.ch',
103103
'linkedin' => 'https://www.linkedin.com/in/rhys-lees',
104104
],
105-
'image' => 'https://res.cloudinary.com/codebar/image/upload/c_scale,dpr_2.0,f_auto,q_auto,w_500/www-paperflakes-ch/people/r_lees.webp',
105+
'image' => 'https://res.cloudinary.com/codebar/image/upload/w_400,h_400,f_auto,q_auto/www-paperflakes-ch/people/r_lees_e_background_removal_f_png.webp',
106106
]
107107
);
108108

@@ -124,12 +124,31 @@ public function run(): void
124124
'email' => 'katja.lanz@paperflakes.ch',
125125
'linkedin' => 'https://www.linkedin.com/in/katja-lanz-a92372149/',
126126
],
127-
'image' => 'https://www.realestateclub.ch/images/652d4179a3494dedacf6555a_Katja_Jacke.webp',
127+
'image' => 'https://res.cloudinary.com/codebar/image/upload/w_400,h_400,f_auto,q_auto/www-paperflakes-ch/people/652d4179a3494dedacf6555a_Katja_Jacke.webp',
128128
]
129129
);
130130

131131
Contact::updateOrCreate(
132132
['id' => 6],
133+
[
134+
'name' => 'DR-G2110',
135+
'published' => true,
136+
'sections' => [
137+
ContactSectionEnum::EMPLOYEE_ADMINISTRATION => [
138+
'key' => ContactSectionEnum::EMPLOYEE_ADMINISTRATION,
139+
'role' => [
140+
'de_CH' => 'Digitalisierungs-Beauftragter',
141+
'en_CH' => 'Head of Digital Transformation',
142+
],
143+
],
144+
],
145+
'icons' => [],
146+
'image' => 'https://res.cloudinary.com/codebar/image/upload/c_thumb,g_face,w_400,h_400,f_auto,q_auto/www-paperflakes-ch/people/drg.webp',
147+
]
148+
);
149+
150+
Contact::updateOrCreate(
151+
['id' => 7],
133152
[
134153
'name' => 'Sebastian Bürgin-Fix',
135154
'published' => true,
@@ -142,12 +161,12 @@ public function run(): void
142161
],
143162
],
144163
'link' => 'https://www.codebar.ch',
145-
'image' => 'https://res.cloudinary.com/codebar/image/upload/c_scale,dpr_2.0,f_auto,q_auto,w_500/www-paperflakes-ch/people/codebar_social_linkedin_profilbild.webp',
164+
'image' => 'https://res.cloudinary.com/codebar/image/upload/w_400,h_400,f_auto,q_auto/www-paperflakes-ch/people/Zeichenfla%CC%88che_1.webp',
146165
]
147166
);
148167

149168
Contact::updateOrCreate(
150-
['id' => 7],
169+
['id' => 8],
151170
[
152171
'name' => 'Dario Wieland',
153172
'published' => true,
@@ -160,7 +179,7 @@ public function run(): void
160179
],
161180
],
162181
'link' => 'https://www.business-solutions.gmbh',
163-
'image' => 'https://res.cloudinary.com/codebar/image/upload/c_scale,dpr_2.0,f_auto,q_auto,w_500/www-paperflakes-ch/people/wieland_busines_solutions_gmbh.jpg',
182+
'image' => 'https://res.cloudinary.com/codebar/image/upload/w_400,h_400,f_auto,q_auto/www-paperflakes-ch/people/wds.jpg',
164183
]
165184
);
166185
}

database/seeders/Paperflakes/PagesTableSeeder.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,18 @@ private function enCH()
3333
'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',
3434
]);
3535

36+
Page::updateOrCreate(
37+
[
38+
'key' => 'about-us.index',
39+
'locale' => $locale,
40+
],
41+
[
42+
'robots' => 'index,follow',
43+
'title' => 'About Us – paperflakes AG',
44+
'description' => 'Get to know paperflakes AG – your Swiss partner for digital transformation and innovative software solutions.',
45+
'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',
46+
]);
47+
3648
Page::updateOrCreate(
3749
[
3850
'key' => 'services.index',
@@ -98,6 +110,18 @@ private function deCH()
98110
'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',
99111
]);
100112

113+
Page::updateOrCreate(
114+
[
115+
'key' => 'about-us.index',
116+
'locale' => $locale,
117+
],
118+
[
119+
'robots' => 'index,follow',
120+
'title' => 'Über uns – paperflakes AG',
121+
'description' => 'Lerne die paperflakes AG kennen – dein Schweizer Partner für digitale Transformation und innovative Softwarelösungen.',
122+
'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',
123+
]);
124+
101125
Page::updateOrCreate(
102126
[
103127
'key' => 'services.index',

lang/de_CH.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"Author": "Autor",
55
"Author: :name": "Autor: :name",
66
"Board of directors": "Verwaltungsrat",
7+
"Branch office": "Zweigniederlassung",
78
"Company": "Unternehmen",
89
"Collaboration": "Zusammenarbeit",
910
"Contact": "Kontakt",

lang/en_CH.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"Author": "Author",
55
"Author: :name": "Author: :name",
66
"Board of directors": "Board of directors",
7+
"Branch office": "Branch office",
78
"Company": "Company",
89
"Collaboration": "Collaboration",
910
"Contact": "Contact",

resources/views/app/contact/index.blade.php

Lines changed: 33 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,39 @@ classAttributes="block"/>
1515

1616
<x-section>
1717
<x-h2 :title="__('Office')"/>
18-
<address class="not-italic leading-relaxed ">
19-
<p class="font-semibold">paperflakes AG</p>
20-
<p>Haupstrasse 91</p>
21-
<p>CH-4455 Zunzgen</p>
22-
</address>
23-
<x-a-badge href="https://www.google.com/maps/place/Hauptstrasse+91,+4455+Zunzgen,+Schweiz" label="{{ __('Google Maps') }}" class-attributes="mt-1" target="_blank" rel="noopener noreferrer">
24-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
25-
stroke="currentColor" class="ml-1 size-3">
26-
<path stroke-linecap="round" stroke-linejoin="round"
27-
d="M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"/>
28-
</svg>
29-
</x-a-badge>
18+
19+
<div class="grid grid-cols-2">
20+
<div class="">
21+
<address class="not-italic leading-relaxed ">
22+
<p class="font-semibold">paperflakes AG</p>
23+
<p class="font-light">Haupstrasse 91</p>
24+
<p class="font-light">CH-4455 Zunzgen</p>
25+
</address>
26+
<x-a-badge href="https://www.google.com/maps/place/Hauptstrasse+91,+4455+Zunzgen,+Schweiz" label="{{ __('Google Maps') }}" class-attributes="mt-1" target="_blank" rel="noopener noreferrer">
27+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
28+
stroke="currentColor" class="ml-1 size-3">
29+
<path stroke-linecap="round" stroke-linejoin="round"
30+
d="M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"/>
31+
</svg>
32+
</x-a-badge>
33+
</div>
34+
<div class="">
35+
<address class="not-italic leading-relaxed ">
36+
<p class="font-semibold">paperflakes AG</p>
37+
<p class="font-normal">{{__('Branch office')}}</p>
38+
<p class="font-light">Langegasse 39</p>
39+
<p class="font-light">CH-4104 Oberwil</p>
40+
</address>
41+
<x-badge label="{{ __('Oktober 2025') }}" class-attributes="mt-1" rel="noopener noreferrer">
42+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
43+
stroke="currentColor" class="text-gray-400 ml-1 size-3">
44+
<path stroke-linecap="round" stroke-linejoin="round" d="M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z" />
45+
<path stroke-linecap="round" stroke-linejoin="round" d="M19.5 10.5c0 7.142-7.5 11.25-7.5 11.25S4.5 17.642 4.5 10.5a7.5 7.5 0 1 1 15 0Z" />
46+
</svg>
47+
</x-badge>
48+
</div>
49+
</div>
50+
3051
</x-section>
3152

3253
</x-app-layout>

resources/views/components/badge.blade.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
<span title="{{ $title ?? $label }}"
44
class="{{ $classAttributes }} inline-flex items-center rounded-md bg-gray-400/10 px-2 py-1 text-sm font-medium text-gray-600 ring-1 ring-gray-400/20 ring-inset">
55
{{ $label }}
6+
{{ $slot }}
67
</span>

0 commit comments

Comments
 (0)