-
Notifications
You must be signed in to change notification settings - Fork 2
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
Nick Grato
committed
Dec 13, 2023
1 parent
c1fbb09
commit 6376f59
Showing
2 changed files
with
32 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ import SkeletonCard from '@Shared/SkeletonCard/SkeletonCard'; | |
import { SubscriptionT } from 'services/subscription.service'; | ||
import Hub, { loadingHub } from 'classes/Hub'; | ||
import Warning from '@Shared/Warning/Warning'; | ||
import { Button } from '@mozilla/lilypad-ui'; | ||
|
||
type SidePanelLayoutProps = { | ||
children: ReactNode; | ||
|
@@ -32,12 +33,23 @@ const SidePanelLayout = ({ | |
<div className="flex-justify-center mt-20 px-20"> | ||
<div className={styles.warning}> | ||
<Warning | ||
title="Storage Maximum Reached" | ||
message="Be Advised - The content storage has exceted the alloted maximum. Stored data may be affected. Contact us if you have any questions." | ||
onClick={() => { | ||
window.open('mailto:[email protected]'); | ||
}} | ||
/> | ||
title="Content Storage Limit Exceeded" | ||
message="You’ve reached the maximum data capacity for your current plan. To avoid performance issues with your Hub, please upgrade your plan or delete content from your Hub." | ||
> | ||
<div className="flex-justify-end "> | ||
<Button | ||
href="/subscribe" | ||
text="Upgrade Now" | ||
classProp="mr-12" | ||
/> | ||
<Button | ||
href="https://hubs.mozilla.com/docs/setup-faq.html" | ||
text="More info" | ||
category="primary_outline" | ||
target="_blank" | ||
/> | ||
</div> | ||
</Warning> | ||
</div> | ||
</div> | ||
)} | ||
|