From f05b7378dcfe90681c1e305179645bc74e8e2d81 Mon Sep 17 00:00:00 2001 From: Bayu Lukman Yusuf Date: Thu, 26 Feb 2026 09:30:16 +0700 Subject: [PATCH] tagline title --- .env.example | 1 + config/app.php | 1 + resources/views/checkout/v1-cart.blade.php | 2 +- resources/views/checkout/v1-delivery-1.blade.php | 2 +- resources/views/checkout/v1-delivery-2.blade.php | 2 +- resources/views/home/fashion-v1.blade.php | 2 +- resources/views/home/grocery.blade.php | 2 +- resources/views/shop/product-fashion.blade.php | 2 +- 8 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.env.example b/.env.example index d054ece..d37fc33 100644 --- a/.env.example +++ b/.env.example @@ -3,6 +3,7 @@ APP_ENV=local APP_KEY= APP_DEBUG=true APP_URL=http://localhost +APP_TAGLINE=Tagline APP_LOCALE=en APP_FALLBACK_LOCALE=en diff --git a/config/app.php b/config/app.php index 423eed5..c5cb9d0 100644 --- a/config/app.php +++ b/config/app.php @@ -14,6 +14,7 @@ return [ */ 'name' => env('APP_NAME', 'Laravel'), + 'tagline' => env('APP_TAGLINE', 'Tagline'), /* |-------------------------------------------------------------------------- diff --git a/resources/views/checkout/v1-cart.blade.php b/resources/views/checkout/v1-cart.blade.php index 5ed2592..3aee0c1 100644 --- a/resources/views/checkout/v1-cart.blade.php +++ b/resources/views/checkout/v1-cart.blade.php @@ -1,4 +1,4 @@ -@extends('layouts.landing', ['title' => 'Checkout v.1 - Shopping Cart']) +@extends('layouts.landing', ['title' => 'Shopping Cart']) @section('content') diff --git a/resources/views/checkout/v1-delivery-1.blade.php b/resources/views/checkout/v1-delivery-1.blade.php index e8807d8..1636d17 100644 --- a/resources/views/checkout/v1-delivery-1.blade.php +++ b/resources/views/checkout/v1-delivery-1.blade.php @@ -1,4 +1,4 @@ -@extends('layouts.landing', ['title' => 'Checkout v.1 - Delivery Info Step 1']) +@extends('layouts.landing', ['title' => 'Checkout']) @section('content') diff --git a/resources/views/checkout/v1-delivery-2.blade.php b/resources/views/checkout/v1-delivery-2.blade.php index cf49c81..68be3f1 100644 --- a/resources/views/checkout/v1-delivery-2.blade.php +++ b/resources/views/checkout/v1-delivery-2.blade.php @@ -1,4 +1,4 @@ -@extends('layouts.landing', ['title' => 'Checkout v.1 - Delivery Info Step 2']) +@extends('layouts.landing', ['title' => 'Checkout']) @section('content') diff --git a/resources/views/home/fashion-v1.blade.php b/resources/views/home/fashion-v1.blade.php index 7bdb57c..4fda633 100644 --- a/resources/views/home/fashion-v1.blade.php +++ b/resources/views/home/fashion-v1.blade.php @@ -1,4 +1,4 @@ -@extends('layouts.landing', ['title' => 'AsiaGolf Store']) +@extends('layouts.landing', ['title' => config('app.tagline')]) @section('content') diff --git a/resources/views/home/grocery.blade.php b/resources/views/home/grocery.blade.php index 9505fa1..0b64b46 100644 --- a/resources/views/home/grocery.blade.php +++ b/resources/views/home/grocery.blade.php @@ -1,4 +1,4 @@ -@extends('layouts.landing', ['title' => 'Grocery Store']) +@extends('layouts.landing', ['title' => config('app.tagline')]) @section('content') diff --git a/resources/views/shop/product-fashion.blade.php b/resources/views/shop/product-fashion.blade.php index 9b3e82a..a373ea9 100644 --- a/resources/views/shop/product-fashion.blade.php +++ b/resources/views/shop/product-fashion.blade.php @@ -1,4 +1,4 @@ -@extends('layouts.landing', ['title' => 'Fashion Store - Product Page']) +@extends('layouts.landing', ['title' => $product->name ?? 'Detail']) @section('content')