Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion database/files/intro/codebar_intro_de.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<h2>Wer wir sind</h2>
<p>Das Team von **codebar** versteht es, innovative Ideen mit digitalen Hilfsmitteln zum Leben zu erwecken. Wir denken wirtschaftlich, arbeiten gerne konzeptionell und setzen auf offene Technologien und Standards. Das alles ermöglicht es uns, Software zu entwickeln, die sich an den Bedürfnissen der Nutzer:innen orientiert – und dir echten Mehrwert bietet.</p>
<p>Das Team von codebar versteht es, innovative Ideen mit digitalen Hilfsmitteln zum Leben zu erwecken. Wir denken wirtschaftlich, arbeiten gerne konzeptionell und setzen auf offene Technologien und Standards. Das alles ermöglicht es uns, Software zu entwickeln, die sich an den Bedürfnissen der Nutzer:innen orientiert – und dir echten Mehrwert bietet.</p>

<h2>Wie wir arbeiten</h2>
<p>Am Anfang hören wir dir zu. Denn um effiziente Software zu entwickeln, muss man zunächst im Detail verstehen, wofür sie gedacht ist. Anschliessend erarbeiten wir gemeinsam ein Konzept, das sich an den Anforderungen der künftigen Nutzer:innen orientiert. Fällt der definierte Lösungsansatz in unseren Kompetenzbereich, unterstützen wir dich gerne auch bei der Realisierung. Andernfalls freuen wir uns, wenn andere unsere Pläne in die Tat umsetzen.</p>
4 changes: 2 additions & 2 deletions database/seeders/Codebar/ConfigurationsTableSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ public function run(): void
'section_news' => false,
'section_services' => false,
'section_products' => false,
'section_technologies' => true,
'section_open_source' => true,
'section_technologies' => false,
'section_open_source' => false,

'key' => '_codebar',

Expand Down
341 changes: 333 additions & 8 deletions database/seeders/Codebar/OpenSourceTableSeeder.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion database/seeders/CodebarSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function run(): void
{
$this->call(ConfigurationsTableSeeder::class);
$this->call(ContactsTableSeeder::class);
$this->call(OpenSourceTableSeeder::class);
// $this->call(OpenSourceTableSeeder::class);
$this->call(TechnologiesTableSeeder::class);

if (app()->isLocal()) {
Expand Down
Empty file removed public/favicon.ico
Empty file.
Binary file added public/favicons/codebar/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicons/codebar/favicon-96x96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicons/codebar/favicon.ico
Binary file not shown.
3 changes: 3 additions & 0 deletions public/favicons/codebar/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes
21 changes: 21 additions & 0 deletions public/favicons/paperflakes/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "MyWebSite",
"short_name": "MySite",
"icons": [
{
"src": "/web-app-manifest-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/web-app-manifest-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
2 changes: 2 additions & 0 deletions resources/views/app/start/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

<x-intro/>

@if($configuration?->section_news)
<x-section>
<x-h1 :title="__('News')"/>
<x-list>
Expand All @@ -14,6 +15,7 @@
@endforeach
</x-list>
</x-section>
@endif

<x-docuware-showme/>

Expand Down
5 changes: 3 additions & 2 deletions resources/views/components/intro.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
@php
$locale = app()->getLocale();
$color = $configuration?->company_primary_color;

$team_url = match ($locale) {
LocaleEnum::EN->value => route(Str::slug(LocaleEnum::EN->value) . '.about-us.index'),
default => route(Str::slug(LocaleEnum::DE->value) . '.about-us.index'),
Expand All @@ -26,8 +27,8 @@
</div>
<div class="flex flex-col sm:flex-row gap-2 text-center">
<a href="{{ $team_url }}" rel="noopener noreferrer"
class="px-4 py-2 border rounded-md text-sm font-medium hover:font-semibold transition w-full sm:w-auto focus:outline-none focus:ring-2 focus:ring-offset-2"
style="background-color: white; color: {{ $color }}; border-color: {{ $color }}; --tw-ring-color: {{ $color }};">
class="px-4 py-2 border rounded-md text-sm font-medium hover:font-semibold transition w-full sm:w-auto focus:outline-none focus:ring-2 focus:ring-offset-2 text-gray-800"
style="background-color: white; border-color: {{ $color }}; --tw-ring-color: {{ $color }};">
{{ __('components.intro.buttons.more') }}
</a>
</div>
Expand Down
106 changes: 51 additions & 55 deletions resources/views/components/list-image-card.blade.php
Original file line number Diff line number Diff line change
@@ -1,84 +1,80 @@
@props([
'image',
'imageContainerClassAttributes' => null,
'name',
'role' => null,
'icons' => [],
])
@props(['image', 'imageContainerClassAttributes' => null, 'name', 'role' => null, 'icons' => []])

<div class="flex flex-row rounded-xl overflow-hidden transition group">
<div class="{{ $imageContainerClassAttributes ?? 'h-32 w-32 flex-shrink-0 overflow-hidden' }}">
<img src="{{ $image }}" alt="{{ $name }}" class="w-full h-full object-cover transition-transform duration-300 ease-in-out group-hover:scale-105"/>
<img src="{{ $image }}" alt="{{ $name }}"
class="w-full h-full object-cover transition-transform duration-300 ease-in-out group-hover:scale-105" />
</div>

<div class="flex flex-col justify-center p-4 space-y-1">
<div class="text-base font-bold text-gray-900 leading-tight">
{{ $name }}
</div>

@if(!blank($role))
@if (!blank($role))
<div class="text-sm text-gray-500 leading-snug">
{{ $role }}
</div>
@endif

@php $icons = collect($icons); @endphp

@if($icons->isNotEmpty())
@if ($icons->isNotEmpty())
<div class="flex gap-3 pt-2">
@foreach($icons as $type => $url)
@switch($type)
@case('linkedin')
<a href="{{ $url }}" target="_blank" title="LinkedIn" aria-label="LinkedIn"
class="text-gray-500 hover:text-gray-900">
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" fill="none"
stroke="currentColor" stroke-width="2"
viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round">
<path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"/>
<rect width="4" height="12" x="2" y="9"/>
<circle cx="4" cy="4" r="2"/>
</svg>
</a>
@foreach ($icons as $type => $url)
@if (filled($url))
@switch($type)
@case('linkedin')
<a href="{{ $url }}" target="_blank" title="LinkedIn" aria-label="LinkedIn"
class="text-gray-500 hover:text-gray-900">
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" fill="none" stroke="currentColor"
stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round">
<path
d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z" />
<rect width="4" height="12" x="2" y="9" />
<circle cx="4" cy="4" r="2" />
</svg>
</a>
@break

@case('github')
<a href="{{ $url }}" target="_blank" title="GitHub" aria-label="GitHub"
class="text-gray-500 hover:text-gray-900">
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" fill="none"
stroke="currentColor" stroke-width="2"
viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round">
<path d="M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4"/>
<path d="M9 18c-4.51 2-5-2-7-2"/>
</svg>
</a>
@case('github')
<a href="{{ $url }}" target="_blank" title="GitHub" aria-label="GitHub"
class="text-gray-500 hover:text-gray-900">
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" fill="none" stroke="currentColor"
stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round">
<path
d="M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4" />
<path d="M9 18c-4.51 2-5-2-7-2" />
</svg>
</a>
@break

@case('email')
<a href="mailto:{{ $url }}" title="E-Mail" aria-label="E-Mail"
class="text-gray-500 hover:text-gray-900">
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" fill="none"
stroke="currentColor" stroke-width="2"
viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round">
<path d="M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z"/>
<path d="m21.854 2.147-10.94 10.939"/>
</svg>
</a>
@case('email')
<a href="mailto:{{ $url }}" title="E-Mail" aria-label="E-Mail"
class="text-gray-500 hover:text-gray-900">
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" fill="none" stroke="currentColor"
stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round">
<path
d="M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z" />
<path d="m21.854 2.147-10.94 10.939" />
</svg>
</a>
@break

@case('website')
<a href="{{ $url }}" target="_blank" title="Website" aria-label="Website"
class="text-gray-500 hover:text-gray-900">
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" fill="none"
stroke="currentColor" stroke-width="2"
viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round">
<path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/>
<path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/>
</svg>
</a>
@case('website')
<a href="{{ $url }}" target="_blank" title="Website" aria-label="Website"
class="text-gray-500 hover:text-gray-900">
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" fill="none" stroke="currentColor"
stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round">
<path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71" />
<path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71" />
</svg>
</a>
@break
@endswitch
@endswitch
@endif
@endforeach
</div>
@endif
</div>
</div>
</div>
22 changes: 15 additions & 7 deletions resources/views/layouts/_partials/_favicons.blade.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
@props(['manifest' => asset('manifest.json'), 'path' => asset('favicons'), 'color' => '#ffffff'])

<link rel="icon" type="image/png" href="{{ asset('favicons/favicon-96x96.png') }}" sizes="96x96"/>
<link rel="icon" type="image/svg+xml" href="{{ asset('favicons/favicon.svg') }}"/>
<link rel="shortcut icon" href="{{ asset('favicons/favicon.ico') }}"/>
<link rel="apple-touch-icon" sizes="180x180" href="{{ asset('favicons/apple-touch-icon.png') }}"/>
<link rel="manifest" href="{{ asset('favicons/site.webmanifest') }}"/>
@php
$prefix = match($configuration?->key) {
'_paperflakes' => 'paperflakes',
'_codebar' => 'codebar',
default => $configuration?->key
};
@endphp

<link rel="icon" type="image/png" href="{{ asset("favicons/{$prefix}/favicon-96x96.png") }}" sizes="96x96"/>
<link rel="icon" type="image/svg+xml" href="{{ asset("favicons/{$prefix}/favicon.svg") }}"/>
<link rel="shortcut icon" href="{{ asset("favicons/{$prefix}/favicon.ico") }}"/>
<link rel="apple-touch-icon" sizes="180x180" href="{{ asset("favicons/{$prefix}/apple-touch-icon.png") }}"/>
<link rel="manifest" href="{{ asset("favicons/{$prefix}/site.webmanifest") }}"/>

<meta name="msapplication-TileColor" content="{{ $color }}"/>
<meta name="msapplication-TileImage" content="{{ $path.'/ms-icon-144x144.png' }}"/>
<meta name="theme-color" content="{{ $color }}"/>
<meta name="msapplication-TileImage" content="{{ asset("favicons/{$prefix}/ms-icon-144x144.png") }}"/>
<meta name="theme-color" content="{{ $color }}"/>
22 changes: 1 addition & 21 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,5 @@ export default defineConfig({
server: {
cors: true,
},
build: {
// Optimize build performance
target: 'esnext',
// Use default minification instead of terser
minify: 'esbuild',
rollupOptions: {
output: {
manualChunks: {
alpine: ['@alpinejs/csp'],
},
},
},
// Enable source maps for debugging
sourcemap: false,
// Optimize chunk size
chunkSizeWarningLimit: 1000,
},
// Optimize development server
optimizeDeps: {
include: ['@alpinejs/csp'],
},

});