diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 452e6b6..1ea0978 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -2,6 +2,7 @@ namespace App\Providers; +use Illuminate\Support\Facades\URL; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider @@ -19,6 +20,8 @@ class AppServiceProvider extends ServiceProvider */ public function boot(): void { - // + if (app()->environment('production') || str_starts_with(config('app.url', ''), 'https://')) { + URL::forceScheme('https'); + } } } diff --git a/bootstrap/app.php b/bootstrap/app.php index 1085719..3c8f740 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -12,7 +12,7 @@ return Application::configure(basePath: dirname(__DIR__)) health: '/up', ) ->withMiddleware(function (Middleware $middleware): void { - // + $middleware->trustProxies(at: '*'); }) ->withExceptions(function (Exceptions $exceptions): void { $exceptions->shouldRenderJsonWhen( diff --git a/resources/css/app.css b/resources/css/app.css index 54b247e..29f2186 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -4,6 +4,45 @@ @source '../../storage/framework/views/*.php'; @theme { - --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', - 'Segoe UI Symbol', 'Noto Color Emoji'; + --font-heading: 'Fredoka', ui-rounded, 'Nunito', system-ui, sans-serif; + --font-sans: 'Nunito', system-ui, sans-serif; +} + +@layer utilities { + .font-heading { + font-family: var(--font-heading); + } + + /* Chunky playful toy block shadows */ + .toy-shadow-sm { + box-shadow: 2px 2px 0px 0px #0f172a; + } + .toy-shadow { + box-shadow: 4px 4px 0px 0px #0f172a; + } + .toy-shadow-lg { + box-shadow: 6px 6px 0px 0px #0f172a; + } + .toy-shadow-amber { + box-shadow: 4px 4px 0px 0px #b45309; + } + .toy-shadow-rose { + box-shadow: 4px 4px 0px 0px #be123c; + } + .toy-shadow-indigo { + box-shadow: 4px 4px 0px 0px #3730a3; + } + + /* Chunky pressable button effect */ + .toy-btn { + transition: all 0.12s cubic-bezier(0.4, 0, 0.2, 1); + } + .toy-btn:hover { + transform: translate(-2px, -2px); + box-shadow: 6px 6px 0px 0px #0f172a; + } + .toy-btn:active { + transform: translate(2px, 2px); + box-shadow: 2px 2px 0px 0px #0f172a; + } } diff --git a/resources/views/cart/index.blade.php b/resources/views/cart/index.blade.php index 4860761..0147119 100644 --- a/resources/views/cart/index.blade.php +++ b/resources/views/cart/index.blade.php @@ -1,27 +1,30 @@ @extends('layouts.app') -@section('title', 'Winkelwagen | Jouwdriedee.nl') +@section('title', 'Winkelwagen 🛒 | Jouwdriedee.nl') @section('content') -
Controleer jouw geselecteerde 3D prints, materialen en kleuren.
+Controleer jouw geselecteerde 3D prints, vrolijke kleuren en aantallen.
Ontdek onze collectie 3D geprinte designs of vraag een custom print aan.
- @@ -31,21 +34,21 @@- Tip: Voeg nog € {{ number_format(50 - $subtotal, 2, ',', '.') }} toe voor gratis verzending! +
+ 💡 Tip: Bestel nog voor € {{ number_format(50 - $subtotal, 2, ',', '.') }} en profiteer van gratis verzending!
@endif