From 532f4a6b7448cda50fcdbf727415cc576872f0b2 Mon Sep 17 00:00:00 2001 From: shadow keeper Date: Wed, 21 Feb 2024 00:03:14 +0200 Subject: [PATCH] login/register-added --- app/Http/Controllers/ContactController.php | 10 + app/Http/Controllers/HomeController.php | 8 + resources/css/app.css | 2 +- resources/views/home.blade.php | 1 + resources/views/layout.blade.php | 3 +- resources/views/login.blade.php | 7 + ... nonotype.blade.php => nonotype.blade.php} | 0 resources/views/partials/footer.blade.php | 130 ++++++++++ resources/views/partials/loginp.blade.php | 97 ++++++++ resources/views/partials/navbar.blade.php | 20 +- resources/views/partials/registerp.blade.php | 166 +++++++++++++ .../views/partials/testimonials.blade.php | 228 ++++++++++++++++++ resources/views/register.blade.php | 8 + routes/web.php | 4 +- 14 files changed, 671 insertions(+), 13 deletions(-) create mode 100644 app/Http/Controllers/ContactController.php create mode 100644 resources/views/login.blade.php rename resources/views/{ nonotype.blade.php => nonotype.blade.php} (100%) create mode 100644 resources/views/partials/footer.blade.php create mode 100644 resources/views/partials/loginp.blade.php create mode 100644 resources/views/partials/registerp.blade.php create mode 100644 resources/views/partials/testimonials.blade.php create mode 100644 resources/views/register.blade.php diff --git a/app/Http/Controllers/ContactController.php b/app/Http/Controllers/ContactController.php new file mode 100644 index 0000000..0d0726b --- /dev/null +++ b/app/Http/Controllers/ContactController.php @@ -0,0 +1,10 @@ + @include('partials.navbar') @yield('content') + @include('partials.footer') - \ No newline at end of file + \ No newline at end of file diff --git a/resources/views/login.blade.php b/resources/views/login.blade.php new file mode 100644 index 0000000..9472809 --- /dev/null +++ b/resources/views/login.blade.php @@ -0,0 +1,7 @@ +@extends('layout') +@section('content') + + @include("partials.loginp"); + + +@endsection diff --git a/resources/views/ nonotype.blade.php b/resources/views/nonotype.blade.php similarity index 100% rename from resources/views/ nonotype.blade.php rename to resources/views/nonotype.blade.php diff --git a/resources/views/partials/footer.blade.php b/resources/views/partials/footer.blade.php new file mode 100644 index 0000000..1220281 --- /dev/null +++ b/resources/views/partials/footer.blade.php @@ -0,0 +1,130 @@ + \ No newline at end of file diff --git a/resources/views/partials/loginp.blade.php b/resources/views/partials/loginp.blade.php new file mode 100644 index 0000000..92464a7 --- /dev/null +++ b/resources/views/partials/loginp.blade.php @@ -0,0 +1,97 @@ + + +
+
+

Get started today

+ +

+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Obcaecati sunt dolores deleniti + inventore quaerat mollitia? +

+ +
+

Sign in to your account

+ +
+ + +
+ + + + + + + +
+
+ +
+ + +
+ + + + + + + + +
+
+ + + +

+ No account? + Sign up +

+
+
+
\ No newline at end of file diff --git a/resources/views/partials/navbar.blade.php b/resources/views/partials/navbar.blade.php index 1236502..e548563 100644 --- a/resources/views/partials/navbar.blade.php +++ b/resources/views/partials/navbar.blade.php @@ -1,4 +1,4 @@ -
+
Home @@ -11,23 +11,23 @@ @@ -35,15 +35,15 @@
Login diff --git a/resources/views/partials/registerp.blade.php b/resources/views/partials/registerp.blade.php new file mode 100644 index 0000000..ebb02aa --- /dev/null +++ b/resources/views/partials/registerp.blade.php @@ -0,0 +1,166 @@ + + +
+
+ + +
+
+ + Home + + + + + +

+ Welcome to Squid 🦑 +

+ +

+ Lorem, ipsum dolor sit amet consectetur adipisicing elit. Eligendi nam dolorum aliquam, + quibusdam aperiam voluptatum. +

+ +
+
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ +
+ +
+

+ By creating an account, you agree to our + + terms and conditions + + and + privacy policy . +

+
+ +
+ + +

+ Already have an account? + Log in. +

+
+
+
+
+
+
\ No newline at end of file diff --git a/resources/views/partials/testimonials.blade.php b/resources/views/partials/testimonials.blade.php new file mode 100644 index 0000000..70c83d6 --- /dev/null +++ b/resources/views/partials/testimonials.blade.php @@ -0,0 +1,228 @@ +
+
+

+ Read trusted reviews from our customers +

+ +
+
+
+ + +
+
+ + + + + + + + + + + + + + + +
+ +

Paul Starr

+
+
+ +

+ Lorem ipsum dolor sit, amet consectetur adipisicing elit. Culpa sit rerum incidunt, a + consequuntur recusandae ab saepe illo est quia obcaecati neque quibusdam eius accusamus + error officiis atque voluptates magnam! +

+
+ +
+
+ + +
+
+ + + + + + + + + + + + + + + +
+ +

Paul Starr

+
+
+ +

+ Lorem ipsum dolor sit, amet consectetur adipisicing elit. Culpa sit rerum incidunt, a + consequuntur recusandae ab saepe illo est quia obcaecati neque quibusdam eius accusamus + error officiis atque voluptates magnam! +

+
+ +
+
+ + +
+
+ + + + + + + + + + + + + + + +
+ +

Paul Starr

+
+
+ +

+ Lorem ipsum dolor sit, amet consectetur adipisicing elit. Culpa sit rerum incidunt, a + consequuntur recusandae ab saepe illo est quia obcaecati neque quibusdam eius accusamus + error officiis atque voluptates magnam! +

+
+
+
+
\ No newline at end of file diff --git a/resources/views/register.blade.php b/resources/views/register.blade.php new file mode 100644 index 0000000..83472b1 --- /dev/null +++ b/resources/views/register.blade.php @@ -0,0 +1,8 @@ +@extends('layout') +@section('content') + + @include("partials.registerp"); + + + +@endsection \ No newline at end of file diff --git a/routes/web.php b/routes/web.php index 897985f..a44e7ac 100644 --- a/routes/web.php +++ b/routes/web.php @@ -17,4 +17,6 @@ use Illuminate\Support\Facades\Route; Route::get('/', [HomeController::class, "index"]); Route::get('/about', [HomeController::class, "about"]); Route::get('/loveit', [HomeController::class, "loveit"]); -Route::get('/nonotype', [HomeController::class, "nonotype"]); \ No newline at end of file +Route::get('/nonotype', [HomeController::class, "nonotype"]); +Route::get('/login', [HomeController::class, "login"]); +Route::get('/register', [HomeController::class, "register"]); \ No newline at end of file