diff --git a/.env.example b/.env.example index feffbcb..0ed3348 100644 --- a/.env.example +++ b/.env.example @@ -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 diff --git a/config/app.php b/config/app.php index 1779029..d3e8202 100644 --- a/config/app.php +++ b/config/app.php @@ -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 diff --git a/resources/views/main.blade.php b/resources/views/main.blade.php index 6631c55..eb2399e 100644 --- a/resources/views/main.blade.php +++ b/resources/views/main.blade.php @@ -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 @@ Tab key support (requires JS) @endif

· Source code

+

· Report abuse

+

· {{ config('app.parentname') }}

· Dates and times are UTC.