From 29cc69140a25cd0683178f4f6aa68da73cc6ce24 Mon Sep 17 00:00:00 2001 From: Joe Tannenbaum Date: Fri, 13 Jan 2023 13:35:18 -0500 Subject: [PATCH] layout --- resources/views/authed.blade.php | 62 ++++--------- resources/views/home.blade.php | 153 ++++++++++++------------------- resources/views/layout.blade.php | 34 +++++++ 3 files changed, 112 insertions(+), 137 deletions(-) create mode 100644 resources/views/layout.blade.php diff --git a/resources/views/authed.blade.php b/resources/views/authed.blade.php index 399ba8e..23b82f4 100644 --- a/resources/views/authed.blade.php +++ b/resources/views/authed.blade.php @@ -1,48 +1,20 @@ - - - - - - - - Laravel Passkey Authentication Demo | Joe Codes - - - - @vite(['resources/css/app.css', 'resources/js/app.js']) - - - - - -
-
- - - -

Laravel Passkeys Demo

-

- Something here, probably a link to the post and a note that the database deletes info every 30 minutes -

-
- -
-
-

👋 Well hey there, {{ $user->username }}!

-
-
- @csrf - -
-
-
+@extends('layout') + +@section('content') + +
+
+

👋 Well hey there, {{ $user->username }}!

+
+
+ @csrf + +
- +
- \ No newline at end of file +@endsection \ No newline at end of file diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index 3cb984b..b04cbef 100644 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -1,107 +1,76 @@ - - +@extends('layout') - - - - - Laravel Passkey Authentication Demo | Joe Codes - - - - @vite(['resources/css/app.css', 'resources/js/app.js']) - - - - - -
-
- - - -

Laravel Passkeys Demo

-

- Something here, probably a link to the post and a note that the database deletes info every 30 minutes -

+@section('content') +
+
+
+
+ +
+
+

+ Your browser isn't supported! +

+
+

+ That's sort of a bummer, sorry. Maybe you have access to a browser that does though, + + check and see + . +

+
+
+
-
-
-
-
- +
+
+ +
+ +
+
-
-

- Your browser isn't supported! -

-
-

- That's sort of a bummer, sorry. Maybe you have access to a browser that does though, - - check and see - . -

-
-
+

-
-
-
- -
- -
- -
-
-

-
- -
- Already have an account? - - Sign in. - -
+
+ Already have an account? + + Sign in. + +
-
- No account? - - Register now. - -
+
+ No account? + + Register now. + +
-
- -
-
+
+
-
+
- - - \ No newline at end of file +
+@endsection \ No newline at end of file diff --git a/resources/views/layout.blade.php b/resources/views/layout.blade.php new file mode 100644 index 0000000..bd6869a --- /dev/null +++ b/resources/views/layout.blade.php @@ -0,0 +1,34 @@ + + + + + + + + Laravel Passkey Authentication Demo | Joe Codes + + + + @vite(['resources/css/app.css', 'resources/js/app.js']) + + + + +
+
+ + + +

Laravel Passkeys Demo

+

+ Something here, probably a link to the post and a note that the database deletes info every 30 minutes +

+
+ + @yield('content') +
+ + + \ No newline at end of file