103
103
<li >
104
104
<a href =" {{ $url } }" >{{ $label } } </a >
105
105
<a href =" {{ $url } }" >
106
- <svg xmlns =" http://www.w3.org/2000/svg" fill =" none" viewBox =" 0 0 24 24" stroke-width =" 1.5" stroke =" currentColor" >
107
- <path stroke-linecap =" round" stroke-linejoin =" round" d =" M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25" />
106
+ <svg xmlns =" http://www.w3.org/2000/svg" fill =" none" viewBox =" 0 0 24 24"
107
+ stroke-width =" 1.5" stroke =" currentColor" >
108
+ <path stroke-linecap =" round" stroke-linejoin =" round"
109
+ d =" M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25" />
108
110
</svg >
109
111
</a >
110
112
</li >
@@ -136,9 +138,12 @@ class="execute-solution"
136
138
>
137
139
<form x-show =" ! solutionExecuted" @submit .prevent =" submitForm()" >
138
140
<button type =" submit" >
139
- <svg xmlns =" http://www.w3.org/2000/svg" fill =" none" viewBox =" 0 0 24 24" stroke-width =" 1.5" stroke =" currentColor" >
140
- <path stroke-linecap =" round" stroke-linejoin =" round" d =" M21.75 6.75a4.5 4.5 0 0 1-4.884 4.484c-1.076-.091-2.264.071-2.95.904l-7.152 8.684a2.548 2.548 0 1 1-3.586-3.586l8.684-7.152c.833-.686.995-1.874.904-2.95a4.5 4.5 0 0 1 6.336-4.486l-3.276 3.276a3.004 3.004 0 0 0 2.25 2.25l3.276-3.276c.256.565.398 1.192.398 1.852Z" />
141
- <path stroke-linecap =" round" stroke-linejoin =" round" d =" M4.867 19.125h.008v.008h-.008v-.008Z" />
141
+ <svg xmlns =" http://www.w3.org/2000/svg" fill =" none" viewBox =" 0 0 24 24"
142
+ stroke-width =" 1.5" stroke =" currentColor" >
143
+ <path stroke-linecap =" round" stroke-linejoin =" round"
144
+ d =" M21.75 6.75a4.5 4.5 0 0 1-4.884 4.484c-1.076-.091-2.264.071-2.95.904l-7.152 8.684a2.548 2.548 0 1 1-3.586-3.586l8.684-7.152c.833-.686.995-1.874.904-2.95a4.5 4.5 0 0 1 6.336-4.486l-3.276 3.276a3.004 3.004 0 0 0 2.25 2.25l3.276-3.276c.256.565.398 1.192.398 1.852Z" />
145
+ <path stroke-linecap =" round" stroke-linejoin =" round"
146
+ d =" M4.867 19.125h.008v.008h-.008v-.008Z" />
142
147
</svg >
143
148
{{ $solution -> getRunButtonText () } }
144
149
</button >
@@ -147,8 +152,10 @@ class="execute-solution"
147
152
148
153
<form x-show =" solutionExecuted" @submit .prevent =" location.reload()" >
149
154
<button type =" submit" >
150
- <svg xmlns =" http://www.w3.org/2000/svg" fill =" none" viewBox =" 0 0 24 24" stroke-width =" 1.5" stroke =" currentColor" >
151
- <path stroke-linecap =" round" stroke-linejoin =" round" d =" M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99" />
155
+ <svg xmlns =" http://www.w3.org/2000/svg" fill =" none" viewBox =" 0 0 24 24"
156
+ stroke-width =" 1.5" stroke =" currentColor" >
157
+ <path stroke-linecap =" round" stroke-linejoin =" round"
158
+ d =" M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99" />
152
159
</svg >
153
160
Refresh page
154
161
</button >
@@ -162,12 +169,22 @@ class="execute-solution"
162
169
<p class =" ai-solution" >This solution is provided by AI. It might not be 100% accurate.</p >
163
170
@endif
164
171
172
+ <div >
173
+ @if (method_exists ($solution , ' solutionProvidedByName' ) )
174
+ @if (method_exists ($solution , ' solutionsProvidedByLink' ) )
175
+ Solution provided by <a
176
+ href =" {{ $solution -> solutionsProvidedByLink () } }" >{{ $solution -> solutionProvidedByName () } } </a >
177
+ @else
178
+ Solution provided by {{ $solution -> solutionProvidedByName () } }
179
+ @endif
180
+ @else
181
+ Solution provided by <a href =" https://flareapp.io" >Flare</a >
182
+ @endif
183
+ </div >
184
+
165
185
@if (! $loop -> last )
166
- <hr >
186
+ <hr >
167
187
@endif
168
188
@endforeach
169
- {{-- <div>
170
- Solution provided by <a href="https://flareapp.io">Flare</a>
171
- </div>--}}
172
189
</div >
173
- @endif
190
+
0 commit comments