-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e769a76
commit 3928f44
Showing
8 changed files
with
607 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
|
||
--- | ||
import Badge from '../components/Badge.astro'; | ||
|
||
const { code, message } = Astro.props; | ||
--- | ||
|
||
<li class="m-0 px-0 py-4 first:pt-0 last:pb-0"> | ||
<dl class="m-0 flex flex-wrap items-center gap-x-3 gap-y-2"> | ||
<dt class="sr-only"> | ||
Error Code | ||
</dt> | ||
<dd> | ||
{code} | ||
</dd> | ||
<dt class="sr-only"> | ||
Error Message | ||
</dt> | ||
<dd> | ||
<Badge text={message}> | ||
</dd> | ||
<dt class="sr-only"> | ||
Description | ||
</dt> | ||
<dd class="w-full flex-none [&>:first-child]:mt-0 [&>:last-child]:mb-0"> | ||
<slot /> | ||
</dd> | ||
</dl> | ||
</li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.