tweak loading brand icons
This commit is contained in:
parent
7ecea9e7e6
commit
8bb6f2e53c
|
|
@ -3,7 +3,7 @@
|
|||
<div class="mb-1">- {{ trans('general.more') }} -</div>
|
||||
{% for name, provider in providers %}
|
||||
<a href="{{ url("/auth/login/#{name}") }}" class="btn btn-block bg-light border-secondary">
|
||||
<img src="{{ url("/app/brand-icons/#{provider.icon}.svg") }}" width="20">
|
||||
<i class="fab fa-{{ provider.icon }}"></i>
|
||||
{{ provider.displayName }}
|
||||
</a>
|
||||
{% endfor %}
|
||||
|
|
|
|||
|
|
@ -13,9 +13,6 @@ if (Test-Path ./public/app) {
|
|||
# Run webpack
|
||||
yarn build
|
||||
|
||||
New-Item -ItemType Directory ./public/app/brand-icons
|
||||
Copy-Item -Path ./node_modules/@fortawesome/fontawesome-free/svgs/brands/*.svg -Destination ./public/app/brand-icons
|
||||
|
||||
if ($Simple) {
|
||||
exit
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user