feat: add error handling (#14)
* Remove commented out crap * Update theme to use some colors from catppuccin, add error handling for API/DB
This commit is contained in:
parent
3fc99d1c9d
commit
9a0d3a4ccc
8 changed files with 85 additions and 15 deletions
4
resources/views/components/errors/api-error.blade.php
Normal file
4
resources/views/components/errors/api-error.blade.php
Normal file
|
@ -0,0 +1,4 @@
|
|||
<div class="error-box">
|
||||
<p><b>API Error:</b> There was an error connecting to the API.</p>
|
||||
<p>If this error persists, please notify me via <a href="mailto:webmaster@diskfloppy.me">e-mail</a>.</p>
|
||||
</div>
|
4
resources/views/components/errors/db-error.blade.php
Normal file
4
resources/views/components/errors/db-error.blade.php
Normal file
|
@ -0,0 +1,4 @@
|
|||
<div class="error-box">
|
||||
<p><b>DB Error:</b> There was an error connecting to the database.</p>
|
||||
<p>If this error persists, please notify me via <a href="mailto:webmaster@diskfloppy.me">e-mail</a>.</p>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue