Skip to content

Commit

Permalink
Simplify the icon shape (#979)
Browse files Browse the repository at this point in the history
  • Loading branch information
realodix authored May 7, 2024
1 parent 7fc91ea commit 9f6cab1
Show file tree
Hide file tree
Showing 30 changed files with 27 additions and 28 deletions.
2 changes: 1 addition & 1 deletion app/Livewire/Table/UserTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function fields(): PowerGridFields
'<a role="button" href="'.route('user.edit', $user).'" title="'.__('Details').'"
class="btn btn-secondary btn-sm"
>'
.Blade::render('@svg(\'icon-user-edit\')').
.Blade::render('@svg(\'icon-person-edit\')').
'</a>
<a role="button" href="'.route('user.change-password', $user).'" title="'.__('Change Password').'"
class="btn btn-secondary btn-sm"
Expand Down
1 change: 0 additions & 1 deletion resources/svg/brand-laravel.svg

This file was deleted.

1 change: 0 additions & 1 deletion resources/svg/brand-php.svg

This file was deleted.

2 changes: 1 addition & 1 deletion resources/svg/calendar.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
1 change: 1 addition & 0 deletions resources/svg/chart-line-alt.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions resources/svg/chart-line.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion resources/svg/clone.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion resources/svg/edit.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion resources/svg/key.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion resources/svg/link.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions resources/svg/log-out.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
1 change: 1 addition & 0 deletions resources/svg/people.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions resources/svg/person-edit.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions resources/svg/person.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion resources/svg/sign-out.svg

This file was deleted.

1 change: 0 additions & 1 deletion resources/svg/trash-alt.svg

This file was deleted.

2 changes: 1 addition & 1 deletion resources/svg/trash.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion resources/svg/user-edit.svg

This file was deleted.

1 change: 0 additions & 1 deletion resources/svg/user.svg

This file was deleted.

1 change: 0 additions & 1 deletion resources/svg/users.svg

This file was deleted.

2 changes: 1 addition & 1 deletion resources/views/backend/dashboard.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
border-y border-uh-border-color sm:border-none sm:shadow-md"
>
<div class="flex flex-row space-x-4 items-center">
@svg('icon-bar-chart', 'mr-1.5 text-amber-600 text-3xl')
@svg('icon-chart-line-alt', 'mr-1.5 text-amber-600 text-3xl')
<div>
<p class="text-gray-400 text-sm font-medium uppercase leading-4">Total Clicks</p>
<p class="text-2xl font-bold text-gray-900 inline-flex items-center space-x-2">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/backend/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<h3 class="text-lg font-medium text-slate-900">{{__('Edit URL Details')}}</h3>
<br>
<div class="inline sm:block mr-2 text-sm text-slate-600">
@svg('icon-user', 'mr-1')
@svg('icon-person', 'mr-1')
{{$url->author->name}}
</div>
<div class="inline sm:block text-sm text-slate-600">
Expand Down
8 changes: 4 additions & 4 deletions resources/views/components/table/action-button.blade.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<div>
<a role="button" href="{{route('su_detail', $url->keyword)}}" target="_blank" title="{{__('Go to front page')}}"
<a role="button" href="{{route('su_detail', $url->keyword)}}" target="_blank" title="{{__('Details')}}"
class="btn btn-secondary btn-sm"
>
@svg('icon-open-in-new')
@svg('icon-chart-line')
</a>
<a role="button" href="{{route('dashboard.su_edit', $url)}}" title="{{__('Edit')}}"
class="btn btn-secondary btn-sm"
>
@svg('icon-edit-alt')
@svg('icon-edit')
</a>
<a role="button" href="{{route('dashboard.su_delete', $url)}}" title="{{__('Delete')}}"
class="btn btn-secondary btn-sm hover:text-red-600 active:text-red-700"
>
@svg('icon-trash-alt')
@svg('icon-trash')
</a>
</div>
2 changes: 1 addition & 1 deletion resources/views/components/table/visit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@

<div title="{{ $title }}">
{{ $uClick }} / {{ $tClick }}
@svg('icon-bar-chart', 'ml-2 text-amber-600')
@svg('icon-chart-line-alt', 'ml-2 text-amber-600')
</div>
2 changes: 1 addition & 1 deletion resources/views/frontend/short.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<i>{{$url->created_at->toDayDateTimeString()}}</i>
</li>
<li class="inline-block pr-4 mt-4 lg:mt-0">
@svg('icon-bar-chart')
@svg('icon-chart-line-alt')
<i>
<span title="{{number_format($url->clicks)}}" class="font-bold">
{{numberAbbreviate($url->clicks)}}
Expand Down
2 changes: 1 addition & 1 deletion resources/views/partials/header-localmenu.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class="mr-8 py-3 font-semibold hover:text-uh-blue-2 transition duration-100 ease
'text-uh-blue-2 !border-orange-500' :
'text-slate-600 hover:border-slate-300'}}"
>
@svg('icon-users', 'mr-1')
@svg('icon-people', 'mr-1')
<span class="@if ($routeName === 'user.index') text-black @endif">{{__('User List')}}</span>
</a>
<a href="{{route('dashboard.about')}}"
Expand Down
2 changes: 1 addition & 1 deletion resources/views/partials/header-localmenu_mobile.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class="nav-item {{(request()->route()->getName() === 'dashboard.allurl') ? 'bord
@svg('icon-link', 'mr-1') {{__('URL List')}}</a>
<a href="{{route('user.index')}}"
class="nav-item {{(request()->route()->getName() === 'user.index') ? 'border-l-2 border-orange-500':''}}">
@svg('icon-users', 'mr-1') {{__('User List')}}</a>
@svg('icon-people', 'mr-1') {{__('User List')}}</a>
<a href="{{route('dashboard.about')}}"
class="nav-item {{(request()->route()->getName() === 'dashboard.about') ? 'border-l-2 border-orange-500':''}}">
@svg('icon-about-system', 'mr-1') {{__('About')}}</a>
Expand Down
Loading

0 comments on commit 9f6cab1

Please sign in to comment.