Message flash provider
Allows errors to be displayed neatly in ephemeral boxes at bottom of screen
This commit is contained in:
25
src/components/Guild/GuildError.tsx
Normal file
25
src/components/Guild/GuildError.tsx
Normal file
@ -0,0 +1,25 @@
|
||||
export const GuildError = () => {
|
||||
return (
|
||||
<div class="hero is-fullheight">
|
||||
<div class="hero-body">
|
||||
<div class="container has-text-centered">
|
||||
<p class="title">We couldn't get this server's data</p>
|
||||
<p class="subtitle">
|
||||
Please check Reminder Bot is in the server, and has correct permissions.
|
||||
</p>
|
||||
<a
|
||||
class="button is-size-4 is-rounded is-success"
|
||||
href="https://invite.reminder-bot.com"
|
||||
>
|
||||
<p class="is-size-4">
|
||||
<span>Add to Server</span>{" "}
|
||||
<span class="icon">
|
||||
<i class="fas fa-chevron-right"></i>
|
||||
</span>
|
||||
</p>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
Reference in New Issue
Block a user