Skip to content

Commit c440a15

Browse files
author
Sebastian Fix
committed
wip
1 parent aef2b0a commit c440a15

3 files changed

Lines changed: 6 additions & 23 deletions

File tree

public/.htaccess

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@
1919
RewriteCond %{REQUEST_FILENAME} !-f
2020
RewriteRule ^ index.php [L]
2121
</IfModule>
22+
23+

resources/views/components/intro.blade.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
@php
44
$locale = app()->getLocale();
55
$color = $configuration?->company_primary_color;
6+
67
$team_url = match ($locale) {
78
LocaleEnum::EN->value => route(Str::slug(LocaleEnum::EN->value) . '.about-us.index'),
89
default => route(Str::slug(LocaleEnum::DE->value) . '.about-us.index'),
@@ -26,8 +27,8 @@
2627
</div>
2728
<div class="flex flex-col sm:flex-row gap-2 text-center">
2829
<a href="{{ $team_url }}" rel="noopener noreferrer"
29-
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"
30-
style="background-color: white; color: {{ $color }}; border-color: {{ $color }}; --tw-ring-color: {{ $color }};">
30+
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"
31+
style="background-color: white; border-color: {{ $color }}; --tw-ring-color: {{ $color }};">
3132
{{ __('components.intro.buttons.more') }}
3233
</a>
3334
</div>

vite.config.js

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,5 @@ export default defineConfig({
1515
server: {
1616
cors: true,
1717
},
18-
build: {
19-
// Optimize build performance
20-
target: 'esnext',
21-
// Use default minification instead of terser
22-
minify: 'esbuild',
23-
rollupOptions: {
24-
output: {
25-
manualChunks: {
26-
alpine: ['@alpinejs/csp'],
27-
},
28-
},
29-
},
30-
// Enable source maps for debugging
31-
sourcemap: false,
32-
// Optimize chunk size
33-
chunkSizeWarningLimit: 1000,
34-
},
35-
// Optimize development server
36-
optimizeDeps: {
37-
include: ['@alpinejs/csp'],
38-
},
18+
3919
});

0 commit comments

Comments
 (0)