|
15 | 15 | @include("/include/head/js.html") |
16 | 16 | @endsection |
17 | 17 | </head> |
18 | | -<body> |
| 18 | +<body class="text-gray-700"> |
19 | 19 | @section("body-start") |
20 | 20 | @include("/include/body-start.html") |
21 | 21 | @endsection |
|
25 | 25 | @include("/include/header.html") |
26 | 26 | @endsection |
27 | 27 |
|
28 | | -<!-- ページタイトル --> |
29 | | -@section("page-title") |
30 | | -@include("/include/parts/page-title.html") |
31 | | -@endsection |
32 | | - |
33 | 28 | <!-- ※管理用パーツ --> |
34 | 29 | @section("admin-part") |
35 | 30 | @include("/admin/action.html") |
36 | 31 | @include("/admin/switch-user.html") |
37 | 32 | @endsection |
38 | 33 |
|
39 | | -<div class="container mx-auto px-4 py-20"> |
| 34 | +<div class="container py-20"> |
40 | 35 | @section("topicpath") |
41 | 36 | <!-- BEGIN_MODULE Touch_NotTop --> |
42 | 37 | <div class="mb-10"> |
|
59 | 54 | </main> |
60 | 55 |
|
61 | 56 | <aside class="lg:block z-20"> |
62 | | - <div class="fixed inset-0 bg-black bg-opacity-30" |
63 | | - x-show="isShowSideMenu" |
64 | | - x-transition |
65 | | - @click="toggleSideMenu()" |
66 | | - ></div> |
67 | | - <div class="max-lg:fixed top-0 right-0 bottom-0 box-border max-lg:w-72 max-lg:px-4 max-lg:py-6 bg-white transition-transform" |
68 | | - :class="{'max-lg:translate-x-0': isShowSideMenu, 'max-lg:translate-x-full': !isShowSideMenu }" |
69 | | - > |
70 | | - <div class="max-lg:max-h-full max-lg:overflow-auto"> |
71 | | - @section("aside") |
72 | | - <section> |
73 | | - <h2 class="mb-4 text-gray-800 font-bold">カテゴリー</h2> |
74 | | - @include("/include/category/list-side.html",) |
75 | | - </section> |
76 | | - |
77 | | - <section class="mt-8"> |
78 | | - <h2 class="mb-4 text-gray-800 font-bold">アーカイブ</h2> |
79 | | - @include("/include/entry/archive-list-side.html") |
80 | | - </section> |
81 | | - |
82 | | - <section class="mt-8"> |
83 | | - <h2 class="mb-5 text-gray-800 font-bold">ハッシュタグ</h2> |
84 | | - @include("/include/tag/cloud-side.html") |
85 | | - </section> |
86 | | - |
87 | | - <section class="mt-8"> |
88 | | - <h2 class="sr-only">キーワード検索</h2> |
89 | | - @include("/include/parts/search-keyword.html") |
90 | | - </section> |
91 | | - |
92 | | - <section class="mt-8"> |
93 | | - <h2 class="mb-5 text-gray-800 font-bold">プロフィール</h2> |
94 | | - @include("/include/user-profile/profile-card.html") |
95 | | - </section> |
96 | | - @endsection |
97 | | - </div> |
| 57 | + <div class="max-lg:max-h-full max-lg:overflow-auto"> |
| 58 | + @section("aside") |
| 59 | + <section> |
| 60 | + <h2 class="mb-4 text-gray-900 font-bold">カテゴリー</h2> |
| 61 | + @include("/include/category/list-side.html",) |
| 62 | + </section> |
| 63 | + |
| 64 | + <section class="mt-8"> |
| 65 | + <h2 class="mb-4 text-gray-900 font-bold">アーカイブ</h2> |
| 66 | + @include("/include/entry/archive-list-side.html") |
| 67 | + </section> |
| 68 | + |
| 69 | + <section class="mt-8"> |
| 70 | + <h2 class="mb-5 text-gray-900 font-bold">ハッシュタグ</h2> |
| 71 | + @include("/include/tag/cloud-side.html") |
| 72 | + </section> |
| 73 | + |
| 74 | + <section class="mt-8"> |
| 75 | + <h2 class="sr-only">キーワード検索</h2> |
| 76 | + @include("/include/parts/search-keyword.html") |
| 77 | + </section> |
| 78 | + @endsection |
98 | 79 | </div> |
99 | 80 | </aside> |
100 | | - |
101 | | - <button aria-label="サイドメニュー表示切替" class="fixed bottom-6 z-20 inline-flex items-center justify-center lg:hidden px-2 py-2 text-sm font-medium tracking-wide transition-colors duration-200 bg-white border border-r- rounded-full text-gray-800 hover:text-neutral-700 border-neutral-200/70 hover:bg-neutral-100 active:bg-white focus:bg-white focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-neutral-200/60 focus:shadow-outline" |
102 | | - :class="{'right-80': isShowSideMenu, 'right-0 rounded-r-none': !isShowSideMenu }" |
103 | | - @click="toggleSideMenu()"> |
104 | | - <template x-if="!isShowSideMenu"> |
105 | | - <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="size-5"> |
106 | | - <path fill-rule="evenodd" d="M7.72 12.53a.75.75 0 0 1 0-1.06l7.5-7.5a.75.75 0 1 1 1.06 1.06L9.31 12l6.97 6.97a.75.75 0 1 1-1.06 1.06l-7.5-7.5Z" clip-rule="evenodd" /> |
107 | | - </svg> |
108 | | - </template> |
109 | | - <template x-if="isShowSideMenu"> |
110 | | - <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="size-5"> |
111 | | - <path fill-rule="evenodd" d="M16.28 11.47a.75.75 0 0 1 0 1.06l-7.5 7.5a.75.75 0 0 1-1.06-1.06L14.69 12 7.72 5.03a.75.75 0 0 1 1.06-1.06l7.5 7.5Z" clip-rule="evenodd" /> |
112 | | - </svg> |
113 | | - </template> |
114 | | - </button> |
115 | 81 | </div> |
116 | 82 | </div> |
117 | | -<!-- CTAセクション --> |
118 | | -@section("cta") |
119 | | -@include("/include/parts/cta.html") |
120 | | -@endsection |
121 | 83 |
|
122 | 84 | <!-- フッター --> |
123 | 85 | @section("footer") |
|
0 commit comments