diff --git a/app/Http/Controllers/PagesController.php b/app/Http/Controllers/PagesController.php index e6427c1..cf1c212 100644 --- a/app/Http/Controllers/PagesController.php +++ b/app/Http/Controllers/PagesController.php @@ -23,6 +23,11 @@ public function notfound(): View return view('errors.404'); } + public function info_price_calculator(): View + { + return view('info.price-calculator'); + } + public function howItWorks(): View { $steps = [ diff --git a/resources/views/livewire/price-calculator.blade.php b/resources/views/livewire/price-calculator.blade.php index 6d488a3..168005d 100644 --- a/resources/views/livewire/price-calculator.blade.php +++ b/resources/views/livewire/price-calculator.blade.php @@ -1,6 +1,7 @@
- + @@ -59,39 +60,23 @@
- - - -@if($showModal) -
-
-
-

Order Price

-

Total Price: ${{ number_format($totalPrice, 2) }}

-

Topic: {{ $topic }}

-

Subject: {{ $subject }}

-

Word Count: {{ $word_count }}

- - -
+ + -
-@endif - - + +
diff --git a/routes/web.php b/routes/web.php index 661d7a7..e26e60a 100644 --- a/routes/web.php +++ b/routes/web.php @@ -43,4 +43,5 @@ Route::get('/about', [PagesController::class, 'about'])->name('about'); Route::get('/faq', [PagesController::class, 'faq'])->name('faq'); Route::fallback([PagesController::class, 'notfound'])->where('catchall', '.*'); +Route::get('/info/price-calculator', [PagesController::class, 'info_price_calculator'])->name('info.price-calculator'); require __DIR__.'/auth.php';