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>
|
<div class="mb-1">- {{ trans('general.more') }} -</div>
|
||||||
{% for name, provider in providers %}
|
{% for name, provider in providers %}
|
||||||
<a href="{{ url("/auth/login/#{name}") }}" class="btn btn-block bg-light border-secondary">
|
<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 }}
|
{{ provider.displayName }}
|
||||||
</a>
|
</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
||||||
|
|
@ -13,9 +13,6 @@ if (Test-Path ./public/app) {
|
||||||
# Run webpack
|
# Run webpack
|
||||||
yarn build
|
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) {
|
if ($Simple) {
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user