質問編集履歴

2

ソースを追記

2024/02/14 02:04

投稿

goola
goola

スコア67

test CHANGED
File without changes
test CHANGED
@@ -17,8 +17,37 @@
17
17
 
18
18
  ### 該当のソースコード
19
19
 
20
- ```
20
+ ```guest.blade.php
21
+ <!DOCTYPE html>
22
+ <html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
23
+ <head>
24
+ <meta charset="utf-8">
25
+ <meta name="viewport" content="width=device-width, initial-scale=1">
26
+ <meta name="csrf-token" content="{{ csrf_token() }}">
27
+
28
+ <title>{{ config('app.name', 'Laravel') }}</title>
29
+
30
+ <!-- Fonts -->
31
+ <link rel="preconnect" href="https://fonts.bunny.net">
32
+ <link href="https://fonts.bunny.net/css?family=figtree:400,500,600&display=swap" rel="stylesheet" />
33
+
34
+ <!-- Scripts -->
35
+ @vite(['resources/css/app.css', 'resources/js/app.js'])
36
+ </head>
37
+ <body class="font-sans text-gray-900 antialiased">
38
+ <div class="min-h-screen flex flex-col sm:justify-center items-center pt-6 sm:pt-0 bg-gray-100">
21
- 特になし
39
+ <div>
40
+ <a href="/">
41
+ <x-application-logo class="w-10 h-10 text-gray-500" />
42
+ </a>
43
+ </div>
44
+
45
+ <div class="w-full sm:max-w-md mt-6 px-6 py-4 bg-white shadow-md overflow-hidden sm:rounded-lg">
46
+ {{ $slot }}
47
+ </div>
48
+ </div>
49
+ </body>
50
+ </html>
22
51
  ```
23
52
 
24
53
  ### 試したこと・調べたこと

1

不足を追記

2024/02/14 02:03

投稿

goola
goola

スコア67

test CHANGED
File without changes
test CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  ### 発生している問題・分からないこと
5
5
  ロゴの変更は、application-logo.blade.phpの内容を変更すれば良いとわかりました。
6
- <img src="{{ asset('img/logo.png') }}" alt="" />
6
+ <img src="{{ asset('img/logo.png') }}" alt="" />に変更しました。
7
7
  ただ、ロゴのサイズが大きいので、サイズを小さくしようと思い、guest.blade.phpの
8
8
  <x-application-logo class="w-20 h-20 fill-current text-gray-500" />のところを
9
9
  <x-application-logo class="w-10 h-10 fill-current text-gray-500" />に変更しました。