-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: page not found all instances + proposal id prop missing page.Proposal * missing id check rfp page
- Loading branch information
1 parent
30c8e87
commit 1611dd6
Showing
8 changed files
with
86 additions
and
10 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
const { missing } = props; | ||
|
||
const BannerWrapper = styled.div` | ||
margin-top: 3rem; | ||
background-color: #ffd2d2; | ||
.text-sm { | ||
font-size: 13px; | ||
} | ||
`; | ||
|
||
return ( | ||
<div className="container-xl gap-3"> | ||
<Widget src={`${REPL_DEVHUB}/widget/devhub.components.island.banner`} /> | ||
<BannerWrapper className="d-flex gap-3 align-items-center mb-4 p-3 rounded-3"> | ||
<div> | ||
<i class="bi bi-exclamation-triangle-fill"></i> | ||
</div> | ||
<div> | ||
<div className="fw-bold">Page not found! </div> | ||
<div className="text-sm"> | ||
Please visit the{" "} | ||
<a | ||
href="?page=home" | ||
className="text-decoration-underline" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
Home Page | ||
</a> | ||
. | ||
{missing ? ( | ||
<span>The {missing} prop is missing from the url</span> | ||
) : ( | ||
<span> | ||
We searched high and low but couldn't found what you're looking | ||
for.{" "} | ||
</span> | ||
)} | ||
. | ||
</div> | ||
</div> | ||
</BannerWrapper> | ||
</div> | ||
); |
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