mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-28 23:57:59 +01:00
Implemented a "Powered by Pony.fm" attribution in the site's footer.
This commit is contained in:
parent
e55f6cc4fd
commit
e1c6a175b0
7 changed files with 30 additions and 11 deletions
|
@ -40,4 +40,18 @@ return [
|
|||
|
||||
'google_analytics_id' => env('GOOGLE_ANALYTICS_ID', null),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Show "Powered by Pony.fm" footer?
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| If true, a "Powered by Pony.fm" footer is used to comply with the
|
||||
| license's attribution requirement. This should only be disabled on
|
||||
| the official Pony.fm website, since that already shares its name with
|
||||
| the open-source project.
|
||||
|
|
||||
*/
|
||||
|
||||
'use_powered_by_footer' => env('USE_POWERED_BY_FOOTER', true),
|
||||
|
||||
];
|
||||
|
|
4
resources/assets/styles/layout.less
vendored
4
resources/assets/styles/layout.less
vendored
|
@ -122,13 +122,13 @@ header {
|
|||
}
|
||||
}
|
||||
|
||||
&.x-poniverseCredit {
|
||||
&.x-attribution {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
max-width: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
text-align: right;
|
||||
|
||||
a {
|
||||
padding: 10px;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
APP_ENV=local
|
||||
APP_DEBUG=true
|
||||
APP_URL=http://pony.fm.local/
|
||||
APP_URL=http://ponyfm-dev.poni/
|
||||
APP_KEY=SomeRandomString
|
||||
|
||||
DB_HOST=localhost
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
APP_ENV=local
|
||||
APP_DEBUG=true
|
||||
APP_URL=http://pony.fm.local/
|
||||
APP_URL=http://ponyfm-dev.poni/
|
||||
APP_KEY=q5lKAapzJwZas0izFS1CfCn3oX8Kk2jj
|
||||
|
||||
DB_HOST=localhost
|
||||
|
@ -18,9 +18,9 @@ MAIL_USERNAME=null
|
|||
MAIL_PASSWORD=null
|
||||
MAIL_ENCRYPTION=null
|
||||
|
||||
PONI_CLIENT_ID=
|
||||
PONI_CLIENT_SECRET=
|
||||
PONI_CLIENT_ID=null
|
||||
PONI_CLIENT_SECRET=null
|
||||
|
||||
PONYFM_DATASTORE=/vagrant-files
|
||||
|
||||
GOOGLE_ANALYTICS_ID=UA-29463256-1
|
||||
GOOGLE_ANALYTICS_ID=null
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -81,10 +81,15 @@
|
|||
<li><a href="/login" target="_self">Login</a></li>
|
||||
<li><a href="/register" target="_self">Register</a></li>
|
||||
@endif
|
||||
<li class="x-poniverseCredit">
|
||||
<a ng-click="showCredits()" href="#" title="Poniverse: The Pony Supercommunity">
|
||||
<li class="x-attribution">
|
||||
<a ng-click="showCredits()" href="#" title="Pony.fm project credits">
|
||||
@if(config('ponyfm.use_powered_by_footer'))
|
||||
<span>Powered by</span>
|
||||
<img src="/images/fm_logo_white.svg" alt="Pony.fm logo"/>
|
||||
@else
|
||||
<span>A community project by</span>
|
||||
<img src="/images/poniverse.svg" alt="Poniverse logo"/>
|
||||
@endif
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in a new issue