Browse Source

Add abuse contact and parent website

master
Les De Ridder 2 years ago
parent
commit
e1b5f41a66
No known key found for this signature in database
3 changed files with 40 additions and 1 deletions
  1. 3
    0
      .env.example
  2. 34
    0
      config/app.php
  3. 3
    1
      resources/views/main.blade.php

+ 3
- 0
.env.example View File

@@ -1,5 +1,8 @@
APP_NAME=pastethingy
APP_REPO=https://git.fuwafuwa.moe/lesderid/pastethingy
APP_ABUSE_CONTACT=abuse@example.com
APP_PARENT_NAME=example.com
APP_PARENT_URL=https://example.com

APP_DEBUG=true
APP_URL=http://pastethingy.app

+ 34
- 0
config/app.php View File

@@ -24,6 +24,40 @@ return [

'repo' => env('APP_REPO', 'https://git.fuwafuwa.moe/lesderid/pastethingy'),

/*
|--------------------------------------------------------------------------
| Abuse contact
|--------------------------------------------------------------------------
|
| E-mail address for abuse reports.
|
*/

'abusecontact' => env('APP_ABUSE_CONTACT'),

/*
|--------------------------------------------------------------------------
| Parent name
|--------------------------------------------------------------------------
|
| Name of the parent website.
|
*/

'parentname' => env('APP_PARENT_NAME'),

/*
|--------------------------------------------------------------------------
| Parent URL
|--------------------------------------------------------------------------
|
| URL of the parent website.
|
*/

'parenturl' => env('APP_PARENT_URL'),


/*
|--------------------------------------------------------------------------
| Application Debug Mode

+ 3
- 1
resources/views/main.blade.php View File

@@ -44,7 +44,7 @@
section, form {
height: 100%;
display: flex;
flex-direction: column;
flex-direction: column;
}

input, select, textarea, div, label {
@@ -191,6 +191,8 @@
<a href="/?js=1">Tab key support (requires JS)</a>
@endif
<p>&middot; <a href="{{ config('app.repo') }}">Source code</a></p>
<p>&middot; <a href="mailto:{{ config('app.abusecontact') }}">Report abuse</a></p>
<p>&middot; <a href="{{ config('app.parenturl') }}">{{ config('app.parentname') }}</a></p>
<p>&middot; Dates and times are UTC.</p>
</div>
</footer>

Loading…
Cancel
Save