1
0
mirror of https://koodu.h-i.works/projects/thebadspace synced 2025-06-25 16:04:37 -05:00

Responsive Part 2, environment changes

Hit the major friction points in the responsive UI. Still have some
polishing to do but there shouldn't be any show stoppers at this points.

Also moved some variable to the env so they can be changed easily when
necessary
This commit is contained in:
ro
2024-02-08 13:07:49 -06:00
parent efe568bf60
commit 9be54fa13c
8 changed files with 149 additions and 8 deletions

View File

@ -21,7 +21,7 @@ class AppealMailController extends Controller
'error' => 'Invalid Request',
]);
} else {
Mail::to('ro@h-i.works')->send(new LocationAppeal($request->location, $request->sponsor));
Mail::to(env('TBS_ADMIN_EMAIL'))->send(new LocationAppeal($request->location, $request->sponsor));
//return redirect('/appeals');
return back()->with('message', "Appeal Filed");

View File

@ -27,7 +27,7 @@ class LocationAppeal extends Mailable
public function envelope(): Envelope
{
return new Envelope(
from: new Address('thebadspace@h-i.works', 'TBS Appeal Request'),
from: new Address(env('TBS_FROM_ADDRESS'), 'TBS Appeal Request'),
subject: 'Location Appeal',
);
}