@@ -96,31 +96,37 @@ class="font-mono text-2xl font-bold sm:text-3xl"
9696
9797 <div class =" mt-2 flex flex-col-reverse gap-8 lg:flex-row lg:items-start" >
9898 {{-- Main content - README --}}
99- <article
100- x-init ="
101- () => {
102- motion.inView($el, () => {
103- gsap.fromTo(
104- $el,
105- { autoAlpha: 0, y: 5 },
106- { autoAlpha: 1, y: 0, duration: 0.7, ease: 'power1.out' },
107- )
108- })
109- }
110- "
111- class =" prose min-w-0 max-w-none grow text-gray-600 dark:text-gray-400 dark:prose-headings:text-white"
112- aria-labelledby =" plugin-title"
113- >
99+ <div class =" min-w-0 grow" >
114100 @if ($plugin -> readme_html )
115- {!! $plugin -> readme_html ! !}
101+ <x-plugin-toc />
102+ @endif
103+
104+ <article
105+ x-init ="
106+ () => {
107+ motion.inView($el, () => {
108+ gsap.fromTo(
109+ $el,
110+ { autoAlpha: 0, y: 5 },
111+ { autoAlpha: 1, y: 0, duration: 0.7, ease: 'power1.out' },
112+ )
113+ })
114+ }
115+ "
116+ class =" prose min-w-0 max-w-none grow text-gray-600 dark:text-gray-400 dark:prose-headings:text-white"
117+ aria-labelledby =" plugin-title"
118+ >
119+ @if ($plugin -> readme_html )
120+ {!! $plugin -> readme_html ! !}
116121 @else
117122 <div class =" rounded-xl border border-gray-200 bg-gray-50 p-8 text-center dark:border-gray-700 dark:bg-slate-800/50" >
118123 <p class =" text-gray-500 dark:text-gray-400" >
119124 README not available yet.
120125 </p >
121126 </div >
122- @endif
123- </article >
127+ @endif
128+ </article >
129+ </div >
124130
125131 {{-- Sidebar - Plugin details --}}
126132 <aside
@@ -137,11 +143,6 @@ class="prose min-w-0 max-w-none grow text-gray-600 dark:text-gray-400 dark:prose
137143 "
138144 class =" w-full shrink-0 lg:sticky lg:top-24 lg:w-80"
139145 >
140- {{-- Table of Contents --}}
141- @if ($plugin -> readme_html )
142- <x-plugin-toc />
143- @endif
144-
145146 {{-- Purchase Box for Paid Plugins --}}
146147 @if ($plugin -> isPaid () && $bestPrice && $plugin -> is_active )
147148 <div class =" mb-4 rounded-2xl border-2 border-indigo-500 bg-gradient-to-br from-indigo-50 to-purple-50 p-6 dark:border-indigo-400 dark:from-indigo-950/50 dark:to-purple-950/50" >
@@ -342,6 +343,7 @@ class="size-10 shrink-0 rounded-lg object-cover"
342343 </ul >
343344 </div >
344345 @endif
346+
345347 </aside >
346348 </div >
347349 </section >
0 commit comments