Skip to content

Commit fdc8681

Browse files
Replace link with button
1 parent 168492e commit fdc8681

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

resources/views/livewire/notifications-page.blade.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ class="size-6 text-white"
8383
</div>
8484
<div class="min-w-0 flex-1">
8585
<div class="font-sans text-sm font-medium text-gray-900">
86-
<a onclick="Livewire.dispatch('openPanel', { component: 'components.slideovers.article-form' })">
86+
<x-buttons.default onclick="Livewire.dispatch('openPanel', { component: 'components.slideovers.article-form' })">
8787
<span class="absolute inset-0" aria-hidden="true"></span>
8888
{{ __('pages/notification.article_action') }}
89-
</a>
89+
</x-buttons.default>
9090
</div>
9191
<p class="text-sm font-normal text-gray-500 dark:text-gray-400">
9292
{{ __('pages/notification.share_content') }}
@@ -129,10 +129,10 @@ class="size-6 text-white"
129129
</div>
130130
<div class="min-w-0 flex-1">
131131
<div class="font-sans text-sm font-medium text-gray-900">
132-
<a href="{{ route('discussions.new') }}">
132+
<x-buttons.default href="{{ route('discussions.new') }}">
133133
<span class="absolute inset-0" aria-hidden="true"></span>
134134
{{ __('pages/notification.start_discussion') }}
135-
</a>
135+
</x-buttons.default>
136136
</div>
137137
<p class="text-sm font-normal text-gray-500 dark:text-gray-400">
138138
{{ __('pages/notification.start_discussion_description_text') }}
@@ -175,10 +175,10 @@ class="size-6 text-white"
175175
</div>
176176
<div class="min-w-0 flex-1">
177177
<div class="text-sm font-medium text-gray-900">
178-
<a onclick="Livewire.dispatch('openPanel', { component: 'components.slideovers.thread-form' })">
178+
<x-buttons.default onclick="Livewire.dispatch('openPanel', { component: 'components.slideovers.thread-form' })">
179179
<span class="absolute inset-0" aria-hidden="true"></span>
180180
{{ __('pages/notification.ask_help') }}
181-
</a>
181+
</x-buttons.default>
182182
</div>
183183
<p class="text-sm font-normal text-gray-500 dark:text-gray-400">
184184
{{ __('pages/notification.ask_help_description') }}

0 commit comments

Comments
 (0)