From 02445457e0b78878b8288c2bf8facd714b1e1978 Mon Sep 17 00:00:00 2001 From: XiaoLFeng Date: Tue, 13 Jun 2023 20:26:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E5=9B=BE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/about.blade.php | 42 ++++++++++++ resources/views/auth/login.blade.php | 5 +- resources/views/auth/register.blade.php | 5 +- resources/views/console/dashboard.blade.php | 6 +- resources/views/function/link.blade.php | 74 +++++++++++++++++++++ resources/views/function/music.blade.php | 1 + resources/views/function/sponsor.blade.php | 1 + resources/views/index.blade.php | 35 +++++++--- resources/views/modules/footer.blade.php | 10 +++ resources/views/modules/head.blade.php | 10 +++ resources/views/modules/navbar.blade.php | 8 +-- 11 files changed, 178 insertions(+), 19 deletions(-) create mode 100644 resources/views/about.blade.php create mode 100644 resources/views/function/link.blade.php create mode 100644 resources/views/function/music.blade.php create mode 100644 resources/views/function/sponsor.blade.php create mode 100644 resources/views/modules/footer.blade.php create mode 100644 resources/views/modules/head.blade.php diff --git a/resources/views/about.blade.php b/resources/views/about.blade.php new file mode 100644 index 0000000..398ac29 --- /dev/null +++ b/resources/views/about.blade.php @@ -0,0 +1,42 @@ + + + + + + + + + @include('modules.head') + {!! $webHeader !!} + + +
+ @include('modules.navbar') +
+ +
+
+ {!! $userAbout !!} +
+
+ + @include('modules.footer') +
+
+ + + +{!! $webFooter !!} + diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index 6d05caf..12f4ace 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -6,7 +6,9 @@ content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> - Document + + @include('modules.head') + {!! $webHeader !!}
@@ -78,4 +80,5 @@ function user_change() { }); } +{!! $webFooter !!} diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php index 1637861..87c791a 100644 --- a/resources/views/auth/register.blade.php +++ b/resources/views/auth/register.blade.php @@ -6,7 +6,9 @@ content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> - Document + + @include('modules.head') + {!! $webHeader !!}
@@ -93,4 +95,5 @@ function user_change() { }); } +{!! $webFooter !!} diff --git a/resources/views/console/dashboard.blade.php b/resources/views/console/dashboard.blade.php index e2d4081..55aa4c6 100644 --- a/resources/views/console/dashboard.blade.php +++ b/resources/views/console/dashboard.blade.php @@ -6,7 +6,9 @@ content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> - Document + + @include('modules.head') + {!! $webHeader !!} @@ -75,9 +77,7 @@ class="inline-flex items-center p-2 mt-2 ml-3 text-sm text-gray-500 rounded-lg s
- - diff --git a/resources/views/function/link.blade.php b/resources/views/function/link.blade.php new file mode 100644 index 0000000..6a96786 --- /dev/null +++ b/resources/views/function/link.blade.php @@ -0,0 +1,74 @@ + + + + + + + + + @include('modules.head') + {!! $webHeader !!} + + +
+ @include('modules.navbar') +
+ + @foreach($blogSort as $valueSort) +
+
{!! $valueSort->title !!}
+ @if(!empty($valueSort->description))
{{ $valueSort->description }}
@endif +
+
+ @foreach($blogLink as $valueLink) + @if($valueLink->blogLocation == $valueSort->id) + +
+ Bordered avatar +
+

{{ $valueLink->blogName }}

+

{{ $valueLink->blogDescription }}

+
+
+
+ @endif + @endforeach +
+ @endforeach +
+ + @include('modules.footer') +
+
+ + + + + +{!! $webFooter !!} + diff --git a/resources/views/function/music.blade.php b/resources/views/function/music.blade.php new file mode 100644 index 0000000..b3d9bbc --- /dev/null +++ b/resources/views/function/music.blade.php @@ -0,0 +1 @@ + @@ -9,7 +6,9 @@ content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> - Document + + @include('modules.head') + {!! $webHeader !!}
@@ -21,17 +20,17 @@ class="relative left-[calc(50%-11rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 rotate-[30deg] bg-gradient-to-tr from-[#ff80b5] to-[#9089fc] opacity-30 sm:left-[calc(50%-30rem)] sm:w-[72.1875rem]" style="clip-path: polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)">
-
+
-

{{ env('APP_NAME') }}

-

{{ env('APP_DESC') }}

+

{{ $webTitle }}

+

{{ $webSubTitleDescription }}

- 去我的博客 - + 了解我 @@ -47,8 +46,24 @@ class="relative left-[calc(50%+3rem)] aspect-[1155/678] w-[36.125rem] -translate
- +
+ @if(empty($sqlIcp) && empty($sqlGongan)) +
+
+ @if(empty(!$sqlCopyRightYear)) {{ $sqlCopyRightYear }}-{{ date('Y') }} @else {{ date('Y') }} @endif {{ $sqlAuthor }}. All Rights Reserved. +
+ @else +
+ @if(empty(!$sqlCopyRightYear)) {{ $sqlCopyRightYear }}-{{ date('Y') }} @else {{ date('Y') }} @endif {{ $sqlAuthor }}. All Rights Reserved. +
+
+ @if(!empty($sqlIcp)) {{ $sqlIcp }} @endif + @if(!empty($sqlGongan)) {{ $sqlGongan }} @endif +
+ @endif +
+{!! $webFooter !!} diff --git a/resources/views/modules/footer.blade.php b/resources/views/modules/footer.blade.php new file mode 100644 index 0000000..398950b --- /dev/null +++ b/resources/views/modules/footer.blade.php @@ -0,0 +1,10 @@ +
+
+
+ @if(empty(!$sqlCopyRightYear)) {{ $sqlCopyRightYear }}-{{ date('Y') }} @else {{ date('Y') }} @endif {{ $sqlAuthor }}. All Rights Reserved. + @if(!empty($sqlGongang) || !empty($sqlIcp))
@endif + @if(!empty($sqlIcp)) {{ $sqlIcp }} @endif + @if(!empty($sqlGongan)) {{ $sqlGongan }} @endif +
+
+
diff --git a/resources/views/modules/head.blade.php b/resources/views/modules/head.blade.php new file mode 100644 index 0000000..af08ffb --- /dev/null +++ b/resources/views/modules/head.blade.php @@ -0,0 +1,10 @@ +{{ $webTitle }} - {{ $webSubTitle }} + + + + + + + + + diff --git a/resources/views/modules/navbar.blade.php b/resources/views/modules/navbar.blade.php index 92ca3cb..64fd15d 100644 --- a/resources/views/modules/navbar.blade.php +++ b/resources/views/modules/navbar.blade.php @@ -3,7 +3,7 @@ @@ -19,11 +19,11 @@ class="-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray