contact us

This commit is contained in:
Bayu Lukman Yusuf 2026-02-20 11:07:26 +07:00
parent 7017d38f12
commit 87096be7cc
6 changed files with 175 additions and 1603 deletions

View File

@ -0,0 +1,13 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class ContactController extends Controller
{
public function index(Request $request)
{
return view('contact.v1');
}
}

64
lang/en/contact.php Normal file
View File

@ -0,0 +1,64 @@
<?php
return [
'title' => 'Contact us',
'subtitle' => 'Feel free to contact us and we will be happy to help you!',
// Contact details section
'location_title' => 'Location',
'location_address' => 'Jalan Pintu Air Raya No.11 B,D,E,F,G RT.8/RW.1, Ps. Baru, Kecamatan Sawah Besar, Kota Jakarta Pusat, Daerah Khusus Ibukota Jakarta 10710',
'location_link' => 'Get directions',
'phone_title' => 'Phone',
'phone_number' => '(021) 3500703',
'phone_whatsapp' => '0818-4343-01',
'email_title' => 'Email',
'email_address' => 'sales@asiagolf.id',
// Contact form
'form_title' => 'Send us a message',
'form_subtitle' => 'We usually respond within 24 hours',
'name_label' => 'Name',
'name_placeholder' => 'Your name',
'email_label' => 'Email',
'email_placeholder' => 'your.email@example.com',
'subject_label' => 'Subject',
'subject_placeholder' => 'What is this about?',
'message_label' => 'Message',
'message_placeholder' => 'Tell us more about your inquiry...',
'submit_button' => 'Send message',
// Social media
'social_title' => 'Follow us',
'social_instagram' => 'Instagram',
'social_facebook' => 'Facebook',
'social_twitter' => 'Twitter',
// Success messages
'success_title' => 'Thank you for your message!',
'success_message' => 'We have received your message and will get back to you soon.',
// Error messages
'error_title' => 'Something went wrong',
'error_message' => 'Please try again later or contact us directly.',
// Working hours
'working_hours_title' => 'Working hours',
'working_hours_mon_fri' => 'Mon - Fri 8:00 - 18:00',
'working_hours_sat_sun' => 'Sat - Sun 10:00 - 16:00',
// Support section
'support_title' => 'Looking for support?',
'support_message' => 'We might already have what you\'re looking for. See our FAQs or head to our dedicated Help Center.',
'help_center_button' => 'Help center',
// FAQ
'faq_delivery_question' => 'How long will delivery take?',
'faq_delivery_answer' => 'Delivery times vary based on your location and chosen shipping method. Generally, our standard delivery takes up to 5 days, while our Express Delivery ensures your order reaches you within 1 day. Please note that these times may be subject to occasional variations due to unforeseen circumstances, but we do our best to meet these estimates.',
];

64
lang/id/contact.php Normal file
View File

@ -0,0 +1,64 @@
<?php
return [
'title' => 'Hubungi Kami',
'subtitle' => 'Jangan ragu untuk menghubungi kami dan kami akan dengan senang hati membantu Anda!',
// Contact details section
'location_title' => 'Lokasi',
'location_address' => 'Jalan Pintu Air Raya No.11 B,D,E,F,G RT.8/RW.1, Ps. Baru, Kecamatan Sawah Besar, Kota Jakarta Pusat, Daerah Khusus Ibukota Jakarta 10710',
'location_link' => 'Petunjuk arah',
'phone_title' => 'Telepon',
'phone_number' => '(021) 3500703',
'phone_whatsapp' => '0818-4343-01',
'email_title' => 'Email',
'email_address' => 'sales@asiagolf.id',
// Contact form
'form_title' => 'Kirim pesan',
'form_subtitle' => 'Kami biasanya merespons dalam 24 jam',
'name_label' => 'Nama',
'name_placeholder' => 'Nama Anda',
'email_label' => 'Email',
'email_placeholder' => 'email.anda@example.com',
'subject_label' => 'Subjek',
'subject_placeholder' => 'Tentang apa ini?',
'message_label' => 'Pesan',
'message_placeholder' => 'Ceritakan lebih lanjut tentang pertanyaan Anda...',
'submit_button' => 'Kirim pesan',
// Social media
'social_title' => 'Ikuti kami',
'social_instagram' => 'Instagram',
'social_facebook' => 'Facebook',
'social_twitter' => 'Twitter',
// Success messages
'success_title' => 'Terima kasih atas pesan Anda!',
'success_message' => 'Kami telah menerima pesan Anda dan akan segera menghubungi Anda kembali.',
// Error messages
'error_title' => 'Terjadi kesalahan',
'error_message' => 'Silakan coba lagi nanti atau hubungi kami langsung.',
// Working hours
'working_hours_title' => 'Jam operasional',
'working_hours_mon_fri' => 'Sen - Jum 08:00 - 18:00',
'working_hours_sat_sun' => 'Sab - Min 10:00 - 16:00',
// Support section
'support_title' => 'Mencari bantuan?',
'support_message' => 'Kami mungkin sudah memiliki apa yang Anda cari. Lihat FAQ kami atau kunjungi ke Pusat Bantuan kami.',
'help_center_button' => 'Pusat bantuan',
// FAQ
'faq_delivery_question' => 'Berapa lama pengiriman akan berlangsung?',
'faq_delivery_answer' => 'Waktu pengiriman bervariasi tergantung pada lokasi Anda dan metode pengiriman yang dipilih. Umumnya, pengiriman standar kami memakan waktu hingga 5 hari, sementara Pengiriman Ekspres memastikan pesanan Anda sampai dalam 1 hari. Harap dicatat bahwa waktu ini dapat berubah karena keadaan yang tidak terduga, tetapi kami melakukan yang terbaik untuk memenuhi perkiraan ini.',
];

View File

@ -145,6 +145,8 @@
<ul class="dropdown-menu" style="--cz-dropdown-spacer: .75rem"> <ul class="dropdown-menu" style="--cz-dropdown-spacer: .75rem">
<li><a class="dropdown-item" href="{{ route('terms-and-conditions')}}">{{ __('navbar.terms_conditions') }}</a></li> <li><a class="dropdown-item" href="{{ route('terms-and-conditions')}}">{{ __('navbar.terms_conditions') }}</a></li>
<li><a class="dropdown-item" href="{{ route('contact')}}">{{ __('navbar.contact') }}</a></li>
</ul> </ul>
</li> </li>

File diff suppressed because it is too large Load Diff

View File

@ -18,6 +18,8 @@ use App\Http\Controllers\SearchController;
use App\Http\Controllers\TncController; use App\Http\Controllers\TncController;
use App\Http\Controllers\HelpController; use App\Http\Controllers\HelpController;
use App\Http\Controllers\VoucherEventController; use App\Http\Controllers\VoucherEventController;
use App\Http\Controllers\ContactController;
use Illuminate\Support\Facades\Route; use Illuminate\Support\Facades\Route;
Route::group(['prefix' => '/dummy'], function () { Route::group(['prefix' => '/dummy'], function () {
@ -125,3 +127,4 @@ Route::middleware(['auth'])->prefix('/orders')->group(function () {
}); });
Route::get('/terms-and-conditions', [TncController::class, 'index'])->name('terms-and-conditions'); Route::get('/terms-and-conditions', [TncController::class, 'index'])->name('terms-and-conditions');
Route::get('/help', [HelpController::class, 'index'])->name('help'); Route::get('/help', [HelpController::class, 'index'])->name('help');
Route::get('/contact', [ContactController::class, 'index'])->name('contact');